POST api/TourCategory/Add
Request Information
URI Parameters
None.
Body Parameters
TourCategoryAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| tourCategoryLanguage | TourCategoryLanguageAddDto |
None. |
|
| PhotoUrl | string |
None. |
|
| WebSiteID | globally unique identifier |
None. |
|
| LanguageID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"tourCategoryLanguage": {
"tourCategoryID": "1936130f-fa12-4cf0-bd85-e31f46b2273b",
"tourCategory": "sample string 1",
"languageID": "4cd84f0b-ece4-4ef4-9148-b01fb46c746d"
},
"photoUrl": "sample string 1",
"webSiteID": "3e46e660-74dd-4aa8-ab07-0ec492dfa956",
"languageID": "e847d02a-e105-4eec-86ab-391d1b6a2fea"
}
application/xml, text/xml
Sample:
<TourCategoryAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs">
<LanguageID>e847d02a-e105-4eec-86ab-391d1b6a2fea</LanguageID>
<PhotoUrl>sample string 1</PhotoUrl>
<WebSiteID>3e46e660-74dd-4aa8-ab07-0ec492dfa956</WebSiteID>
<tourCategoryLanguage>
<LanguageID>4cd84f0b-ece4-4ef4-9148-b01fb46c746d</LanguageID>
<TourCategory>sample string 1</TourCategory>
<TourCategoryID>1936130f-fa12-4cf0-bd85-e31f46b2273b</TourCategoryID>
</tourCategoryLanguage>
</TourCategoryAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"tourCategoryLanguage":{"TourCategoryID":"1936130f-fa12-4cf0-bd85-e31f46b2273b","TourCategory":"sample string 1","LanguageID":"4cd84f0b-ece4-4ef4-9148-b01fb46c746d"},"PhotoUrl":"sample string 1","WebSiteID":"3e46e660-74dd-4aa8-ab07-0ec492dfa956","LanguageID":"e847d02a-e105-4eec-86ab-391d1b6a2fea"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.