I tried to create the Prefill tab using a POST call, but it threw an error message in Postman. I’m using the Business Pro plan on my account. Below is the request body I used for the API call.
Request body:
{
"tabs":
{
"prefillTabs": {
"textTabs": [
{
"validationPattern": "",
"xPosition": "124",
"tabId": "4d21df0f-7324-421d-xxxx-07142a62a055",
"shared": "false",
"templateLocked": "false",
"tabLabel": "Text 50eeec15-xxx-4fe3-b950-9f9f6baf1d7d",
"pageNumber": "1",
"underline": "false",
"yPosition": "182",
"requireAll": "false",
"tooltip": "prefiltab",
"tabType": "prefilltab",
"italic": "false",
"required": "false",
"templateRequired": "false",
"locked": "false",
"value": "oooo",
"height": "41",
"disableAutoSize": "false",
"validationMessage": "",
"originalValue": "oooo",
"agreementAttributeLocked": "false",
"bold": "false",
"name": "prefiltab",
"width": "306",
"concealValueOnDocument": "false",
"fontSize": "size9",
"localePolicy": {},
"documentId": "1326326",
"maxLength": "4000",
"fontColor": "black",
"font": "lucidaconsole"
}
]
}
}
}
error details:
{
"errorCode": "INVALID_REQUEST_BODY",
"message": "The request body is missing or improperly formatted. No tabs specified."
}