myeoh

Creating a Package with Signing Method

0 votes
I am trying to create a package and include the Signing Method (personalCertificateSigning) for the roles in the package. Is there a way to send this as part of the package creation and not do this as an update, ie. needing to call PUT https://sandbox.e-signlive.com/api/packages/b12db619-d3bc-454d-a8d0-2496ba2acb77/roles/mT5yYC8AYUM8/verification What would the input look like? Can you confirm whether it is on the role or on the signer level? Thanks in advance!

Reply to: Creating a Package with Signing Method

0 votes
Hi, Unfortunately, personal signing certificate cannot be assigned during the package creation call. It will have to be a separate call following the package creation.
Haris Haidary OneSpan Technical Consultant

Reply to: Creating a Package with Signing Method

0 votes
Thank you! I appreciate the clarification.

Reply to: Creating a Package with Signing Method

0 votes
Hi Haris, is there any example of doing this flow? I'm currently trying to follow https://docs.esignlive.com/content/c_integrator_s_guide/rest_api/roles.htm#Assign for a package that is in Draft status but I'm getting
{
    "messageKey": "error.notFound.signerVerificationNotFound",
    "message": "The specified signer verification cannot be found.",
    "code": 400,
    "name": "Validation Error"
}
I'm sending a PUT request with body application/JSON { "typeId":"personalCertificateSigning" }

Reply to: Creating a Package with Signing Method

0 votes
Hi Jimmy, Personal Signing Certificate is not enabled by default. Have you asked support to enable this feature on your account? [email protected]
Haris Haidary OneSpan Technical Consultant

Reply to: Creating a Package with Signing Method

0 votes
Yes, I'm able to select Personal Certificate through the web UI.

Reply to: Creating a Package with Signing Method

0 votes
Can you provide a package id for which you are experiencing this issue? Thanks,
Haris Haidary OneSpan Technical Consultant

Reply to: Creating a Package with Signing Method

0 votes
Yeah, it's TCp0ckXkcimxvOTqgLbMtAtsQJ0=.

Reply to: Creating a Package with Signing Method

0 votes
Can you verify that you are not setting the verification twice? Because if personal signing certificate is already enabled for a signer, you will get an error if you try do it again for the same signer.
Haris Haidary OneSpan Technical Consultant

Reply to: Creating a Package with Signing Method

0 votes
I created a package through the UI and didn't send it for signing and then tried to modify the signing method.

Reply to: Creating a Package with Signing Method

0 votes
I've tried the following POST to https://sandbox.esignlive.com/api/packages With JSON body
{
                "name": "test create",
                "type": "PACKAGE",
                "language": "en",
                "autocomplete": true,
                "visibility": "ACCOUNT",
                "status": "DRAFT",
                "roles": [{
                                "id": "ContractingOfficer",
                                "name": "Contracting Officer",
                                "index": "1",
                                "reassign": false,
                                "signers": [{
                                                "auth": {
                                                                "scheme": "NONE"
                                                },
                                                "delivery": {
                                                                "download": false,
                                                                "email": false
                                                },
                                                "id": "336744",
                                                "email": "[email protected]",
                                                "firstName": "Jimmy",
                                                "lastName": "Jimmy",
                                                "phone": null,
                                                "name": "myname"
                                }]
                }],
                "documents": [{
                                "name": "QA SMW_QA_2780.02",
                                "description": "QA_SMW_QA_2780.02",
                                "index": 0,
                                "extract": true,
                                "approvals": [{
                                                "name": "ContractingOfficer",
                                                "data": null,
                                                "role": "ContractingOfficer",
                                                "fields": [{
                                                                "type": "SIGNATURE",
                                                                "subtype": "FULLNAME",
                                                                "extract": false,
                                                                "left": 0,
                                                                "width": 200,
                                                                "height": 50,
                                                                "top": 0,
                                                                "page": 0,
                                                                "extractAnchor": {
                                                                                "index": 0,
                                                                                "text": "31a.",
                                                                                "width": 180,
                                                                                "height": 30,
                                                                                "anchorPoint": "TOPLEFT",
                                                                                "leftOffset": 0,
                                                                                "topOffset": 10,
                                                                                "characterIndex": 0
                                                                }
                                                },
                                                {
                                                                "type": "INPUT",
                                                                "subtype": "LABEL",
                                                                "binding": "{approval.signed}",
                                                                "extract": false,
                                                                "left": 0,
                                                                "width": 200,
                                                                "height": 50,
                                                                "top": 0,
                                                                "page": 0,
                                                                "value": "yyyy-MM-dd HH:mm:ss 'GMT'",
                                                                "extractAnchor": {
                                                                                "index": 0,
                                                                                "text": "31c.",
                                                                                "width": 80,
                                                                                "height": 30,
                                                                                "anchorPoint": "TOPLEFT",
                                                                                "leftOffset": 0,
                                                                                "topOffset": 10,
                                                                                "characterIndex": 0
                                                                }
                                                }]
                                }]
                }],
                "settings": {
                                "ceremony": {
                                                "events": {
                                                                "complete": {
                                                                                "dialog": false
                                                                }
                                                },
                                                "layout": {
                                                                "iframe": true,
                                                                "header": {
                                                                                "breadcrumbs": false,
                                                                                "globalActions": {
                                                                                                "confirm": false,
                                                                                                "download": false,
                                                                                                "hideEvidenceSummary": false,
                                                                                                "saveAsLayout": false
                                                                                },
                                                                                "globalNavigation": false,
                                                                                "sessionBar": false
                                                                }
                                                },
                                                "hideLanguageDropdown": true
                                }
                }
}
PUT to https://sandbox.esignlive.com/api/packages/2aVHI39jIec3psEGVo2Ah0RnEcI=/roles/ContractingOfficer/verification also tried url encoding https://sandbox.esignlive.com/api/packages/2aVHI39jIec3psEGVo2Ah0RnEcI%3D/roles/ContractingOfficer/verification With JSON body
{
                "typeId":"personalCertificateSigning"
}
both give
{
    "messageKey": "error.notFound.signerVerificationNotFound",
    "code": 400,
    "name": "Validation Error",
    "message": "The specified signer verification cannot be found."
}

Reply to: Creating a Package with Signing Method

0 votes
Hi Jimmy, Sorry I missed your earlier post. I will test with your payloads and get back to you tomorrow morning.
Haris Haidary OneSpan Technical Consultant

Reply to: Creating a Package with Signing Method

0 votes
Hi Jimmy, Try doing a POST instead of the PUT for the verification.
Haris Haidary OneSpan Technical Consultant

Reply to: Creating a Package with Signing Method

0 votes
Thanks Haris POST worked.

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