Versions Compared

Key

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

Steps

  1. Application for connection
    All information required for connection — in one application

  2. Access to the test environment
    Get access to the test environment and integrate under the supervision of S7 technicians

  3. Hello world!
    Set your software and make your first request!

  4. Running your tests
    Test the S7 Agent API to prevent future problems

  5. Signing of the contract of EDS
    Sign the contract electronically

  6. Access to production environment
    Get access to the production environment and complete integration

  7. Maintenance
    Use the all of capabilities of the S7 Agent API and stay tuned for a new features!

Role

Role

Description

Target period

Agent with own solution

an agent, who creates own solution for yourself and proceed integration with the S7 Agent API

7 working days


Anchor
environment
environment

Environment

Excerpt Include
Submitting requests | S7 Agent API
Submitting requests | S7 Agent API
nopaneltrue

Anchor
Step1
Step1
Step 1: Application for connection

1. Contact to manager of your region and request for an application form (sample) at vm@s7.ru or https://api4agent.s7.ru/

2. Fill in the application form with a link to your portal and send it to S7 manager.

In the contact data of a technical specialist must specialist must be specified:

  • Technical specialist

  • Agent representative

3. S7 checks your form and initiates registration in our systems

4. Go to Service Desk Kaiten and register by your email. Here you will open tasks in case of errors when using the S7 Agent API and receive feedback from technical support.

Anchor
Step2
Step2
Step 2: Access to the test environment

1. Check your environment for OpenSSL and install additional software (required to create a request for SSL certificate):

code
Panel
titleFor Windows/Solaris

Download the last binary version of OpenSSL at https://www.openssl.org/community/binaries.html and install software

title


For GNU/Linux
Code Block
sudo apt install openssl


Panel
titleFor MacOS

No action is required — already included in OS


2. Use command line (as administrator) to create private key:

Panel


Code Block
openssl genrsa -out ${clientkey}.pem 2048

You have to replace ${clientkey} into understandable name using your local naming policies

Image Modified

3. Create request for SSL certificate:

Panel


Code Block
openssl req -new -key ${clientkey}.pem -out ${clientcsr}.pem

Replace ${clientcsr} to the name used on previous step

You have to replace ${clientkey} and ${clientcsr} into understandable name using your local naming policies

Image Modified

4. Fill in the details of the request for SSL certificate:

Panel

