GET api/term
Returns all Terms
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Term| Name | Description | Type | Additional information |
|---|---|---|---|
| TermId |
Sedona internal autonumber for the Payment Term record |
integer |
None. |
| TermCode |
Abbreviated Term Code |
string |
String length: inclusive between 0 and 25 |
| Description |
Full description of Payment Term |
string |
String length: inclusive between 0 and 50 |
| DaysNetDue |
Number of Days payment is due |
integer |
None. |
| DiscountPctg |
Discount Percentage if paid within specified number of days |
decimal number |
None. |
| DiscountDays |
Number of days to receive specified discount |
integer |
None. |
| DateType | integer |
None. |
|
| Inactive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TermId": 1,
"TermCode": "sample string 2",
"Description": "sample string 3",
"DaysNetDue": 4,
"DiscountPctg": 5.1,
"DiscountDays": 6,
"DateType": 7,
"Inactive": true
},
{
"TermId": 1,
"TermCode": "sample string 2",
"Description": "sample string 3",
"DaysNetDue": 4,
"DiscountPctg": 5.1,
"DiscountDays": 6,
"DateType": 7,
"Inactive": true
}
]
application/xml, text/xml
Sample:
<ArrayOfTerm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
<Term>
<DateType>7</DateType>
<DaysNetDue>4</DaysNetDue>
<Description>sample string 3</Description>
<DiscountDays>6</DiscountDays>
<DiscountPctg>5.1</DiscountPctg>
<Inactive>true</Inactive>
<TermCode>sample string 2</TermCode>
<TermId>1</TermId>
</Term>
<Term>
<DateType>7</DateType>
<DaysNetDue>4</DaysNetDue>
<Description>sample string 3</Description>
<DiscountDays>6</DiscountDays>
<DiscountPctg>5.1</DiscountPctg>
<Inactive>true</Inactive>
<TermCode>sample string 2</TermCode>
<TermId>1</TermId>
</Term>
</ArrayOfTerm>