POST Api/TourOperatorProfiles/UploadTourOperatorProfileImage?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
PostTourOperatorProfileImageBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| tourOperatorProfileId | integer |
None. |
|
| ImageUrl | string |
None. |
|
| TinyImageUrl | string |
None. |
|
| IsPrimaryImage | boolean |
None. |
|
| ImageName | string |
String length: inclusive between 0 and 100 |
|
| ImageContent | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"tourOperatorProfileId": 1,
"ImageUrl": "sample string 2",
"TinyImageUrl": "sample string 3",
"IsPrimaryImage": true,
"ImageName": "sample string 5",
"ImageContent": "sample string 6"
}
application/xml, text/xml
Sample:
<PostTourOperatorProfileImageBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <ImageContent>sample string 6</ImageContent> <ImageName>sample string 5</ImageName> <ImageUrl>sample string 2</ImageUrl> <IsPrimaryImage>true</IsPrimaryImage> <TinyImageUrl>sample string 3</TinyImageUrl> <tourOperatorProfileId>1</tourOperatorProfileId> </PostTourOperatorProfileImageBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.