POST api/CategoryPhotos?createdby={createdby}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| createdby | string |
Required |
Body Parameters
category_photos| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| categoryid | string |
None. |
|
| imgpath | string |
None. |
|
| hotelid | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"categoryid": "sample string 2",
"imgpath": "sample string 3",
"hotelid": "sample string 4"
}
application/xml, text/xml
Sample:
<category_photos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InventoryAPI.Models"> <categoryid>sample string 2</categoryid> <hotelid>sample string 4</hotelid> <id>sample string 1</id> <imgpath>sample string 3</imgpath> </category_photos>
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. |