POST v1/Generic/CustomerAccountingUpdate

Updates customer record AccountingId and SyncToken

Request Information

URI Parameters

None.

Body Parameters

CustomerAccountingRequestModel

CustomerAccountingRequestModel
NameDescriptionTypeAdditional information
CustomerId

integer

None.

AccountingID

string

None.

SyncToken

string

None.

Remarks

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "AccountingID": "sample string 2",
  "SyncToken": "sample string 3"
}

application/xml, text/xml

Sample:
<CustomerAccountingRequestModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerId>1</CustomerId>
  <ExternalAccountingID>sample string 2</ExternalAccountingID>
  <ExternalSyncToken>sample string 3</ExternalSyncToken>
</CustomerAccountingRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerAccountingRequestModel'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>