| GET | /Debtors/Classifications/{ClassificationID} | Retrieves a debtor classification. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ClassificationID | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ClassificationID | form | string | No | |
| Description | form | string | No | |
| LastSavedDateTime | form | DateTime? | No | |
| IsDefault | form | bool? | No | |
| TermsDays | form | int? | No | |
| TermsType | form | DebtorTermsTypes? | No | |
| PricingGroupID | form | string | No | |
| PricingGroupDescription | form | string | No | |
| SellPricingSchemeID | form | string | No | |
| SellPricingSchemeDescription | form | string | No | |
| DebtorLedgers | form | List<DebtorLedger> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LedgerID | form | string | No | |
| Name | form | string | No | |
| LedgerAccountID | form | string | No | |
| LedgerAccountNo | form | string | No | |
| LedgerAccountDescription | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Debtors/Classifications/{ClassificationID} HTTP/1.1
Host: api.jiwa.com.au
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ClassificationID":"String","Description":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","IsDefault":false,"TermsDays":0,"TermsType":"Invoice","PricingGroupID":"String","PricingGroupDescription":"String","SellPricingSchemeID":"String","SellPricingSchemeDescription":"String","DebtorLedgers":[{"LedgerID":"String","Name":"String","LedgerAccountID":"String","LedgerAccountNo":"String","LedgerAccountDescription":"String"}]}