Account
I am a
Developer
Product(s)
Earned badges
Achievement: Latest Unlocked
Preferences
Replies
Topics Started
Topic Started
Topics |
---|
Hi Team,
Could you help me with API/JSON format to draw on a signature field .
Appreciate your help.
Thanks,
Ramki
|
Replies Created
Reply to: Rest API to draw signature
Wednesday, July 31, 2019 at 05:42pmHi Duo Liang,
Thanks fro the reply.
I had done as suggested. But system is returning below exception
"{"code":400,"messageKey":"error.validation.validateApproval.noRolesOnApproval","name":"Validation Error","message":"No role specified as part of this approval.","parameters":{"approvalDataName":"signature1"}}"
I am passing below data in JSON
{
"roles": [
{
"id": "Sender1",
"type": "SIGNER",
"signers": [
{
"firstName": "Ramki",
"lastName": "SV",
"email": "[email protected]",
"id": "Sender1"
}
]
}
],
"documents": [
{
"fields": [
{
"value": "Ramki",
"name": "first_name"
},
{
"value": SV",
"name": "last_name"
},
{
"value": "Abbot street",
"name": "address"
},
{
"value": "sydney",
"name": "city"
},
{
"value": "2120",
"name": "zip"
},
{
"value": "NSW",
"name": "state"
},
{
"value": "AUSTRALIA",
"name": "country"
},
{
"value": "4101412331",
"name": "phone_number"
},
{
"value": "[email protected]",
"name": "email"
},
{
"value": "KRMICT",
"name": "company"
},
{
"value": "234",
"name": "policy_number"
}
],
"name": "Sample Contract",
"id": "contract",
"extract": true
}
],
"approvals": [
{
"fields": [
{
"type": "SIGNATURE",
"subtype": "CAPTURE",
"height": 37,
"left": 211,
"top": 140,
"width": 165,
"page": 0
}
],
"role": "Signer1",
"id": "signature1"
}
],
"name": "Sample",
"type": "PACKAGE",
"status": "SENT"
}
Could you please let me know if i am missing anything.
Thanks,
Ramki
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
Hi Team,
Could you help me with API/JSON format to draw on a signature field .
Appreciate your help.
Thanks,
Ramki
|
3 | 4 years 9 months ago | 177 |
Subscriptions Release Notes
This user is not subscribed to any release notes.