| POST | {URL}/getPolicy.aspx |
| Parameters : |
| Form Data in JSON format with the following values : |
| Field | Type | Description |
| token | String | The TOKEN (recd.) post Authentication |
| oid | String | The OID (recd.) post Step 2 : Ornament ID (OID) |
| |
| Parameters : JSON format (example) POST {URL}/getPolicy.aspx Content-Type application/json |
{
"token" : "TOKEN-forTesting",
"oid" : "OID-Sample-"
}
|
| |
| Returns : JSON format (example) RESPONSE |
{
"policy" : "123123",
"url" : "http://www"
}
|
| |
| Return Parameters (Success) : RESPONSE |
| Field | Type | Description |
| policy | String | Policy number issued for Insurance (16 character alphanumeric value) |
| url | String | URL of the "Certificate of Insurance" document (PDF) for printing & handover to the end-customer along with Invoice |