Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleпример трансфера
Code Block
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <GetReservationDetailsResponse xmlns="http://www.corteos.ru/">
         <GetReservationDetailsResult>
            <Result Name="Мурманск" id_ComplexReserve="767234" State="draft">
               <Reserves>
                  <ReservationModel>
                     <id_Reserve>1770398</id_Reserve>
                     <id_ComplexReserve>767234</id_ComplexReserve>
                     <id_ReserveType>16</id_ReserveType>
                     <DateStart>03.04.2021</DateStart>
                     <DateEnd>05.04.2021</DateEnd>
                     <CreationDate>31.12.2020</CreationDate>
                     <CreationTime>13:33</CreationTime>
                     <Price>5880</Price>
                     <OptimalPrice>0</OptimalPrice>
                     <Currency>RUB</Currency>
                     <OptimalPriceCurrency>RUB</OptimalPriceCurrency>
                     <Timelimit>03.04.2021</Timelimit>
                     <TimelimitTime>00:00</TimelimitTime>
                     <Codes>
                        <CustomerCode>
                           <DictionaryName>$START_PLACE_ADDRESS</DictionaryName>
                           <Code>Россия, Мурманская область, Мурманск, ул. Шмидта, д. 17</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                        <CustomerCode>
                           <DictionaryName>$END_PLACE_ADDRESS</DictionaryName>
                           <Code>Мурманск(аэропорт)</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                        <CustomerCode>
                           <DictionaryName>$START_PLACE_NAME</DictionaryName>
                           <Code>Выезд из отеля Глория в городе , 03.04.2021</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                        <CustomerCode>
                           <DictionaryName>$END_PLACE_NAME</DictionaryName>
                           <Code>Вылет из аэропорта Мурманск , города Мурманск, к рейсу SU-1321 в 10:35, 03.04.2021</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                        <CustomerCode>
                           <DictionaryName>$CAR_CLASS</DictionaryName>
                           <Code>стандарт</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                        <CustomerCode>
                           <DictionaryName>$CAR_INFO</DictionaryName>
                           <Code>Ford Focus, до 3 чел. в салоне.</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                        <CustomerCode>
                           <DictionaryName>$RETURN_START_PLACE_ADDRESS</DictionaryName>
                           <Code>Мурманск(аэропорт)</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                        <CustomerCode>
                           <DictionaryName>$RETURN_END_PLACE_ADDRESS</DictionaryName>
                           <Code>Россия, Мурманская область, Мурманск, ул. Шмидта, д. 17</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                        <CustomerCode>
                           <DictionaryName>$RETURN_START_PLACE_NAME</DictionaryName>
                           <Code>Прилет в аэропорт Мурманск , города Мурманск, к рейсу SU-1322 в 01:50, 05.04.2021</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                        <CustomerCode>
                           <DictionaryName>$RETURN_END_PLACE_NAME</DictionaryName>
                           <Code>Россия, Мурманская область, Мурманск, ул. Шмидта, д. 17</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                        <CustomerCode>
                           <DictionaryName>$RETURN_CAR_CLASS</DictionaryName>
                           <Code>стандарт</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                        <CustomerCode>
                           <DictionaryName>$RETURN_CAR_INFO</DictionaryName>
                           <Code>Ford Focus, до 3 чел. в салоне.</Code>
                           <id_Person xsi:nil="true"/>
                           <id_MetaCode xsi:nil="true"/>
                        </CustomerCode>
                     </Codes>
                     <Passengers>
                        <Passenger>
                           <id_Person>923307</id_Person>
                           <id_Passenger>2107152</id_Passenger>
                           <LastName>Грейнджер</LastName>
                           <FirstName>Гермиона</FirstName>
                           <SurName/>
                           <DocumentType>Passport</DocumentType>
                           <Codes>
                              <CustomerCode>
                                 <DictionaryName>Авторизатор</DictionaryName>
                                 <Code>Нет</Code>
                                 <id_Person>923307</id_Person>
                                 <id_MetaCode>227303</id_MetaCode>
                              </CustomerCode>
                           </Codes>
                        </Passenger>
                     </Passengers>
                     <id_ReserveState>1</id_ReserveState>
                     <TravelPolicy>
                        <HasViolations>false</HasViolations>
                        <Violations/>
                     </TravelPolicy>
                     <Files/>
                     <Comment/>
                     <Creator id_Client="*****" id_Person="*****" id_Group="****" Email="usr****@corteos.info" LastName="Дамблдор" FirstName="Альбус"/>
                  </ReservationModel>
               </Reserves>
               <Codes>
                  <CustomerCode>
                     <DictionaryName>Курс</DictionaryName>
                     <Code>1</Code>
                     <id_Person>923307</id_Person>
                     <id_MetaCode>227299</id_MetaCode>
                  </CustomerCode>
               </Codes>
               <Files/>
            </Result>
         </GetReservationDetailsResult>
      </GetReservationDetailsResponse>
   </soap:Body>
</soap:Envelope>

где Codes:

START_PLACE_ADDRESS адрес откуда(улица и дом)
END_PLACE_ADDRESS адрес куда(улица и дом)
START_PLACE_NAME название места откуда, например, Аэропорт Шереметьево
END_PLACE_NAME название места куда, например, Ленинградский Вокзал
CAR_CLASS информация о машине - класс авто
CAR_INFO информация о машине - описание тарифа
RETURN_{один из параметров} - данные по обратному трансферу (мод Обратный маршрут для трансферов)

Пример запроса:

...

Пример ответа:

...