Step 5 : Certificate of Insurance

POST{URL}/getPolicy.aspx
Parameters :
Form Data in JSON format with the following values :
FieldTypeDescription
tokenStringThe TOKEN (recd.) post Authentication
oidStringThe 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
FieldTypeDescription
policyStringPolicy number issued for Insurance (16 character alphanumeric value)
urlStringURL of the "Certificate of Insurance" document (PDF) for printing & handover to the end-customer along with Invoice