POST api/OfficeTypes/{Id}?Description={Description}&Default={Default}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
Max length: 50 |
|
| Default | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
OfficeType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
Max length: 50 |
|
| Default | boolean |
Required |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Description": "sample string 2",
"Default": true
}
application/xml, text/xml
Sample:
<OfficeType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/It.Aep.HeliosXp.Model"> <Default>true</Default> <Description>sample string 2</Description> <Id>1</Id> </OfficeType>