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