Getting Itinerary Receipt for a Specific Reservation

GetTicketBlank

Request

  • BookID - Reservation ID. Data type - 32-bit integer.
  • BlankIDs - IDs of ticket blanks to be canceled. Data type - array of string elements.
  • BlankIDs.BlankID - Blank ID. Data type - string.

If you need to receive all available reservation blanks, then the BlankIDs parameter should be left empty.

Sample Request (XML)
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://nemo-ibe.com/STL" xmlns:ns2="http://nemo-ibe.com/Rail" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Body>
    <ns2:GetTicketBlank>
      <ns2:Request>
        <ns1:Requisites>
          <ns1:NemoOneAuthToken>***</ns1:NemoOneAuthToken>
          <ns1:UserContextId/>
        </ns1:Requisites>
        <ns1:UserID>***</ns1:UserID>
        <ns1:RequestType>U</ns1:RequestType>
        <ns1:RequestBody>
          <ns2:BookID>158477</ns2:BookID>
          <ns2:Language>ru</ns2:Language>
          <ns2:BlankIDs>
             <ns2:BlankID>91786798</ns2:BlankID>
             <ns2:BlankID>91786797</ns2:BlankID>
          </ns2:BlankIDs>
        </ns1:RequestBody>
      </ns2:Request>
    </ns2:GetTicketBlank>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response

  • TicketBlanks - Reservation blanks. Data type - array of TicketBlank elements.
  • TicketBlanks.TicketBlank - Contains an itinerary receipt. Data type - custom.
  • TicketBlanks.TicketBlank.BlankID - Blank ID. Data type - string.
  • TicketBlanks.TicketBlank.Format - Format / encoding of an itinerary receipt. Data type - enumeration. Possible values are similar to the BlankPrefferredType parameter from booking request.
  • TicketBlanks.TicketBlank.TBlank - Itinerary receipt in the format specified in the Format element. Content is encoded in base64, except when Format = JSON. Data type - string.
  • TicketBlanks.TicketBlank.QRCodeFormat - QR code format. File extension (without a dot). Data type - string.
  • TicketBlanks.TicketBlank.QRCode - QR code with the information on Base64 order. Data type - string.

For UIT in the TicketBlank.TBlank parameter for electronic documents, a string with an object in JSON format will be returned. Information from this object should be used to generate a visual representation of the blank. Description of the object format:

  • StationFrom - Departure station. Data type - custom.
  • StationFrom.Code - Departure station code. Data type - string.
  • StationFrom.Name - Name of the departure station. Data type - string.
  • StationTo - Arrival Station. Data type - custom.
  • StationTo.Code - Station arrival code. Data type - string.
  • StationTo.Name - Name of the arrival station. Data type - string.
  • PayDate - Date of payment. Data type - string.
  • DateTimeFrom - Departure date. Data type - string.
  • DateTimeTo - Date of arrival. Data type - string.
  • Train - Train. Data type - string.
  • TrainArrival - Train on arrival. Data type - string.
  • Car - Car. Data type - string.
  • Place - Place. Data type - string.
  • Services - Services. Data type - string.
  • UID - The unique document ID. Data type - string.
  • OrderNumber - Order number. Data type - string.
  • InsurenceString - Insurance. Data type - string.
  • CostString - Cost. Data type - string.
  • Fiscal - Fiscal information. Data type - custom.
  • Fiscal.ID - Data type - string.
  • Fiscal.RRO - Data type - string.
  • Fiscal.Server - Data type - string.
  • Fiscal.TIN - Data type - string.
  • Terminal - Terminal. Data type - string.
