POST api/Payment/PaymentTerms
Request Information
URI Parameters
None.
Body Parameters
PaymentTerm| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| description | string |
None. |
|
| creditMonths | integer |
None. |
|
| creditDays | integer |
None. |
|
| discountDays | integer |
None. |
|
| cashDiscountPercent | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"description": "sample string 2",
"creditMonths": 1,
"creditDays": 1,
"discountDays": 1,
"cashDiscountPercent": 1.0
}
application/xml, text/xml
Sample:
<PaymentTerm xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <description>sample string 2</description> <creditMonths>1</creditMonths> <creditDays>1</creditDays> <discountDays>1</discountDays> <cashDiscountPercent>1</cashDiscountPercent> </PaymentTerm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentTerm| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| description | string |
None. |
|
| creditMonths | integer |
None. |
|
| creditDays | integer |
None. |
|
| discountDays | integer |
None. |
|
| cashDiscountPercent | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"description": "sample string 2",
"creditMonths": 1,
"creditDays": 1,
"discountDays": 1,
"cashDiscountPercent": 1.0
}
application/xml, text/xml
Sample:
<PaymentTerm xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <description>sample string 2</description> <creditMonths>1</creditMonths> <creditDays>1</creditDays> <discountDays>1</discountDays> <cashDiscountPercent>1</cashDiscountPercent> </PaymentTerm>