POST PaymentMethod/PaymentMethod_Update

Request Information

URI Parameters

None.

Body Parameters

PaymentMethod
NameDescriptionTypeAdditional information
MethodId

integer

None.

Code

string

None.

PrimaryName

string

None.

SecondaryName

string

None.

AccountNo

integer

None.

BankPercentage

decimal number

None.

CreatedBy

integer

None.

CreatedAt

date

None.

ModifyBy

integer

None.

ModifyAt

date

None.

IsActive

boolean

None.

ColpaymentMethods

Collection of PaymentMethod

None.

AccountNumbers

Collection of AccountTable

None.

AccountName

string

None.

IsDeleted

boolean

None.

CompanyId

integer

None.

BranchId

integer

None.

ChequesNumber

boolean

None.

ChequeBank

boolean

None.

RequestDate

boolean

None.

Name

string

None.

TajeerPaymentMethodCode

integer

None.

TajeerOtherPaymentMethodCode

integer

None.

IsHolding

boolean

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorMessage

string

None.

IsScusses

boolean

None.

ResponseDetails

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 2",
  "IsScusses": true,
  "ResponseDetails": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsScusses>true</IsScusses>
  <ResponseDetails />
</Response>