User Tools

Site Tools


ors-soap-api:public:flightinfo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ors-soap-api:public:flightinfo [2015/04/23 15:44]
admin [Return Values]
ors-soap-api:public:flightinfo [2017/12/13 16:02]
admin [Examples]
Line 149: Line 149:
     * ''​mid''​ : message ID     * ''​mid''​ : message ID
     * ''​txt''​ : message text     * ''​txt''​ : message text
 +    * ''​status''​ : status indicator (1 - flight data available; 0 - no flight data)
   * ''​times''​ (arrary) : flight times in array format   * ''​times''​ (arrary) : flight times in array format
     * ''​id''​ : sequence number     * ''​id''​ : sequence number
Line 183: Line 184:
 $flight = $soapClient->​orsxml_pauschal_api_call( '​flightInfo',​ $searchParams,​ $headerData ); $flight = $soapClient->​orsxml_pauschal_api_call( '​flightInfo',​ $searchParams,​ $headerData );
 </​code>​ </​code>​
 +
 +===== JSON Examples =====
 +
 +@see [[ors-soap-api:​public:​json_api]] how to post request.
 +
 +<code php>
 +{
 +  "​requestType"​ : "​info",​
 +  "​action":​ "​flightInfo",​
 +  "​search":​ {
 +    "​hsc":​ "​X71P0006A00007:​0000000100000019400C8348D11",​
 +    "​toc":​ "​5VF",​
 +    "​ahc":​ "​MUC",​
 +    "​zhc":​ "​AYT",​
 +    "​epc":​ "​2"​
 +  },
 +  "​header":​ {
 +    "​lang":​ "​[lang]",​
 +    "​usr"​ : "​[usr]",​
 +    "​pass":​ "​[pass]",​
 +    "​agid":​ "​[agid]"​
 +  }
 +}
 +</​code>​
 +
ors-soap-api/public/flightinfo.txt ยท Last modified: 2017/12/13 16:02 by admin