POST v1/Generic/TermsList
Request Information
URI Parameters
None.
Body Parameters
TermRequestName | Description | Type | Additional information |
---|---|---|---|
TermsCode | string |
None. |
|
TermsName | string |
None. |
|
DaysTillDue | integer |
None. |
|
Active | boolean |
None. |
|
AllowPartialPayments | boolean |
None. |
|
PayInAdvance | string |
None. |
|
PaymentTermsID | integer |
None. |
|
ExternalAccountingID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TermsCode": "sample string 1", "TermsName": "sample string 2", "DaysTillDue": 1, "Active": true, "AllowPartialPayments": true, "PayInAdvance": "sample string 3", "PaymentTermsID": 4, "ExternalAccountingID": "sample string 5" }
application/xml, text/xml
Sample:
<TermRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TermsCode>sample string 1</TermsCode> <TermsName>sample string 2</TermsName> <DaysTillDue>1</DaysTillDue> <Active>true</Active> <AllowPartialPayments>true</AllowPartialPayments> <PayInAdvance>sample string 3</PayInAdvance> <PaymentTermsID>4</PaymentTermsID> <ExternalAccountingID>sample string 5</ExternalAccountingID> </TermRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of TermResponseName | Description | Type | Additional information |
---|---|---|---|
TermsCode | string |
None. |
|
TermsName | string |
None. |
|
DaysTillDue | integer |
None. |
|
Active | boolean |
None. |
|
AllowPartialPayments | boolean |
None. |
|
PayInAdvance | string |
None. |
|
PaymentTermsID | integer |
None. |
|
ExternalAccountingID | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "TermsCode": "sample string 1", "TermsName": "sample string 2", "DaysTillDue": 1, "Active": true, "AllowPartialPayments": true, "PayInAdvance": "sample string 3", "PaymentTermsID": 4, "ExternalAccountingID": "sample string 5" }, { "TermsCode": "sample string 1", "TermsName": "sample string 2", "DaysTillDue": 1, "Active": true, "AllowPartialPayments": true, "PayInAdvance": "sample string 3", "PaymentTermsID": 4, "ExternalAccountingID": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfTermResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TermResponse> <TermsCode>sample string 1</TermsCode> <TermsName>sample string 2</TermsName> <DaysTillDue>1</DaysTillDue> <Active>true</Active> <AllowPartialPayments>true</AllowPartialPayments> <PayInAdvance>sample string 3</PayInAdvance> <PaymentTermsID>4</PaymentTermsID> <ExternalAccountingID>sample string 5</ExternalAccountingID> </TermResponse> <TermResponse> <TermsCode>sample string 1</TermsCode> <TermsName>sample string 2</TermsName> <DaysTillDue>1</DaysTillDue> <Active>true</Active> <AllowPartialPayments>true</AllowPartialPayments> <PayInAdvance>sample string 3</PayInAdvance> <PaymentTermsID>4</PaymentTermsID> <ExternalAccountingID>sample string 5</ExternalAccountingID> </TermResponse> </ArrayOfTermResponse>