GET api/CreditReason
Returns all CreditReasones
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CreditReason| Name | Description | Type | Additional information |
|---|---|---|---|
| CreditReasonId | integer |
None. |
|
| CreditReasonCode | string |
String length: inclusive between 0 and 25 |
|
| Description | string |
String length: inclusive between 0 and 50 |
|
| Inactive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CreditReasonId": 1,
"CreditReasonCode": "sample string 2",
"Description": "sample string 3",
"Inactive": true
},
{
"CreditReasonId": 1,
"CreditReasonCode": "sample string 2",
"Description": "sample string 3",
"Inactive": true
}
]
application/xml, text/xml
Sample:
<ArrayOfCreditReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
<CreditReason>
<CreditReasonCode>sample string 2</CreditReasonCode>
<CreditReasonId>1</CreditReasonId>
<Description>sample string 3</Description>
<Inactive>true</Inactive>
</CreditReason>
<CreditReason>
<CreditReasonCode>sample string 2</CreditReasonCode>
<CreditReasonId>1</CreditReasonId>
<Description>sample string 3</Description>
<Inactive>true</Inactive>
</CreditReason>
</ArrayOfCreditReason>