POST api/administration/authorization/reasons/refusal?RqUID={RqUID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| RqUID | string |
Required |
Body Parameters
RestReasonDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Master | RestReasonMasterDTO |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Master": {
"Id": 1,
"Code": "sample string 2",
"Description": "sample string 3"
}
}
application/xml, text/xml
Sample:
<RestReasonDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Admin">
<Id>1</Id>
<Master>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Id>1</Id>
</Master>
</RestReasonDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RestElementIdResponseDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ElementId | integer |
None. |
|
| RqUID | string |
None. |
|
| Code | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ElementId": 1,
"RqUID": "sample string 2",
"Code": "sample string 3",
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<RestElementIdResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared"> <Code>sample string 3</Code> <Message>sample string 4</Message> <RqUID>sample string 2</RqUID> <ElementId>1</ElementId> </RestElementIdResponseDTO>