GET api/tour/filter/departure
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
TourDepartureCitiesFilterResponseName | Description | Type | Additional information |
---|---|---|---|
DepartureCities | Collection of City |
None. |
|
ResultQueryInfo |
Сообщения |
ResultQueryInfoContainer |
None. |
Response Formats
application/json, text/json
Sample:
{ "DepartureCities": [ { "CountryId": 1, "RegionId": 2, "RegionName": "sample string 3", "EtvCode": "sample string 4", "MappingId": 1, "PartnerName": "sample string 5", "IsExternal": true, "CanMaped": true, "IsDeparture": true, "Id": 9, "Name": "sample string 10", "NameLat": "sample string 11", "Code": "sample string 12" }, { "CountryId": 1, "RegionId": 2, "RegionName": "sample string 3", "EtvCode": "sample string 4", "MappingId": 1, "PartnerName": "sample string 5", "IsExternal": true, "CanMaped": true, "IsDeparture": true, "Id": 9, "Name": "sample string 10", "NameLat": "sample string 11", "Code": "sample string 12" } ], "RedirectUrl": "sample string 1", "ResultQueryInfo": { "ResultsCount": 1, "HasError": false, "Info": [], "CacheStorageTimeEnd": true, "RefreshPeriod": 0, "DelFromCacheDateTime": "2024-11-23T17:20:54.8689181+03:00", "UserMessages": "", "UserMessagesHtml": "" } }
application/xml, text/xml
Sample:
<TourDepartureCitiesFilterResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Areas.Tour.Models.Dto"> <RedirectUrl xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 1</RedirectUrl> <ResultQueryInfo xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <_x003C_DelFromCacheDateTime_x003E_k__BackingField>2024-11-23T17:20:54.8689181+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField> <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField> <info /> </ResultQueryInfo> <DepartureCities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.MasterAgentDictionary.Contract.Entities"> <d2p1:City> <d2p1:Code>sample string 12</d2p1:Code> <d2p1:Id>9</d2p1:Id> <d2p1:Name>sample string 10</d2p1:Name> <d2p1:NameLat>sample string 11</d2p1:NameLat> <d2p1:CanMaped>true</d2p1:CanMaped> <d2p1:IsDeparture>true</d2p1:IsDeparture> <d2p1:IsExternal>true</d2p1:IsExternal> <d2p1:MappingId>1</d2p1:MappingId> <d2p1:PartnerName>sample string 5</d2p1:PartnerName> <d2p1:CountryId>1</d2p1:CountryId> <d2p1:EtvCode>sample string 4</d2p1:EtvCode> <d2p1:RegionId>2</d2p1:RegionId> <d2p1:RegionName>sample string 3</d2p1:RegionName> </d2p1:City> <d2p1:City> <d2p1:Code>sample string 12</d2p1:Code> <d2p1:Id>9</d2p1:Id> <d2p1:Name>sample string 10</d2p1:Name> <d2p1:NameLat>sample string 11</d2p1:NameLat> <d2p1:CanMaped>true</d2p1:CanMaped> <d2p1:IsDeparture>true</d2p1:IsDeparture> <d2p1:IsExternal>true</d2p1:IsExternal> <d2p1:MappingId>1</d2p1:MappingId> <d2p1:PartnerName>sample string 5</d2p1:PartnerName> <d2p1:CountryId>1</d2p1:CountryId> <d2p1:EtvCode>sample string 4</d2p1:EtvCode> <d2p1:RegionId>2</d2p1:RegionId> <d2p1:RegionName>sample string 3</d2p1:RegionName> </d2p1:City> </DepartureCities> </TourDepartureCitiesFilterResponse>