GET api/transferCarGroup/{id}/description
Gets the description of a transfer car group.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The transfer car group id. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A TransferCarGroupDescriptionViewModel object.
Cyberlogic.eTourism.Domain.ViewModels.Transfers.TransferCarGroupDescriptionViewModelName | Description | Type | Additional information |
---|---|---|---|
TransferCarGroupId | integer |
None. |
|
Overview | Collection of Cyberlogic.eTourism.Domain.ViewModels.Transfers.TransferCarGroupOverviewViewModel |
None. |
|
Media | Cyberlogic.eTourism.Domain.ViewModels.Transfers.TransferCarGroupMediaViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "TransferCarGroupId": 1, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": { "MainDescription": "sample string 1" } }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": { "MainDescription": "sample string 1" } } ], "Media": { "DefaultImage": { "MainUrl": "sample string 1", "ThumbUrl": "sample string 2" }, "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" } ] } ] } }
text/html
Sample:
{"TransferCarGroupId":1,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":{"MainDescription":"sample string 1"}},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":{"MainDescription":"sample string 1"}}],"Media":{"DefaultImage":{"MainUrl":"sample string 1","ThumbUrl":"sample string 2"},"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"}]}]}}
application/xml, text/xml
Sample:
<TransferCarGroupDescriptionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Transfers"> <Media> <DefaultImage xmlns:d3p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d3p1:MainUrl>sample string 1</d3p1:MainUrl> <d3p1:ThumbUrl>sample string 2</d3p1:ThumbUrl> </DefaultImage> <Images xmlns:d3p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d3p1:ImageViewModel> <d3p1:Description> <d3p1:ImageDescriptionViewModel> <d3p1:Description>sample string 1</d3p1:Description> <d3p1:Language> <d3p1:Id>1</d3p1:Id> <d3p1:InternetCode>sample string 3</d3p1:InternetCode> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:Language> </d3p1:ImageDescriptionViewModel> <d3p1:ImageDescriptionViewModel> <d3p1:Description>sample string 1</d3p1:Description> <d3p1:Language> <d3p1:Id>1</d3p1:Id> <d3p1:InternetCode>sample string 3</d3p1:InternetCode> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:Language> </d3p1:ImageDescriptionViewModel> </d3p1:Description> <d3p1:MainUrl>sample string 1</d3p1:MainUrl> <d3p1: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> </d3p1:Tags> <d3p1:ThumbUrl>sample string 2</d3p1:ThumbUrl> </d3p1:ImageViewModel> <d3p1:ImageViewModel> <d3p1:Description> <d3p1:ImageDescriptionViewModel> <d3p1:Description>sample string 1</d3p1:Description> <d3p1:Language> <d3p1:Id>1</d3p1:Id> <d3p1:InternetCode>sample string 3</d3p1:InternetCode> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:Language> </d3p1:ImageDescriptionViewModel> <d3p1:ImageDescriptionViewModel> <d3p1:Description>sample string 1</d3p1:Description> <d3p1:Language> <d3p1:Id>1</d3p1:Id> <d3p1:InternetCode>sample string 3</d3p1:InternetCode> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:Language> </d3p1:ImageDescriptionViewModel> </d3p1:Description> <d3p1:MainUrl>sample string 1</d3p1:MainUrl> <d3p1: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> </d3p1:Tags> <d3p1:ThumbUrl>sample string 2</d3p1:ThumbUrl> </d3p1:ImageViewModel> </Images> </Media> <Overview> <TransferCarGroupOverviewViewModel> <Description> <MainDescription>sample string 1</MainDescription> </Description> <Language xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d4p1:Id>1</d4p1:Id> <d4p1:InternetCode>sample string 3</d4p1:InternetCode> <d4p1:Name>sample string 2</d4p1:Name> </Language> </TransferCarGroupOverviewViewModel> <TransferCarGroupOverviewViewModel> <Description> <MainDescription>sample string 1</MainDescription> </Description> <Language xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d4p1:Id>1</d4p1:Id> <d4p1:InternetCode>sample string 3</d4p1:InternetCode> <d4p1:Name>sample string 2</d4p1:Name> </Language> </TransferCarGroupOverviewViewModel> </Overview> <TransferCarGroupId>1</TransferCarGroupId> </TransferCarGroupDescriptionViewModel>