POST api/cancelReason/save

Request Information

URI Parameters

None.

Body Parameters

ReasonDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

ReasonType

string

None.

Status

boolean

None.

Description

string

None.

Request Formats

application/json, text/json

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

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>
  <Description>sample string 5</Description>
  <Id>1</Id>
  <Name>sample string 3</Name>
  <ReasonType>sample string 4</ReasonType>
  <Status>true</Status>
</ReasonDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>