GET api/CreditReason/{id}

Returns the specified CreditReason

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

CreditReason
NameDescriptionTypeAdditional 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
}

application/xml, text/xml

Sample:
<CreditReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
  <CreditReasonCode>sample string 2</CreditReasonCode>
  <CreditReasonId>1</CreditReasonId>
  <Description>sample string 3</Description>
  <Inactive>true</Inactive>
</CreditReason>