Step 4 : Ornament Invoice

POST{URL}/getInvoice.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)
Form FILE Post :
documentBINARYThe Image/Photo/PDF of the Ornament Invoice (example : enctype="multipart/form-data")
Parameters : JSON format (example)       POST {URL}/getInvoice.aspx       Content-Type multipart/form-data
{
    "token" : "TOKEN-forTesting",
    "oid" : "OID-Sample-"
}

+ IMAGE/PDF FILE
Returns : JSON format (example) RESPONSE
{ 
    "result" : "OK", 
    "message" : "Invoice copy Saved!" 
}
Return Parameters (Success) : RESPONSE
FieldTypeDescription
resultStringStatus
messageStringUser-friendly message of the Status code