This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
ors-soap-api:public:info [2017/09/20 14:07] admin [Return parameters] |
ors-soap-api:public:info [2017/12/13 16:02] (current) admin [Examples] |
||
|---|---|---|---|
| Line 799: | Line 799: | ||
| $info = $soapClient->orsxml_api_call( 'info', $searchParams, $header ); | $info = $soapClient->orsxml_api_call( 'info', $searchParams, $header ); | ||
| </code> | </code> | ||
| + | |||
| + | ===== JSON Examples ===== | ||
| + | |||
| + | @see [[ors-soap-api:public:json_api]] how to post request. | ||
| + | |||
| + | <code php> | ||
| + | { | ||
| + | "requestType" : "info", | ||
| + | "action": "info", | ||
| + | "search": { | ||
| + | "vnd": "2018-01-10", | ||
| + | "toc": "PALM", | ||
| + | "gid": "15257" | ||
| + | }, | ||
| + | "header": { | ||
| + | "lang": "[lang]", | ||
| + | "usr" : "[usr]", | ||
| + | "pass": "[pass]", | ||
| + | "agid": "[agid]" | ||
| + | } | ||
| + | } | ||
| + | </code> | ||
| + | |||