POST api/roomtype?APIKEY={APIKEY}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| APIKEY | string |
Required |
Body Parameters
RoomType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| ProprtyId | string |
None. |
|
| Type | string |
None. |
|
| property_name | string |
None. |
|
| saccode | string |
None. |
|
| PropertyDescription | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"ProprtyId": "sample string 2",
"Type": "sample string 3",
"property_name": "sample string 4",
"saccode": "sample string 5",
"PropertyDescription": "sample string 6"
}
application/xml, text/xml
Sample:
<JNP.RoomType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InventoryAPI.Models"> <Id>sample string 1</Id> <PropertyDescription>sample string 6</PropertyDescription> <ProprtyId>sample string 2</ProprtyId> <Type>sample string 3</Type> <property_name>sample string 4</property_name> <saccode>sample string 5</saccode> </JNP.RoomType>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |