This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
ors-soap-api:public:flightinfo [2015/04/23 15:45] admin [Return parameters] |
ors-soap-api:public:flightinfo [2017/12/13 16:02] (current) admin [Examples] |
||
|---|---|---|---|
| Line 184: | 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> | ||
| + | |||