Sample Response (XML)
 <GetTicketBlankResponse>
    <GetTicketBlankResult>
        <RequestID>12824</RequestID>
        <ResponseBody>
            <TicketBlanks>
                <TicketBlank>
                    <BlankID>000B38C1-02C8FDD0-0001</BlankID>
                    <Format>json</Format>
                    <TBlank>{"PassengerName":"Василий Пупкин",
                          "StationFrom":{"Code":"2210800","Name":"ЗАПОРОЖЬЕ 1"},
                          "StationTo":{"Code":"2200001","Name":"КИЕВ-ПАССАЖИРСКИЙ"},
                          "PayDate":"11.07.2014 11:01",
                          "DateTimeFrom":"20.07.2014 19:27",
                          "DateTimeTo":"21.07.2014 05:58",
                          "Train":"072 ПБ ЗВИЧ НШ",
                          "TrainArrival":"071*",
                          "Car":"12 Л/Д ПРИДН",
                          "Place":"009 Повний",
                          "Services":null,
                          "UID":"000B38C1-02C8-FDD0-0001",
                          "OrderNumber":"#П59-Е1-0617052-1107",
                          "InsurenceString":"#СТР.ВІД Н/В 6000НЕОП.МІН. ПрАТ\"УСД\",ДНIПР-СЬК,В.ПАТОРЖИНСЬКОГО,19,ОФ.16, Т7134042",
                          "CostString":"ВАРТ=459,76ГРН(КВ.226,50+ПЛ.140,79+ПДВ.75,71+СТР.5,51+КЗБ.3,75)",
                          "Fiscal":{"ID":"ФК:256323","RRO":"ФН:3453456456","Server":"ЗН:ЗТ00000004","TIN":"ПН:456456456456"},
                          "Terminal":"16"}</TBlank>
                    <QRCodeFormat>JPG</QRCodeFormat>
                    <QRCode>R0lGODdh1QDVAHcAACwAAAAA1QDVAIcAAAD///8AADAAADAAADEAAAoAAAoAADAAAAoAAAr///wAAAIAAACZq/0Y8EAaCpwAAAAY8Fxe6HYZF0wVAAgAAAAY8MQAAAIY8MAVAAgAAAAAAAAY8IC4V1i4WS0BGi+FAA8AAAABGi8AAAAAAAEAAAAY8JC4WIgBGi8BAACKCPBQqyBGi8AAwAAAAC4n8u4n1ABAgUAAAAAAACJMEAAAAAAACgAAAAAAAAY8PyJMGgY9Ki4n60AAAAAAAAAAAAY9BQAACgAAACJMEAAAAA4AAAFEreJMEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gAAH+XAACassAAAH+aAMSaAVAACACaAACXMxAAA/gAAH+XAACassAAAH+aAMSaAVAAFikY8uQACACaAACXAEAAA/gAAH+XAACassAAAH+aAMSaAVAAHIMY8x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eZNhyY/z6JoZyZyBFZCx+I9vg3s12Zk9/1iPi1mS2wl6JZiOLHd6uSdlGYWOy4eN3Jme5Dlp+dhdlHid6fmQfUacZJmfQll+7Wlw5AiWhceIu4lXyLmbs7l08pSUmueXAOqaFieVuYmdm9d6AAShxCehxSmdyeWfCFp/yLloHGqgHkqhIDp0CzqUDdqXf0ZsH6SJAgZ5+bmWk9lpFzmNbNeYmkmZU6iQaFiQD9R37ed7A3dCVEmI8WibNDiKqYh3VxmJsqmRrEd4Kap2z2ZZU0puoaedV1qbyXeLOVSJ7oaW8oml0TmC/Umm3PiVP9dL8rilrNmHd+imAShTOzlFFYibPxpHgFql67eE+HkymeindbiLKAqIg/+KlIWqpH3KYor5l9nIhw8HgQeWodnXk3XVdpS6cShonaupknfmhgJYddMZnG13n2fqiQfJmgHKnhmaqrBpmYvqh64qnqUqYkHYgpiKpDe6qV/IhIZoofZppj7jVMboYcLqitlpnqAJipXpel34n0/KpSKFf0Gac8qahNH6hDVJo5jae8yaqFFZrYR5azVaZDpKkcD1dafao005ctoqYZlamuj6mqjKa843q6gJpmvFjNfqru8Ir3ximi21ntAasPcKaXR4o4pnns2asN9pmxhnjZXaU01qkmnKpkNGpeqaV8YJf4/6rmNqp8+navBpgROmsCaLesIpqhprjrzZiMSwNLL/WrIFe7IY2H2F9qeMhrNWNpwqSJKmWItFeHd354QtW7FMWpADCbQ2t67p6qM4Nh1Ca4AQ+5nR6LACmYP92nNY27T22o1/aLT4irQkCJkFuJ+faqRh2qGnFac2y6q82q6h6YrOmUXESG5RJ45ZaakOGqHxabZyW5eq9rdhu3j8aZC6eo/
                     6aI9560GLS6tYA3avWl2B97Mhi35uabl6gbmP+zzAOrWT6mxKK4NXFBAAOw==</QRCode>
                </TicketBlank>
            </TicketBlanks>
        </ResponseBody>
    </GetTicketBlankResult>
</GetTicketBlankResponse>