GET api/reason/get-reason/{reasonId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
reasonId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ReasonDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

Status

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "Name": "sample string 3",
  "Status": true
}

application/xml, text/xml

Sample:
<ReasonDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.BankMaster">
  <Code>sample string 2</Code>
  <Id>1</Id>
  <Name>sample string 3</Name>
  <Status>true</Status>
</ReasonDTO>