POST api/CallReason
Request Information
URI Parameters
None.
Body Parameters
CallReason| Name | Description | Type | Additional information |
|---|---|---|---|
| CallReasonId | integer |
None. |
|
| Name | string |
None. |
|
| CallType | string |
None. |
|
| IsScheduler | boolean |
None. |
|
| IsPayment | boolean |
None. |
|
| IsMessageForm | boolean |
None. |
|
| IsComplaintForm | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| CallForm | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"callReasonId": 1,
"name": "sample string 2",
"callType": "sample string 3",
"isScheduler": true,
"isPayment": true,
"isMessageForm": true,
"isComplaintForm": true,
"isActive": true,
"callForm": "Scheduler"
}
text/html
Sample:
{"callReasonId":1,"name":"sample string 2","callType":"sample string 3","isScheduler":true,"isPayment":true,"isMessageForm":true,"isComplaintForm":true,"isActive":true,"callForm":"Scheduler"}
application/xml, text/xml
Sample:
<CallReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.Data.Models"> <CallReasonId>1</CallReasonId> <CallType>sample string 3</CallType> <IsActive>true</IsActive> <IsComplaintForm>true</IsComplaintForm> <IsMessageForm>true</IsMessageForm> <IsPayment>true</IsPayment> <IsScheduler>true</IsScheduler> <Name>sample string 2</Name> </CallReason>
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.