GET api/tour/filter/country
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
TourCountriesFilterResponseName | Description | Type | Additional information |
---|---|---|---|
Countries | Collection of Country |
None. |
|
ResultQueryInfo |
Сообщения |
ResultQueryInfoContainer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Countries": [ { "EtvCode": "sample string 1", "MappingId": 1, "PartnerName": "sample string 2", "IsExternal": true, "CanMaped": true, "IsDeparture": true, "Id": 6, "Name": "sample string 7", "NameLat": "sample string 8", "Code": "sample string 9" }, { "EtvCode": "sample string 1", "MappingId": 1, "PartnerName": "sample string 2", "IsExternal": true, "CanMaped": true, "IsDeparture": true, "Id": 6, "Name": "sample string 7", "NameLat": "sample string 8", "Code": "sample string 9" } ], "RedirectUrl": "sample string 1", "ResultQueryInfo": { "ResultsCount": 1, "HasError": false, "Info": [], "CacheStorageTimeEnd": true, "RefreshPeriod": 0, "DelFromCacheDateTime": "2024-11-23T16:52:46.7737078+03:00", "UserMessages": "", "UserMessagesHtml": "" } }
application/xml, text/xml
Sample:
<TourCountriesFilterResponse 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-23T16:52:46.7737078+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField> <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField> <info /> </ResultQueryInfo> <Countries xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.MasterAgentDictionary.Contract.Entities"> <d2p1:Country> <d2p1:Code>sample string 9</d2p1:Code> <d2p1:Id>6</d2p1:Id> <d2p1:Name>sample string 7</d2p1:Name> <d2p1:NameLat>sample string 8</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 2</d2p1:PartnerName> <d2p1:EtvCode>sample string 1</d2p1:EtvCode> </d2p1:Country> <d2p1:Country> <d2p1:Code>sample string 9</d2p1:Code> <d2p1:Id>6</d2p1:Id> <d2p1:Name>sample string 7</d2p1:Name> <d2p1:NameLat>sample string 8</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 2</d2p1:PartnerName> <d2p1:EtvCode>sample string 1</d2p1:EtvCode> </d2p1:Country> </Countries> </TourCountriesFilterResponse>