POST PaymentTerms/PaymentTerms_Update
Request Information
URI Parameters
None.
Body Parameters
DBPaymentType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PrimaryName | string |
None. |
|
| SecondaryName | string |
None. |
|
| NumberOfDay | integer |
None. |
|
| Ajax | boolean |
None. |
|
| CompanyId | integer |
None. |
|
| BranchId | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | string |
None. |
|
| ModifiedOn | string |
None. |
|
| CreatedByName | string |
None. |
|
| ModifiedByName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"PrimaryName": "sample string 2",
"SecondaryName": "sample string 3",
"NumberOfDay": 4,
"Ajax": true,
"CompanyId": 6,
"BranchId": 7,
"ModifiedBy": 8,
"CreatedBy": 9,
"CreatedOn": "sample string 10",
"ModifiedOn": "sample string 11",
"CreatedByName": "sample string 12",
"ModifiedByName": "sample string 13"
}
application/xml, text/xml
Sample:
<DBPaymentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POCO"> <Ajax>true</Ajax> <BranchId>7</BranchId> <CompanyId>6</CompanyId> <CreatedBy>9</CreatedBy> <CreatedByName>sample string 12</CreatedByName> <CreatedOn>sample string 10</CreatedOn> <Id>1</Id> <ModifiedBy>8</ModifiedBy> <ModifiedByName>sample string 13</ModifiedByName> <ModifiedOn>sample string 11</ModifiedOn> <NumberOfDay>4</NumberOfDay> <PrimaryName>sample string 2</PrimaryName> <SecondaryName>sample string 3</SecondaryName> </DBPaymentType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional 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>