GET api/tour/filter/TourType
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
TourTypesFilterResponseName | Description | Type | Additional information |
---|---|---|---|
TourTypes | Collection of TourType |
None. |
|
ResultQueryInfo |
Сообщения |
ResultQueryInfoContainer |
None. |
Response Formats
application/json, text/json
Sample:
{ "TourTypes": [ { "Id": 1, "Name": "sample string 2", "MappingId": 1, "IsExternal": true, "CanMaped": true, "PartnerName": "sample string 5" }, { "Id": 1, "Name": "sample string 2", "MappingId": 1, "IsExternal": true, "CanMaped": true, "PartnerName": "sample string 5" } ], "RedirectUrl": "sample string 1", "ResultQueryInfo": { "ResultsCount": 1, "HasError": false, "Info": [], "CacheStorageTimeEnd": true, "RefreshPeriod": 0, "DelFromCacheDateTime": "2025-02-11T08:01:09.097319+03:00", "UserMessages": "", "UserMessagesHtml": "" } }
application/xml, text/xml
Sample:
<TourTypesFilterResponse 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>2025-02-11T08:01:09.097319+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField> <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField> <info /> </ResultQueryInfo> <TourTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.MasterAgentDictionary.Contract.Entities"> <d2p1:TourType> <d2p1:CanMaped>true</d2p1:CanMaped> <d2p1:Id>1</d2p1:Id> <d2p1:IsExternal>true</d2p1:IsExternal> <d2p1:MappingId>1</d2p1:MappingId> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PartnerName>sample string 5</d2p1:PartnerName> </d2p1:TourType> <d2p1:TourType> <d2p1:CanMaped>true</d2p1:CanMaped> <d2p1:Id>1</d2p1:Id> <d2p1:IsExternal>true</d2p1:IsExternal> <d2p1:MappingId>1</d2p1:MappingId> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PartnerName>sample string 5</d2p1:PartnerName> </d2p1:TourType> </TourTypes> </TourTypesFilterResponse>