POST api/Values/UpdateClaimReason

Request Information

URI Parameters

None.

Body Parameters

ClaimReason
NameDescriptionTypeAdditional information
UserID

integer

None.

ClaimID

integer

None.

Reason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "ClaimID": 2,
  "Reason": "sample string 3"
}

text/html

Sample:
{"UserID":1,"ClaimID":2,"Reason":"sample string 3"}

application/xml, text/xml

Sample:
<ValuesController.ClaimReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <ClaimID>2</ClaimID>
  <Reason>sample string 3</Reason>
  <UserID>1</UserID>
</ValuesController.ClaimReason>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ClaimReason'.

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>