Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics
Hello, I'm having a hard time structuring my JSON payload to reflect what I want to appear in my package.

Replies Created

Approved Answer

Reply to: JSON Payload Help

1 votes
Haris, That guide doesn't really help, the text anchor positioning is pretty self explanatory. I was looking for something that went over the structure and expected input of the JSON keys like roles, id, type, index, signers, name, documents, approvals, fields, type, extract, subtype, value, binding, etc. It's hard to use the rest API because you have to search through pages and pages of different examples, as opposed to having documentation with key parameters and the inputs they take. After playing with endless combinations for hours, this is what I found to work.
    "approvals": [
                      {
                        "role": "member",
                        "fields": [
                          {
                            "type": "SIGNATURE",
                            "extract": false,
                            "extractAnchor": {
                              "text": "(Signature)",
                              "index": 0,
                              "width": 200,
                              "height": 40,
                              "anchorPoint": "TOPLEFT",
                              "characterIndex": 0,
                              "leftOffset": 0,
                              "topOffset": -40
                            },
                            "left": 0,
                            "subtype": "FULLNAME",
                            "top": 0
                          },
                          {
                            "value": "TEST INFORMATION",
                            "type": "INPUT",
                            "subtype": "LABEL",
                            "extract": false,
                            "extractAnchor": {
                              "text": "Subscriber Name:",
                              "index": 0,
                              "width": 200,
                              "height": 40,
                              "anchorPoint": "TOPLEFT",
                              "characterIndex": 0,
                              "leftOffset": 0,
                              "topOffset": -40
                            }
                          }
                        ]
                      }
                    ]

Subscriptions

Topics Replies Freshness Views Users
Hello, I'm having a hard time structuring my JSON payload to reflect what I want to appear in my package.
2 6 years 9 months ago 111
Profile picture for user harishaidary

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.