Mandatory:

  • Country Name (2 letter code)

  • State or Province Name

  • Locality Name (eg, city)

  • Organization Name (eg, company)

  • Organizational Unit Name (eg, section)

  • Common Name (your name or server's hostname)

No need to specify:

  • A challenge password

  • An optional company name

5. Create a new task with the request of SSL certificate (request_csr) by 

Service Desk

Kaiten

Panel
Image Modified

Attach to the task created request for SSL certificate (request_csr)
Check “Bin” (OpenSSL) folder for those files.

6. Receive credentials for  Receive credentials for test environment from our technical support:

Panel
  • a SSL certificate (*.crt file)

  • personal credentials for basic authentication (login and password)

  • test access parameters for requests (XML block Party)

  • test Client ID and Agent ID for testing shopping with 3D agreement

7. Import SSL certificate and create key store file:

Panel


Code Block
openssl pkcs12 -export -in ${clientcert}.pem -inkey ${clientkey}.pem -out ${client}.p12 -name "${name}"

Export Password – password for key store file which will be requested while importing into test software

Image Modified

Anchor
Step3
Step3
Step 3: Hello world! 

1. If you are using test software build in browser you have to import keys (or check your software's documentation):

Panel
titleFor Mozilla Firefox

Menu Preferences Advanced ViewCertificates Your Certificates Import Choose created key store file (*.p12) on previous step


Panel
titleFor Google Chrome

Settings → Advanced Settings → HTTPS/SSL → Import → Choose created key store file (*.p12) on previous step

2. For a better experience, we prefer to use SoapUI for testing:

Panel

Download the last binary version of SoapUI at https://www.soapui.org/downloads/soapui.html and install software

3. Open SoapUI and create a new SOAP project

Panel
  1. SoapUI → File → Preferences → New SOAP project

  2. Check available versions at test environment at the top of the page

  3. Copy relevant WSDL URL

  4. Past in form, fill a project name and press OK

4. Assign created Assign created key store file to the project

Panel
  1. Project Show project view WS-Security Configurations Keystores;

  2. Click on "+" (Adds a new Keystore to this configuration)

  3. Set a path to p12-file and input the password

(warning) (warning) Do not use global settings (SoapUI File Preferences SSL Setting) to save ability of using both environments without any additional setting changes

5. Create new request and set basic authentication

Panel
  1. Open tab "Auth" under request textarea

  2. Select "Authorization" = "Basic"

  3. Input Username and Password (your received them from our technical support on previous step)

(warning) You have to set it for all your requests

6. Set assigned keystore

Panel
  1. Go to tab "TestRequest Properties" under the projects tree

  2. Select imported p12-file in "SSL Keystore" parameter

(warning) You have to set it for all your requests

7. Set the endpoint of test environment at the top of request window

8. Fill in the request textarea by an example described below and send it!

Code Blockexpand
titleRequest


Code Block
languagexml
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header/>
    <Body>
        <AirShoppingRQ xmlns="http://www.iata.org/IATA/EDIST" Version="1.0">
            <Document/>
            <Party>
                <Sender>
                    <AgentUserSender>
                        <Name>S7-AIDL</Name>
                        <OtherIDs>
                            <OtherID Description="POS_Type">1</OtherID>
                            <OtherID Description="requestorType">U</OtherID>
                            <OtherID Description="Password">Amadeus01</OtherID>
                        </OtherIDs>
                        <PseudoCity>OVBS728AB</PseudoCity>
                        <AgentUserID>WSS72API</AgentUserID>
                        <UserRole>AS</UserRole>
                    </AgentUserSender>
                </Sender>
            </Party>
            <Parameters>
                <CurrCodes>
                    <CurrCode>RUB</CurrCode>
                </CurrCodes>
            </Parameters>
            <Travelers>
                <Traveler>
                    <AnonymousTraveler>
                        <PTC Quantity="1">ADT</PTC>
                    </AnonymousTraveler>
                </Traveler>
            </Travelers>
            <CoreQuery>
                <OriginDestinations>
                    <OriginDestination>
                        <Departure>
                            <AirportCode>SVX</AirportCode>
                            <Date>2019-03-20</Date>
                        </Departure>
                        <Arrival>
                            <AirportCode>DUS</AirportCode>
                        </Arrival>
                    </OriginDestination>
                </OriginDestinations>
            </CoreQuery>
        </AirShoppingRQ>
    </Body>
</Envelope>



Code Blockexpand
titleResponse


Code Block
languagexml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST">
    <ns2:Body>
        <ns3:AirShoppingRS Version="2.000">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success/>
            <ns3:AirShoppingProcessing/>
            <ns3:OffersGroup>
                <ns3:AirlineOffers>
                    <ns3:Owner>S7</ns3:Owner>
                    <ns3:AirlineOffer>
                        <ns3:OfferID Owner="S7">OF1</ns3:OfferID>
                        <ns3:TotalPrice>
                            <ns3:DetailCurrencyPrice>
                                <ns3:Total Code="RUB">40019</ns3:Total>
                                <ns3:Details>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="RUB">36165</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="EUR">479.00</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                </ns3:Details>
                                <ns3:Taxes>
                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                </ns3:Taxes>
                            </ns3:DetailCurrencyPrice>
                        </ns3:TotalPrice>
                        <ns3:Disclosure>
                            <ns3:Description>
                                <ns3:Text>BASIC BUSINESS</ns3:Text>
                            </ns3:Description>
                        </ns3:Disclosure>
                        <ns3:PricedOffer>
                            <ns3:OfferPrice OfferItemID="OF1SL1">
                                <ns3:RequestedDate>
                                    <ns3:PriceDetail>
                                        <ns3:TotalAmount>
                                            <ns3:DetailCurrencyPrice>
                                                <ns3:Total Code="RUB">40019</ns3:Total>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">36165</ns3:BaseAmount>
                                    </ns3:PriceDetail>
                                    <ns3:Associations>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG1 SVX-DME</ns3:Type>
                                                <ns3:ReferenceValue>Meal_S</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG2 DME-DUS</ns3:Type>
                                                <ns3:ReferenceValue>Meal_BUSINESS</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                    <ns3:Associations>
                                        <ns3:AssociatedTraveler>
                                            <ns3:TravelerReferences>SH1</ns3:TravelerReferences>
                                        </ns3:AssociatedTraveler>
                                        <ns3:ApplicableFlight>
                                            <ns3:OriginDestinationReferences>OD1</ns3:OriginDestinationReferences>
                                            <ns3:FlightSegmentReference ref="SEG1">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>Y</ns3:CabinDesignator>
                                                    <ns3:MarketingName>BASIC ECONOMY</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG1">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="9">W</ns3:Code>
                                                    <ns3:MarketingName>WBSOW</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG1</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO1</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG2">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>B</ns3:CabinDesignator>
                                                    <ns3:MarketingName>BASIC BUSINESS</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG2">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="8">D</ns3:Code>
                                                    <ns3:MarketingName>DBSOW</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG1</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO2</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                        </ns3:ApplicableFlight>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>WBSOW</ns3:Type>
                                                <ns3:ReferenceValue>PL1</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>DBSOW</ns3:Type>
                                                <ns3:ReferenceValue>PL2</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                </ns3:RequestedDate>
                                <ns3:FareDetail>
                                    <ns3:FareComponent refs="SH1" ObjectKey="FC1">
                                        <ns3:Parameters Quantity="1"/>
                                        <ns3:PriceBreakdown>
                                            <ns3:Price>
                                                <ns3:BaseAmount Code="RUB">36165</ns3:BaseAmount>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:Price>
                                        </ns3:PriceBreakdown>
                                    </ns3:FareComponent>
                                </ns3:FareDetail>
                            </ns3:OfferPrice>
                        </ns3:PricedOffer>
                    </ns3:AirlineOffer>
                    <ns3:AirlineOffer>
                        <ns3:OfferID Owner="S7">OF2</ns3:OfferID>
                        <ns3:TotalPrice>
                            <ns3:DetailCurrencyPrice>
                                <ns3:Total Code="RUB">9519</ns3:Total>
                                <ns3:Details>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="RUB">5665</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="EUR">75.00</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                </ns3:Details>
                                <ns3:Taxes>
                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                </ns3:Taxes>
                            </ns3:DetailCurrencyPrice>
                        </ns3:TotalPrice>
                        <ns3:Disclosure>
                            <ns3:Description>
                                <ns3:Text>BASIC ECONOMY</ns3:Text>
                            </ns3:Description>
                        </ns3:Disclosure>
                        <ns3:PricedOffer>
                            <ns3:OfferPrice OfferItemID="OF2SL1">
                                <ns3:RequestedDate>
                                    <ns3:PriceDetail>
                                        <ns3:TotalAmount>
                                            <ns3:DetailCurrencyPrice>
                                                <ns3:Total Code="RUB">9519</ns3:Total>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">5665</ns3:BaseAmount>
                                    </ns3:PriceDetail>
                                    <ns3:Associations>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG1 SVX-DME</ns3:Type>
                                                <ns3:ReferenceValue>Meal_S</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG2 DME-DUS</ns3:Type>
                                                <ns3:ReferenceValue>Meal_L</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                    <ns3:Associations>
                                        <ns3:AssociatedTraveler>
                                            <ns3:TravelerReferences>SH1</ns3:TravelerReferences>
                                        </ns3:AssociatedTraveler>
                                        <ns3:ApplicableFlight>
                                            <ns3:OriginDestinationReferences>OD1</ns3:OriginDestinationReferences>
                                            <ns3:FlightSegmentReference ref="SEG1">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>Y</ns3:CabinDesignator>
                                                    <ns3:MarketingName>BASIC ECONOMY</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG1">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="9">Q</ns3:Code>
                                                    <ns3:MarketingName>QBSMOW</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG2</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO1</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG2">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>Y</ns3:CabinDesignator>
                                                    <ns3:MarketingName>BASIC ECONOMY</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG2">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="9">Q</ns3:Code>
                                                    <ns3:MarketingName>QBSMOW</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG2</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO1</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                        </ns3:ApplicableFlight>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>QBSMOW</ns3:Type>
                                                <ns3:ReferenceValue>PL3</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>QBSMOW</ns3:Type>
                                                <ns3:ReferenceValue>PL3</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                </ns3:RequestedDate>
                                <ns3:FareDetail>
                                    <ns3:FareComponent refs="SH1" ObjectKey="FC2">
                                        <ns3:Parameters Quantity="1"/>
                                        <ns3:PriceBreakdown>
                                            <ns3:Price>
                                                <ns3:BaseAmount Code="RUB">5665</ns3:BaseAmount>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:Price>
                                        </ns3:PriceBreakdown>
                                    </ns3:FareComponent>
                                </ns3:FareDetail>
                            </ns3:OfferPrice>
                        </ns3:PricedOffer>
                    </ns3:AirlineOffer>
                    <ns3:AirlineOffer>
                        <ns3:OfferID Owner="S7">OF3</ns3:OfferID>
                        <ns3:TotalPrice>
                            <ns3:DetailCurrencyPrice>
                                <ns3:Total Code="RUB">48024</ns3:Total>
                                <ns3:Details>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="RUB">44170</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="EUR">585.00</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                </ns3:Details>
                                <ns3:Taxes>
                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                </ns3:Taxes>
                            </ns3:DetailCurrencyPrice>
                        </ns3:TotalPrice>
                        <ns3:Disclosure>
                            <ns3:Description>
                                <ns3:Text>FLEX BUSINESS</ns3:Text>
                            </ns3:Description>
                        </ns3:Disclosure>
                        <ns3:PricedOffer>
                            <ns3:OfferPrice OfferItemID="OF3SL1">
                                <ns3:RequestedDate>
                                    <ns3:PriceDetail>
                                        <ns3:TotalAmount>
                                            <ns3:DetailCurrencyPrice>
                                                <ns3:Total Code="RUB">48024</ns3:Total>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">44170</ns3:BaseAmount>
                                    </ns3:PriceDetail>
                                    <ns3:Associations>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG1 SVX-DME</ns3:Type>
                                                <ns3:ReferenceValue>Meal_S</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG2 DME-DUS</ns3:Type>
                                                <ns3:ReferenceValue>Meal_BUSINESS</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                    <ns3:Associations>
                                        <ns3:AssociatedTraveler>
                                            <ns3:TravelerReferences>SH1</ns3:TravelerReferences>
                                        </ns3:AssociatedTraveler>
                                        <ns3:ApplicableFlight>
                                            <ns3:OriginDestinationReferences>OD1</ns3:OriginDestinationReferences>
                                            <ns3:FlightSegmentReference ref="SEG1">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>Y</ns3:CabinDesignator>
                                                    <ns3:MarketingName>FLEX ECONOMY</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG1">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="9">W</ns3:Code>
                                                    <ns3:MarketingName>WFLOW</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG3</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO1</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG2">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>B</ns3:CabinDesignator>
                                                    <ns3:MarketingName>FLEX BUSINESS</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG2">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="8">D</ns3:Code>
                                                    <ns3:MarketingName>DFLOW</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG3</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO2</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                        </ns3:ApplicableFlight>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>WFLOW</ns3:Type>
                                                <ns3:ReferenceValue>PL4</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                </ns3:RequestedDate>
                                <ns3:FareDetail>
                                    <ns3:FareComponent refs="SH1" ObjectKey="FC3">
                                        <ns3:Parameters Quantity="1"/>
                                        <ns3:PriceBreakdown>
                                            <ns3:Price>
                                                <ns3:BaseAmount Code="RUB">44170</ns3:BaseAmount>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:Price>
                                        </ns3:PriceBreakdown>
                                    </ns3:FareComponent>
                                </ns3:FareDetail>
                            </ns3:OfferPrice>
                        </ns3:PricedOffer>
                    </ns3:AirlineOffer>
                    <ns3:AirlineOffer>
                        <ns3:OfferID Owner="S7">OF4</ns3:OfferID>
                        <ns3:TotalPrice>
                            <ns3:DetailCurrencyPrice>
                                <ns3:Total Code="RUB">11104</ns3:Total>
                                <ns3:Details>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="RUB">7250</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="EUR">96.00</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                </ns3:Details>
                                <ns3:Taxes>
                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                </ns3:Taxes>
                            </ns3:DetailCurrencyPrice>
                        </ns3:TotalPrice>
                        <ns3:Disclosure>
                            <ns3:Description>
                                <ns3:Text>FLEX ECONOMY</ns3:Text>
                            </ns3:Description>
                        </ns3:Disclosure>
                        <ns3:PricedOffer>
                            <ns3:OfferPrice OfferItemID="OF4SL1">
                                <ns3:RequestedDate>
                                    <ns3:PriceDetail>
                                        <ns3:TotalAmount>
                                            <ns3:DetailCurrencyPrice>
                                                <ns3:Total Code="RUB">11104</ns3:Total>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">7250</ns3:BaseAmount>
                                    </ns3:PriceDetail>
                                    <ns3:Associations>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG1 SVX-DME</ns3:Type>
                                                <ns3:ReferenceValue>Meal_S</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG2 DME-DUS</ns3:Type>
                                                <ns3:ReferenceValue>Meal_L</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                    <ns3:Associations>
                                        <ns3:AssociatedTraveler>
                                            <ns3:TravelerReferences>SH1</ns3:TravelerReferences>
                                        </ns3:AssociatedTraveler>
                                        <ns3:ApplicableFlight>
                                            <ns3:OriginDestinationReferences>OD1</ns3:OriginDestinationReferences>
                                            <ns3:FlightSegmentReference ref="SEG1">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>Y</ns3:CabinDesignator>
                                                    <ns3:MarketingName>FLEX ECONOMY</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG1">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="9">Q</ns3:Code>
                                                    <ns3:MarketingName>QFLMOW</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG3</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO1</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG2">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>Y</ns3:CabinDesignator>
                                                    <ns3:MarketingName>FLEX ECONOMY</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG2">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="9">Q</ns3:Code>
                                                    <ns3:MarketingName>QFLMOW</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG3</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO1</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                        </ns3:ApplicableFlight>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>QFLMOW</ns3:Type>
                                                <ns3:ReferenceValue>PL5</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>QFLMOW</ns3:Type>
                                                <ns3:ReferenceValue>PL5</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                </ns3:RequestedDate>
                                <ns3:FareDetail>
                                    <ns3:FareComponent refs="SH1" ObjectKey="FC4">
                                        <ns3:Parameters Quantity="1"/>
                                        <ns3:PriceBreakdown>
                                            <ns3:Price>
                                                <ns3:BaseAmount Code="RUB">7250</ns3:BaseAmount>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3854</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:Price>
                                        </ns3:PriceBreakdown>
                                    </ns3:FareComponent>
                                </ns3:FareDetail>
                            </ns3:OfferPrice>
                        </ns3:PricedOffer>
                    </ns3:AirlineOffer>
                </ns3:AirlineOffers>
            </ns3:OffersGroup>
            <ns3:DataLists>
                <ns3:AnonymousTravelerList>
                    <ns3:AnonymousTraveler ObjectKey="SH1">
                        <ns3:PTC Quantity="1">ADT</ns3:PTC>
                    </ns3:AnonymousTraveler>
                </ns3:AnonymousTravelerList>
                <ns3:CarryOnAllowanceList>
                    <ns3:CarryOnAllowance ListKey="CO1">
                        <ns3:AllowanceDescription>
                            <ns3:ApplicableParty>Traveler</ns3:ApplicableParty>
                            <ns3:ApplicableBag>1PC</ns3:ApplicableBag>
                            <ns3:Descriptions>
                                <ns3:Description>
                                    <ns3:Text>10KG</ns3:Text>
                                </ns3:Description>
                            </ns3:Descriptions>
                        </ns3:AllowanceDescription>
                    </ns3:CarryOnAllowance>
                    <ns3:CarryOnAllowance ListKey="CO2">
                        <ns3:AllowanceDescription>
                            <ns3:ApplicableParty>Traveler</ns3:ApplicableParty>
                            <ns3:ApplicableBag>2PC</ns3:ApplicableBag>
                            <ns3:Descriptions>
                                <ns3:Description>
                                    <ns3:Text>15KG</ns3:Text>
                                </ns3:Description>
                            </ns3:Descriptions>
                        </ns3:AllowanceDescription>
                    </ns3:CarryOnAllowance>
                </ns3:CarryOnAllowanceList>
                <ns3:CheckedBagAllowanceList>
                    <ns3:CheckedBagAllowance ListKey="BG1">
                        <ns3:AllowanceDescription>
                            <ns3:ApplicableParty>Traveler</ns3:ApplicableParty>
                            <ns3:ApplicableBag>1PC</ns3:ApplicableBag>
                            <ns3:Descriptions>
                                <ns3:Description>
                                    <ns3:Text>32 KG</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Up to 70 lb/32 kg</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Bicycle</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Golf Equipment</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Hockey Equipment</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Fishing Equipment</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Stroller/Pushchair</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Ski Equipment</ns3:Text>
                                </ns3:Description>
                            </ns3:Descriptions>
                        </ns3:AllowanceDescription>
                    </ns3:CheckedBagAllowance>
                    <ns3:CheckedBagAllowance ListKey="BG2">
                        <ns3:AllowanceDescription>
                            <ns3:ApplicableParty>Traveler</ns3:ApplicableParty>
                            <ns3:ApplicableBag>NO</ns3:ApplicableBag>
                            <ns3:Descriptions>
                                <ns3:Description/>
                            </ns3:Descriptions>
                        </ns3:AllowanceDescription>
                    </ns3:CheckedBagAllowance>
                    <ns3:CheckedBagAllowance ListKey="BG3">
                        <ns3:AllowanceDescription>
                            <ns3:ApplicableParty>Traveler</ns3:ApplicableParty>
                            <ns3:ApplicableBag>1PC</ns3:ApplicableBag>
                            <ns3:Descriptions>
                                <ns3:Description>
                                    <ns3:Text>23 KG</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Up to 50 lb/23 kg</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Bicycle</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Golf Equipment</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Hockey Equipment</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Fishing Equipment</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Stroller/Pushchair</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Ski Equipment</ns3:Text>
                                </ns3:Description>
                            </ns3:Descriptions>
                        </ns3:AllowanceDescription>
                    </ns3:CheckedBagAllowance>
                </ns3:CheckedBagAllowanceList>
                <ns3:FlightSegmentList>
                    <ns3:FlightSegment SegmentKey="SEG1">
                        <ns3:Departure>
                            <ns3:AirportCode>SVX</ns3:AirportCode>
                            <ns3:Date>2019-03-20</ns3:Date>
                            <ns3:Time>06:10</ns3:Time>
                        </ns3:Departure>
                        <ns3:Arrival>
                            <ns3:AirportCode>DME</ns3:AirportCode>
                            <ns3:Date>2019-03-20</ns3:Date>
                            <ns3:Time>06:45</ns3:Time>
                        </ns3:Arrival>
                        <ns3:MarketingCarrier>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                            <ns3:FlightNumber>52</ns3:FlightNumber>
                        </ns3:MarketingCarrier>
                        <ns3:OperatingCarrier>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                            <ns3:FlightNumber>52</ns3:FlightNumber>
                        </ns3:OperatingCarrier>
                        <ns3:Equipment>
                            <ns3:AircraftCode>ref</ns3:AircraftCode>
                            <ns3:AirlineEquipCode>Airbus A319</ns3:AirlineEquipCode>
                        </ns3:Equipment>
                        <ns3:FlightDetail>
                            <ns3:FlightDistance>
                                <ns3:Value>883</ns3:Value>
                                <ns3:UOM>Miles</ns3:UOM>
                            </ns3:FlightDistance>
                            <ns3:FlightDuration>
                                <ns3:Value>PT2H35M</ns3:Value>
                            </ns3:FlightDuration>
                        </ns3:FlightDetail>
                    </ns3:FlightSegment>
                    <ns3:FlightSegment SegmentKey="SEG2">
                        <ns3:Departure>
                            <ns3:AirportCode>DME</ns3:AirportCode>
                            <ns3:Date>2019-03-20</ns3:Date>
                            <ns3:Time>12:30</ns3:Time>
                        </ns3:Departure>
                        <ns3:Arrival>
                            <ns3:AirportCode>DUS</ns3:AirportCode>
                            <ns3:Date>2019-03-20</ns3:Date>
                            <ns3:Time>13:55</ns3:Time>
                        </ns3:Arrival>
                        <ns3:MarketingCarrier>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                            <ns3:FlightNumber>991</ns3:FlightNumber>
                        </ns3:MarketingCarrier>
                        <ns3:OperatingCarrier>
                            <ns3:AirlineID>GH</ns3:AirlineID>
                        </ns3:OperatingCarrier>
                        <ns3:Equipment>
                            <ns3:AircraftCode>ref</ns3:AircraftCode>
                            <ns3:AirlineEquipCode>Boeing 737-800 Passenger</ns3:AirlineEquipCode>
                        </ns3:Equipment>
                        <ns3:FlightDetail>
                            <ns3:FlightDistance>
                                <ns3:Value>1303</ns3:Value>
                                <ns3:UOM>Miles</ns3:UOM>
                            </ns3:FlightDistance>
                            <ns3:FlightDuration>
                                <ns3:Value>PT3H25M</ns3:Value>
                            </ns3:FlightDuration>
                        </ns3:FlightDetail>
                    </ns3:FlightSegment>
                </ns3:FlightSegmentList>
                <ns3:OriginDestinationList>
                    <ns3:OriginDestination OriginDestinationKey="OD1">
                        <ns3:DepartureCode>SVX</ns3:DepartureCode>
                        <ns3:ArrivalCode>DUS</ns3:ArrivalCode>
                        <ns3:FlightReferences>SEG1 SEG2</ns3:FlightReferences>
                    </ns3:OriginDestination>
                </ns3:OriginDestinationList>
                <ns3:PenaltyList>
                    <ns3:Penalty ObjectKey="PL1">
                        <ns3:Details>
                            <ns3:Detail>
                                <ns3:Type>BEFORE-DEPARTURE</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">3000</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">3000</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                            <ns3:Detail>
                                <ns3:Type>AFTER-DEPARTURE</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">3000</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">3000</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                            <ns3:Detail>
                                <ns3:Type>NO-SHOW</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">5000</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">5000</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                        </ns3:Details>
                    </ns3:Penalty>
                    <ns3:Penalty ObjectKey="PL2">
                        <ns3:Details>
                            <ns3:Detail>
                                <ns3:Type>BEFORE-DEPARTURE</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">80.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">80.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                            <ns3:Detail>
                                <ns3:Type>AFTER-DEPARTURE</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">80.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">80.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                            <ns3:Detail>
                                <ns3:Type>NO-SHOW</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">110.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">110.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                        </ns3:Details>
                    </ns3:Penalty>
                    <ns3:Penalty ObjectKey="PL3">
                        <ns3:Details>
                            <ns3:Detail>
                                <ns3:Type>BEFORE-DEPARTURE</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">60.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">60.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                            <ns3:Detail>
                                <ns3:Type>AFTER-DEPARTURE</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">60.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">60.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                            <ns3:Detail>
                                <ns3:Type>NO-SHOW</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">80.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">80.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                        </ns3:Details>
                    </ns3:Penalty>
                    <ns3:Penalty ObjectKey="PL4">
                        <ns3:Details>
                            <ns3:Detail>
                                <ns3:Type>NO-SHOW</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">5000</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">5000</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                            <ns3:Detail>
                                <ns3:Type>BEFORE-DEPARTURE</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">1500</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">5000</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                            <ns3:Detail>
                                <ns3:Type>AFTER-DEPARTURE</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">1500</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="RUB">5000</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                        </ns3:Details>
                    </ns3:Penalty>
                    <ns3:Penalty ObjectKey="PL5">
                        <ns3:Details>
                            <ns3:Detail>
                                <ns3:Type>NO-SHOW</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">80.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">80.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                            <ns3:Detail>
                                <ns3:Type>BEFORE-DEPARTURE</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">30.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">80.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                            <ns3:Detail>
                                <ns3:Type>AFTER-DEPARTURE</ns3:Type>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">30.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">80.00</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                        </ns3:Details>
                    </ns3:Penalty>
                </ns3:PenaltyList>
                <ns3:ServiceList>
                    <ns3:Service ObjectKey="Meal_S">
                        <ns3:ServiceID Owner="Any">S</ns3:ServiceID>
                        <ns3:Name>Meal</ns3:Name>
                        <ns3:Descriptions>
                            <ns3:Description>
                                <ns3:Text>Snacks or late breakfast</ns3:Text>
                            </ns3:Description>
                        </ns3:Descriptions>
                    </ns3:Service>
                    <ns3:Service ObjectKey="Meal_BUSINESS">
                        <ns3:ServiceID Owner="Any">BUSINESS</ns3:ServiceID>
                        <ns3:Name>Meal</ns3:Name>
                        <ns3:Descriptions>
                            <ns3:Description>
                                <ns3:Text>Special menu and drinks</ns3:Text>
                            </ns3:Description>
                        </ns3:Descriptions>
                    </ns3:Service>
                    <ns3:Service ObjectKey="Meal_L">
                        <ns3:ServiceID Owner="Any">L</ns3:ServiceID>
                        <ns3:Name>Meal</ns3:Name>
                        <ns3:Descriptions>
                            <ns3:Description>
                                <ns3:Text>Lunch</ns3:Text>
                            </ns3:Description>
                        </ns3:Descriptions>
                    </ns3:Service>
                </ns3:ServiceList>
            </ns3:DataLists>
            <ns3:Metadata>
                <ns3:Other>
                    <ns3:OtherMetadata>
                        <ns3:CurrencyMetadatas>
                            <ns3:CurrencyMetadata MetadataKey="RUB">
                                <ns3:Application>Sale currency</ns3:Application>
                                <ns3:Decimals>2</ns3:Decimals>
                            </ns3:CurrencyMetadata>
                            <ns3:CurrencyMetadata MetadataKey="EUR">
                                <ns3:Application>75.5</ns3:Application>
                                <ns3:Decimals>2</ns3:Decimals>
                                <ns3:Name>Conversion rate from EUR to RUB</ns3:Name>
                            </ns3:CurrencyMetadata>
                        </ns3:CurrencyMetadatas>
                    </ns3:OtherMetadata>
                </ns3:Other>
            </ns3:Metadata>
        </ns3:AirShoppingRS>
    </ns2:Body>
</ns2:Envelope>
excerpt-include


OW + 1xADT + Transit + CodeShare | v0.35 | searchFlights operationOW + 1xADT + Transit + CodeShare | v0.35 | searchFlights operationnopaneltrue9. If you have no results, try to check your connection to exclude the case of incorrect credentials before you contact to our technical support by Service DeskKaiten.

Panel
  1. Import key store file into the browser (see steps to set up browser above)

  2. Go to any URL from Environment section via browser

Anchor
Step4
Step4
Step 4: Running your tests

1. Choose one of available versions at test environment at the top of the page

2. Use header's parameters for selected version (If the parameter is not defined, the oldest version will be used by default):Image Removed

3. Read the API's documentation

4. Try  Try to execute the user story with the simplest flow and then other scenarios that special user stories (3d agreement, S7 Profi) that you are interested in

Panel
  • We are using actual schedule for flights but you may feel free to create bookings and issue tickets (please, note that some minor discrepancies between test and production results are still exist)

  • No time limits for testing

5. Give us a feedback through your manager or our technical support by Service DeskKaiten

6. Ready to production environment?

6.1. Check available scenarios and choose which you're going to use at production environment

6.2. Notify our technical support by Service DeskKaiten for final testing under the supervision of our technologists

Panel
titleIssue template
  • Summary: Execution of test scenarios // API01-

    19

    22-000000-0

    • You can find the application number in received email at the first step

  • Description:

    • Agent code: agent

    • Agent name: OOO «Агент»

    • Website: www.site.ru

    • Application: https://requests.s7.ru/api01/

      19

      22-000000-0

    • Version: v0.52

    • Scenarios:

      • Basic scenario

        • User Story: OW + 1xADT + Transit + S7 flight

        • User Story: RT + 1xADT 1xCHD 1xINF + Transfer + Business Mix + S7 flight

        • User Story: RT + 1xADT + 1CHD + Transfer + Codeshare + BusinessCabin (S7 + CodeShare)

        • User Story: OW + 2xADT 1xCHD 1xINF + Transfer + SPA

      • 3D agreement scenario

        • User Story: OW + 1xADT + Direct + S7 flight

6.3. Proceed test scenarios and attach all created PNRs and ETK numbers as a comment at the issue

6.4. Assign the issue to the technical support and keep

(warning) Keep all conversation with our technical support and technologists only in comments at the issue
(warning) If you faced any problems, create a new issue in 

Service Desk

Kaiten and link with the issue for final testing

6.5. Once all tests will be passed you can proceed to signing of the contract of EDS

Anchor
Step5
Step5
Step 5: Signing of the contract of EDS

1. Contact with your account manager to sign a contract

2. Create a new validator (without transactions history) for our GDS to have ability to execute all basic shopping scenarios Scenarios v0.52 S7 Agent API

3. If you are interesting in discounts for corporate client you have to enter into 3D agreement between Agent, S7 and corporate client

Panel

As a result Agent ID and Client ID will be defined in 3D agreement. They are required to execute

scenarios with 3D Agreement

3D agreement scenario Auto v0.52

4. Once all the documents have been completed, your account manager will notify you when you can proceed to the production environment

Anchor
Step6
Step6
Step 6: Access to production environment

Create a new certificate for production environment (similar as for test environment but the new one — check Step 2 for more details):

  1. Create private key

  2. Create a request for SSL certificate

  3. Fill in the details of the request for SSL certificate

  4. Create a new task with the request of SSL certificate (request_csr) by 

    Service Desk

    Kaiten

  5. Receive credentials for production environment from our technical support:

    1. a SSL certificate (*.crt file)

    2. personal credentials for basic authentication (login and password)

    3. access parameters for requests (XML block Party)

    4. Client ID and Agent ID (only If you are entered into 3D agreement)

  6. Import SSL certificate and create key store file

Anchor
Step7
Step7
Step 7: Maintenance

1. Choose one of available and tested versions at production environment at the top of the page

2. Use header's parameters for tested selected version (If the parameter is not defined, the default version will be executed):
Image Removed

3. Try to use read operations to check the correctness of your first bookings (read operation) and issued tickets (retrieveTicket operation)

Note

Avoid making mistakes in the production environment due to the penalties specified in the signed contract!
If you are still not sure, don't hesitate to reach our technical support by 

Service Desk

Kaiten

4. Don't forget to check our updates!

Panel
  • Release Notes for new versions of S7 Agent API

  • FAQ for most common issues you can be faced with

5. (warning) If validator's stock has less than 10 blanks, you'll receive the error as a result of ticket issuing at the production environment
Ask your manager to increase the validator's stock

Error
Code Block
languagexml
<ns2:Errors>
         <ns3:Error Type="101" ShortText="S7 ETKT: MAXIMUM TICKET LIMIT REACHED" Code="0"/>
</ns2:Errors>

6. (warning) If Agent credentials has not been used for 60 days, you'll receive the error as a result of any non-search operation at the production environment

Contact to S7 API support

Contact via Kaiten with used Agent credentials to renew them

Info

If you still have any questions, try to find an answer using our FAQ and documentation or ask for technical support by Service Desk Kaiten or email at api.support@s7.ru