GET api/invoice/termsofpayment
Get all terms of payments
Request Information
URI Parameters
None.
Body Parameters
None.
Remarks
None.
Example
None.
Response Information
Resource Description
Collection of TermsOfPaymentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Days | integer |
None. |
|
| FreeDeliveryMonth | boolean |
None. |
|
| DiscountDays | integer |
None. |
|
| Discount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Days": 3,
"FreeDeliveryMonth": true,
"DiscountDays": 1,
"Discount": 1.0
},
{
"Id": 1,
"Name": "sample string 2",
"Days": 3,
"FreeDeliveryMonth": true,
"DiscountDays": 1,
"Discount": 1.0
}
]
application/xml, text/xml
Sample:
<ArrayOfTermsOfPaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Invocie">
<TermsOfPaymentResponse>
<Days>3</Days>
<Discount>1</Discount>
<DiscountDays>1</DiscountDays>
<FreeDeliveryMonth>true</FreeDeliveryMonth>
<Id>1</Id>
<Name>sample string 2</Name>
</TermsOfPaymentResponse>
<TermsOfPaymentResponse>
<Days>3</Days>
<Discount>1</Discount>
<DiscountDays>1</DiscountDays>
<FreeDeliveryMonth>true</FreeDeliveryMonth>
<Id>1</Id>
<Name>sample string 2</Name>
</TermsOfPaymentResponse>
</ArrayOfTermsOfPaymentResponse>