POST api/SaveInspectionCancellation
Request Information
URI Parameters
None.
Body Parameters
Cancellation| Name | Description | Type | Additional information |
|---|---|---|---|
| InspectionID | integer |
None. |
|
| CenterID | integer |
None. |
|
| userID | integer |
None. |
|
| remarks | string |
None. |
|
| rejectReasonID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"InspectionID": 1,
"CenterID": 2,
"userID": 3,
"remarks": "sample string 4",
"rejectReasonID": 5
}
application/xml, text/xml
Sample:
<Cancellation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TNSDC.API.Models.InspectionApp"> <CenterID>2</CenterID> <InspectionID>1</InspectionID> <rejectReasonID>5</rejectReasonID> <remarks>sample string 4</remarks> <userID>3</userID> </Cancellation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |