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:json_api [2017/12/13 16:04] admin [PHP Example] |
ors-soap-api:public:json_api [2023/03/08 12:42] (current) admin |
||
---|---|---|---|
Line 29: | Line 29: | ||
"pass":"[password]", | "pass":"[password]", | ||
"agid":"[agency-id]" | "agid":"[agency-id]" | ||
+ | "api-key":"[your-api-key]" | ||
} | } | ||
} | } | ||
Line 95: | Line 96: | ||
"pass":"[password]", | "pass":"[password]", | ||
"agid":"[agency-id]" | "agid":"[agency-id]" | ||
+ | "api-key":"[your-api-key]" | ||
} | } | ||
} | } | ||
Line 106: | Line 108: | ||
"errorNr":2001, | "errorNr":2001, | ||
"error":{"msg":"Invalid (or missing) action"} | "error":{"msg":"Invalid (or missing) action"} | ||
+ | "rqid" : "request-id" | ||
} | } | ||
</code> | </code> | ||
On **success** you will get a JSON string which is the same structure as you would get with SOAP requests. Please check [[soap_calls]] for details. | On **success** you will get a JSON string which is the same structure as you would get with SOAP requests. Please check [[soap_calls]] for details. |