POST v1/Generic/CustomerAccountingUpdate

Updates customer record AccountingId and SyncToken

This is secure method and requires below attributes in header

Authorization: PRC Authorize Token
Authorization: Midnight Authorize Token
MISKEY: MIS Key

Request Information

URI Parameters

None.

Body Parameters

CustomerAccountingRequestModel

CustomerAccountingRequestModel
NameDescriptionTypeAdditional information
CustomerId

integer

None.

AccountingID

string

None.

SyncToken

string

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

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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