GET finance/documents/paymentmethods?categoryid={categoryid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| categoryid | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentMethod| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Due | boolean |
None. |
|
| COA | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"Due": true,
"COA": "sample string 4"
},
{
"ID": 1,
"Name": "sample string 2",
"Due": true,
"COA": "sample string 4"
}
]
text/xml
Sample:
<ArrayOfPaymentMethod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common.Documents">
<PaymentMethod>
<COA>sample string 4</COA>
<Due>true</Due>
<ID>1</ID>
<Name>sample string 2</Name>
</PaymentMethod>
<PaymentMethod>
<COA>sample string 4</COA>
<Due>true</Due>
<ID>1</ID>
<Name>sample string 2</Name>
</PaymentMethod>
</ArrayOfPaymentMethod>