Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics

We are in process of changing OneSpan SDK to OneSpan REST and have different operations like AddDocument, PackageCreateAndSend, UpdateDocument etc.

We are in process of changing OneSpan SDK to OneSpan REST
 

Replies Created

Reply to: Package Create

0 votes

Could you able to provide me sample request for that please?

you mean these 4 fields?
 "topOffset": 0,
 "width": 0,
 "height": 0,
 "leftOffset": 0

 

 

Thank you


Reply to: Package Create

0 votes

Hi
 

I tried with below request still the package status not changed. Tried changing different value but status is always showing as draft.

Are we missing something in request ? Please advice!
 

PackageId: JsiNVizHhGvzUIlO1BgQ-MO2smk=

DocumentAdd Request:
{
  "name": "TestVDocument",
  "description": "Test Description.",
  "index": 0,
  "id": "TestDocument",
  "approvals": [
    {
      "fields": [
        {
          "name": "UserSign",
          "type": "SIGNATURE",
          "extractAnchor": {
            "topOffset": 200,
            "characterIndex": 0,
            "anchorPoint": "TOPLEFT",
            "index": 0,
            "text": "TestV2",
            "width": 200,
            "height": 50,
            "leftOffset": 0
          },
          "extract": false,
          "subtype": "FULLNAME"
        },
        {
          "value": "",
          "name": "",
          "type": "INPUT",
          "extractAnchor": {
            "topOffset": 0,
            "characterIndex": 0,
            "anchorPoint": "TOPLEFT",
            "index": 0,
            "text": "TestV2",
            "width": 200,
            "height": 50,
            "leftOffset": 200
          },
          "extract": false,
          "subtype": "TEXTFIELD"
        }
      ],
      "role": "7Z32CGG_V11"
    }
  ],
  "isConsent": false
}

 

Thanks in advance


Reply to: Package Create

0 votes

I tried to update the status
but not changing status to 'sent', still showing as draft.
below is also an other package example with same issue
RH3cgzmxEG2AUPn2EDUGf2SZyAg=

Could you try your end to change the status using REST API?

Thank you


Subscriptions

Topics Replies Freshness Views Users

We are in process of changing OneSpan SDK to OneSpan REST and have different operations like AddDocument, PackageCreateAndSend, UpdateDocument etc.

1 10 months ago 25
Profile picture for user Duo_Liang

We are in process of changing OneSpan SDK to OneSpan REST
 

1 10 months ago 27
Profile picture for user Duo_Liang

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.