POST contracts/addcancelreasons
Request Information
URI Parameters
None.
Body Parameters
CancelReasonEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| TenantId | integer |
None. |
|
| ReasonId | integer |
None. |
|
| Reason | string |
None. |
|
| IsActive | boolean |
None. |
|
| IsMoving | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TenantId": 1,
"ReasonId": 2,
"Reason": "sample string 3",
"IsActive": true,
"IsMoving": true
}
text/html
Sample:
{"TenantId":1,"ReasonId":2,"Reason":"sample string 3","IsActive":true,"IsMoving":true}
application/xml, text/xml
Sample:
<CancelReasonEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Contracts"> <IsActive>true</IsActive> <IsMoving>true</IsMoving> <Reason>sample string 3</Reason> <ReasonId>2</ReasonId> <TenantId>1</TenantId> </CancelReasonEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.