Трассировка запросов
Запрос
DateTime: 2024-11-22 03:48:29
URL: https://api-ext-test.pegasys.pegast.com/PackageSearch.svc?singleWsdl
Method: GetOPtions
XML:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://pegast.com/pegasys/api">
<SOAP-ENV:Header>
<ns1:PreferredLanguageCode>RU</ns1:PreferredLanguageCode>
<ns1:ApiUserKey>uyDmsKaMHxdSK1/YvhDfDw==</ns1:ApiUserKey>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:PackageSearchOptionsRequest>
<ns1:Parameters>
<ns1:Groups>Directions</ns1:Groups>
</ns1:Parameters>
</ns1:PackageSearchOptionsRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Ответ
DateTime: 2024-11-22 03:48:29
XML:
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<PackageSearchOptionsResponse xmlns="http://pegast.com/pegasys/api">
<Error>None</Error>
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<IsSucceeded>true</IsSucceeded>
<AdvancedSearchPermissions i:nil="true"/>
<Error>None</Error>
<ReferenceDescription>
<Airlines/>
<Countries>
<Country>
<Id xmlns="http://pegast.com/shared">164</Id>
<Name xmlns="http://pegast.com/shared">Таиланд</Name>
<OptionalLanguageNames/>
<ISO>TH</ISO>
<TimeZone>7</TimeZone>
</Country>
<Country>
<Id xmlns="http://pegast.com/shared">72</Id>
<Name xmlns="http://pegast.com/shared">Россия</Name>
<OptionalLanguageNames/>
<ISO>RU</ISO>
<TimeZone>4</TimeZone>
</Country>
<Country>
<Id xmlns="http://pegast.com/shared">73</Id>
<Name xmlns="http://pegast.com/shared">Турция</Name>
<OptionalLanguageNames/>
<ISO>TR</ISO>
<TimeZone>3</TimeZone>
</Country>
</Countries>
<Currencies/>
<FlightClasses/>
<HotelAttributes/>
<HotelCategories/>
<HotelCategoryGroups/>
<Hotels/>
<LocationAreas/>
<Locations>
<Location>
<Id xmlns="http://pegast.com/shared">76</Id>
<Name xmlns="http://pegast.com/shared">Москва</Name>
<OptionalLanguageNames/>
<Code>MOW</Code>
<RegionId>977</RegionId>
</Location>
</Locations>
<MealGroups/>
<Meals/>
<PackageSpoTypes/>
<PackageTypes/>
<Packages/>
<Regions>
<Region>
<Id xmlns="http://pegast.com/shared">977</Id>
<Name xmlns="http://pegast.com/shared">Москва</Name>
<OptionalLanguageNames/>
<Code i:nil="true"/>
<CountryId>72</CountryId>
<TimeZone>3</TimeZone>
</Region>
</Regions>
<RoomCategories i:nil="true"/>
</ReferenceDescription>
<SearchOptions>
<DepartureDates xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<DestinationLocationIds xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<Directions>
<PackageSearchDirectionOption>
<DepartureLocationId>76</DepartureLocationId>
<DestinationCountryId>164</DestinationCountryId>
<ReturnLocationId>76</ReturnLocationId>
</PackageSearchDirectionOption>
<PackageSearchDirectionOption>
<DepartureLocationId>76</DepartureLocationId>
<DestinationCountryId>73</DestinationCountryId>
<ReturnLocationId>76</ReturnLocationId>
</PackageSearchDirectionOption>
</Directions>
<DurationsInNights xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<FlightClassIds xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<HotelOptions/>
<MealIds xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<OutgoingAirlineIds xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<OutgoingDepartureDateOptions/>
<OutgoingFlightStops xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<PackageIds xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<PackageSpoTypeIds xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<PackageTypeIds xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<PaymentCurrencyIds xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<ReturnAirlineIds xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<ReturnDepartureDateOptions/>
<ReturnFlightStops xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
</SearchOptions>
</Result>
</PackageSearchOptionsResponse>
</s:Body>
</s:Envelope>