abhijit_davray | Posts: 22

Role_Reassign

0 votes
Hi, This is a followup question for: https://developer.esignlive.com/forums/topic/urgent-delegation-role_reassign/ In role_reassign assume that role A reassigns to role B. I have to store the email of the role A in role B. Which field would be advisable to hold this information. Can I create new field for this in the JSON. Thanks, Abhijit

harishaidary | Posts: 1812

Reply to: Role_Reassign

0 votes
You can grab the original signer information from the audit trail fairly easily. All you need to do is:
GET  https://sandbox.esignlive.com/api/packages/{packageId}/audit
And look for the "Change Signer" event, as shown below:
{
      "type": "Change Signer",
      "date-time": "2017-04-19 16:32:52",
      "target": "asdadds",
      "target-type": "Package",
      "user": "John Smith",
      "user-email": "[email protected]",
      "user-ip": "xx.xx.xxx.xxx",
      "data": "Reassigned to: [email protected](Patty Galant)"
}
You can also post an enhancement request in the Enhancement Ideas forums to have a property in the JSON payload that references the original signer.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off