POST Api/InsuranceTypes/Add
Request Information
URI Parameters
None.
Body Parameters
InsuranceType| Name | Description | Type | Additional information |
|---|---|---|---|
| InsuranceTypeId | integer |
None. |
|
| Name | string |
Required |
|
| IsActive | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"insuranceTypeId": 1,
"name": "sample string 2",
"isActive": true
}
text/html
Sample:
{"insuranceTypeId":1,"name":"sample string 2","isActive":true}
application/xml, text/xml
Sample:
<InsuranceType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.Data.Models"> <InsuranceTypeId>1</InsuranceTypeId> <IsActive>true</IsActive> <Name>sample string 2</Name> </InsuranceType>
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.