GET api/term/{id}
Returns the specified Term
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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
}
application/xml, text/xml
Sample:
<Term xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <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>