nealhennessy

User Session ID in Signer_Complete event notification

0 votes

I'm trying to figure out how I can identify which signer has signed when I receive signer_complete event. 

It sends:

{"@class":"com.silanis.esl.packages.event.ESLProcessEvent","name":"SIGNER_COMPLETE","sessionUser":"7f102e73-2cbf-414b-85b6-0814927379ef","packageId":"amAPA2Bs3mWdWEPM9S1p0aGlip8=","message":null,"documentId":null,"createdDate":"2023-11-19T00:25:57.632Z"}

I assume the sessionuser is how I can identify the signer but I'm not sure how to retrieve the guid in order to match it to what is sent in the event. Is there a GET I can use?


Approved Answer

Reply to: User Session ID in Signer_Complete event notification

0 votes

Hi Neal,

 

Thanks for your post!

The sessionUser field in the callback payload refers to the role's Signer ID. If you invoke a GET roles call:
GET /api/packages/{packageId}/roles

Then navigate through "results" array > "signers" array > "id". You should be able to match the signer who had completed signing.

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: User Session ID in Signer_Complete event notification

0 votes

Thank again Duo!


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