GET api/b2c/excursion/{id}/description
Returns an excursion description (all languages)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
An ExcursionDescriptionViewModel.
Cyberlogic.eTourism.Domain.ViewModels.Excursions.ExcursionDescriptionViewModelName | Description | Type | Additional information |
---|---|---|---|
ExcursionId | integer |
None. |
|
Overview | Collection of Object |
None. |
|
Media | Cyberlogic.eTourism.Domain.ViewModels.Shared.MediaViewModel |
None. |
|
RouteStops | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "ExcursionId": 1, "Overview": null, "Media": { "DefaultImage": { "MainUrl": "sample string 1", "ThumbUrl": "sample string 2" }, "DefaultVideo": "sample string 1", "Images": [ { "MainUrl": "sample string 1", "ThumbUrl": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ], "Description": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "MainUrl": "sample string 1", "ThumbUrl": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ], "Description": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ], "Videos": [ { "MainUrl": "sample string 1", "Description": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "MainUrl": "sample string 1", "Description": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ] }, "RouteStops": null }
text/html
Sample:
{"ExcursionId":1,"Overview":null,"Media":{"DefaultImage":{"MainUrl":"sample string 1","ThumbUrl":"sample string 2"},"DefaultVideo":"sample string 1","Images":[{"MainUrl":"sample string 1","ThumbUrl":"sample string 2","Tags":["sample string 1","sample string 2"],"Description":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"MainUrl":"sample string 1","ThumbUrl":"sample string 2","Tags":["sample string 1","sample string 2"],"Description":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}],"Videos":[{"MainUrl":"sample string 1","Description":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"MainUrl":"sample string 1","Description":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}]},"RouteStops":null}
application/xml, text/xml
Sample:
<ExcursionDescriptionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Excursions"> <ExcursionId>1</ExcursionId> <Media xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d2p1:DefaultImage> <d2p1:MainUrl>sample string 1</d2p1:MainUrl> <d2p1:ThumbUrl>sample string 2</d2p1:ThumbUrl> </d2p1:DefaultImage> <d2p1:DefaultVideo>sample string 1</d2p1:DefaultVideo> <d2p1:Images> <d2p1:ImageViewModel> <d2p1:Description> <d2p1:ImageDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:ImageDescriptionViewModel> <d2p1:ImageDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:ImageDescriptionViewModel> </d2p1:Description> <d2p1:MainUrl>sample string 1</d2p1:MainUrl> <d2p1:Tags xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d2p1:Tags> <d2p1:ThumbUrl>sample string 2</d2p1:ThumbUrl> </d2p1:ImageViewModel> <d2p1:ImageViewModel> <d2p1:Description> <d2p1:ImageDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:ImageDescriptionViewModel> <d2p1:ImageDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:ImageDescriptionViewModel> </d2p1:Description> <d2p1:MainUrl>sample string 1</d2p1:MainUrl> <d2p1:Tags xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d2p1:Tags> <d2p1:ThumbUrl>sample string 2</d2p1:ThumbUrl> </d2p1:ImageViewModel> </d2p1:Images> <d2p1:Videos> <d2p1:VideoViewModel> <d2p1:Description> <d2p1:VideoDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:VideoDescriptionViewModel> <d2p1:VideoDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:VideoDescriptionViewModel> </d2p1:Description> <d2p1:MainUrl>sample string 1</d2p1:MainUrl> </d2p1:VideoViewModel> <d2p1:VideoViewModel> <d2p1:Description> <d2p1:VideoDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:VideoDescriptionViewModel> <d2p1:VideoDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:VideoDescriptionViewModel> </d2p1:Description> <d2p1:MainUrl>sample string 1</d2p1:MainUrl> </d2p1:VideoViewModel> </d2p1:Videos> </Media> <Overview i:nil="true" /> <RouteStops xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Excursions.RouteStops" i:nil="true" /> </ExcursionDescriptionViewModel>