PUT api/BookingTemplateImages/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
BookingTemplateImageBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ImageUrl | string |
None. |
|
| ImageType | ImageType |
None. |
|
| BookingTemplateId | integer |
None. |
|
| ImageName | string |
None. |
|
| ImageContent | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ImageUrl": "sample string 2",
"ImageType": 65,
"BookingTemplateId": 3,
"ImageName": "sample string 4",
"ImageContent": "sample string 5"
}
application/xml, text/xml
Sample:
<BookingTemplateImageBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <BookingTemplateId>3</BookingTemplateId> <Id>1</Id> <ImageContent>sample string 5</ImageContent> <ImageName>sample string 4</ImageName> <ImageType>PromotionalImage</ImageType> <ImageUrl>sample string 2</ImageUrl> </BookingTemplateImageBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BookingTemplateImageBindingViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingTemplateImages | Collection of BookingTemplateImageBindingViewModel |
None. |
|
| Id | integer |
None. |
|
| ImageUrl | string |
None. |
|
| ImageType | ImageType |
None. |
|
| BookingTemplateId | integer |
None. |
|
| ImageName | string |
None. |
|
| ImageContent | string |
Required |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.