POST v1/Generic/TermsList
Return System Terms List
Request Information
URI Parameters
None.
Body Parameters
Term Input Request
TermRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TermsCode |
Terms Code |
string |
None. |
| TermsName |
Terms Name |
string |
None. |
| DaysTillDue |
Days Till Due |
integer |
None. |
| Active |
Active |
boolean |
None. |
| AllowPartialPayments |
Allow Partial Payments |
boolean |
None. |
| PayInAdvance |
Pay In Advance |
string |
None. |
| PaymentTermsID |
Payment Terms ID (unique Key) |
integer |
None. |
| ExternalAccountingID |
External Accounting ID |
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 TermResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| TermsCode |
Terms Code |
string |
None. |
| TermsName |
Terms Name |
string |
None. |
| DaysTillDue |
Days Till Due |
integer |
None. |
| Active |
Active |
boolean |
None. |
| AllowPartialPayments |
Allow Partial Payments |
boolean |
None. |
| PayInAdvance |
Pay In Advance |
string |
None. |
| PaymentTermsID |
Payment Terms ID (unique Key) |
integer |
None. |
| ExternalAccountingID |
External Accounting ID |
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>
