POST api/b2c/excursions/scheduleLanguages
Gets a list of schedule languages.
Request Information
URI Parameters
None.
Body Parameters
An instance of the ExcursionScheduleLanguagesRequestDTO.
Cyberlogic.eTourism.Mappings.Web.Dto.Excursions.ExcursionScheduleLanguagesRequestDTOName | Description | Type | Additional information |
---|---|---|---|
ExcursionId | integer |
None. |
|
ExcursionDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ExcursionId": 1, "ExcursionDate": "sample string 2" }
text/html
Sample:
{"ExcursionId":1,"ExcursionDate":"sample string 2"}
application/xml, text/xml
Sample:
<ExcursionScheduleLanguagesRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Web.Dto.Excursions"> <ExcursionDate>sample string 2</ExcursionDate> <ExcursionId>1</ExcursionId> </ExcursionScheduleLanguagesRequestDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A list of LanguageViewModel objects.
Collection of Cyberlogic.eTourism.Domain.ViewModels.Shared.LanguageViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
InternetCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" } ]
text/html
Sample:
[{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"}]
application/xml, text/xml
Sample:
<ArrayOfLanguageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <LanguageViewModel> <Id>1</Id> <InternetCode>sample string 3</InternetCode> <Name>sample string 2</Name> </LanguageViewModel> <LanguageViewModel> <Id>1</Id> <InternetCode>sample string 3</InternetCode> <Name>sample string 2</Name> </LanguageViewModel> </ArrayOfLanguageViewModel>