POST v1/Generic/PaymentTermsUpdate

Updates TermCode record External AccountingId

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

PaymentTermsRequestModel

PaymentTermsRequestModel
NameDescriptionTypeAdditional information
TermsCode

string

None.

AccountingID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TermsCode": "sample string 1",
  "AccountingID": "sample string 2"
}

application/xml, text/xml

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

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 'PaymentTermsRequestModel'.

Response Information

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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