InsuranceCentral Mobile API Host

<back to all web services

GetClientPolicies

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetClientPolicies HTTP/1.1 
Host: 109.110.238.5 
Content-Type: application/json
Content-Length: length

{"client_code":"String","app_type":"String","app_version":"String","session_id":"String","offset":"String","app_lang":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"policies":[{"policy_id":"String","policy_number":"String","policy_type":"String","date_effective":"String","date_expiry":"String","amount_gross":0,"endorsment_type":"String","account_code":"String","client_code":"String"}],"policy_id_motor":"String","response_code":0,"response_message":"String"}