Successful results
Successful responses typically includes the following structure (actual for 0.35 version):
Code Block | ||
---|---|---|
| ||
<?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:ItinReshopRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success/> <ns3:Response> ... </ns3:Response> </ns3:ItinReshopRS> </ns2:Body> </ns2:Envelope> |
For more information about received data in successful response, check RQ pages divided by operation in Reference section.
Unsuccessful results
Unsuccessful responses typically includes the following structure (actual for 0.35 version):
Code Block | ||
---|---|---|
| ||
<?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:ItinReshopRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Errors> <ns3:Error Type="101" Status="Incomplete" Owner="S7 NDC API">Adult passenger Traveler-ADT-1 must be over 12 years of age at the time of the first departure</ns3:Error> <ns3:Error Type="MSG">System validation error. Please, check your request</ns3:Error> </ns3:Errors> </ns3:ItinReshopRS> </ns2:Body> </ns2:Envelope> |
For an unsuccessful responses, API returns Errors sections in the body of the HTTP message:
- Error with technical info — Type <> "MSG", can be multiple
- Error with message for user — Type = "MSG", always single for a response
A technical error typically includes the following basic elements:
- Type — Error code
- Status — Status of operation
- Owner — Application which execution resulted with an error (S7 Agent API or other external system)
- Value — Error description
For more information about possible errors, check Errors pages divided by operation in Reference section.
Common questions
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|