POST api/MaritechDGS/PaymentTerms
Request Information
URI Parameters
None.
Body Parameters
Collection of 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
},
{
"id": 1,
"description": "sample string 2",
"creditMonths": 1,
"creditDays": 1,
"discountDays": 1,
"cashDiscountPercent": 1.0
}
]
application/xml, text/xml
Sample:
<ArrayOfPaymentTerm xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PaymentTerm>
<id>1</id>
<description>sample string 2</description>
<creditMonths>1</creditMonths>
<creditDays>1</creditDays>
<discountDays>1</discountDays>
<cashDiscountPercent>1</cashDiscountPercent>
</PaymentTerm>
<PaymentTerm>
<id>1</id>
<description>sample string 2</description>
<creditMonths>1</creditMonths>
<creditDays>1</creditDays>
<discountDays>1</discountDays>
<cashDiscountPercent>1</cashDiscountPercent>
</PaymentTerm>
</ArrayOfPaymentTerm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.