У меня проблема с тем, что мой запрос на создание вкладок приводит к тому, что повторяющиеся поля накладываются друг на друга. Я проверял это в своем приложении и в Почтальоне.
Примечание - Получатель является подписывающей группой. Но если у меня есть только один или несколько пользователей в группе, поля дублируются.
Конечная точка сообщения: https://demo.docusign.net/restapi/v2.1/accounts/ {Аккаунт} / конверты / {конверт} / получатели / 5 / вкладки
Мой запрос:
{
"checkboxTabs": [
{
"documentId": "640",
"name": "RE-WORK",
"pageNumber": "1",
"tabLabel": "Send to Salesperson",
"xPosition": "163",
"yPosition": "743"
}
],
"initialHereTabs": [
{
"documentId": "640",
"pageNumber": "1",
"xPosition": "535",
"yPosition": "705"
}
],
"textTabs": [
{
"anchorString": "TOTAL SALE PRICE:",
"anchorUnits": "pixels",
"anchorXOffset": "-5",
"anchorYOffset": "80",
"documentId": "637",
"locked": "true",
"pageNumber": "1"
},
{
"anchorString": "TOTAL SALE PRICE:",
"anchorUnits": "pixels",
"anchorXOffset": "-5",
"anchorYOffset": "80",
"documentId": "640",
"locked": "true",
"pageNumber": "1",
"value": "Send back to Salesperson"
}
],
"dateSignedTabs": [
{
"anchorString": "ACCEPTED BY DEALER",
"anchorUnits": "pixels",
"anchorXOffset": "100",
"anchorYOffset": "35",
"documentId": "636",
"pageNumber": "1"
}
]
}
Ответ:
{
"initialHereTabs": [
{
"scaleValue": "0",
"optional": "false",
"documentId": "640",
"recipientId": "5",
"pageNumber": "1",
"xPosition": "535",
"yPosition": "705",
"width": "0",
"height": "0",
"tabId": "da69d19b-6f70-4d44-8fb3-a4953d60cc8b",
"tabType": "initialhere"
},
{
"scaleValue": "0",
"optional": "false",
"documentId": "640",
"recipientId": "5",
"pageNumber": "1",
"xPosition": "535",
"yPosition": "705",
"width": "0",
"height": "0",
"tabId": "3b1ad0cc-bc82-49ca-b334-acafec6bc48f",
"tabType": "initialhere"
}
],
"dateSignedTabs": [
{
"value": "",
"font": "arial",
"bold": "false",
"italic": "false",
"underline": "false",
"fontColor": "black",
"fontSize": "size7",
"localePolicy": {},
"documentId": "636",
"recipientId": "5",
"pageNumber": "1",
"xPosition": "436",
"yPosition": "730",
"width": "0",
"height": "0",
"anchorString": "ACCEPTED BY DEALER",
"anchorXOffset": "100",
"anchorYOffset": "35",
"anchorUnits": "pixels",
"anchorCaseSensitive": "false",
"anchorMatchWholeWord": "true",
"anchorHorizontalAlignment": "left",
"anchorTabProcessorVersion": "v1_3",
"tabId": "adad3065-95d5-43be-ad0f-022d44585f87",
"tabType": "datesigned"
}
],
"textTabs": [
{
"isPaymentAmount": "false",
"shared": "false",
"requireInitialOnSharedChange": "false",
"requireAll": "false",
"value": "",
"required": "true",
"locked": "true",
"concealValueOnDocument": "false",
"disableAutoSize": "false",
"maxLength": "0",
"font": "arial",
"bold": "false",
"italic": "false",
"underline": "false",
"fontColor": "black",
"fontSize": "size7",
"localePolicy": {},
"documentId": "640",
"recipientId": "5",
"pageNumber": "1",
"xPosition": "34",
"yPosition": "744",
"width": "0",
"height": "0",
"anchorString": "TOTAL SALE PRICE:",
"anchorXOffset": "-5",
"anchorYOffset": "80",
"anchorUnits": "pixels",
"anchorCaseSensitive": "false",
"anchorMatchWholeWord": "true",
"anchorHorizontalAlignment": "left",
"anchorTabProcessorVersion": "v1_3",
"tabId": "5e3503a6-52da-44c9-80dc-9d3c046d7e54",
"tabType": "text"
},
{
"isPaymentAmount": "false",
"shared": "false",
"requireInitialOnSharedChange": "false",
"requireAll": "false",
"value": "Send back to Salesperson",
"required": "true",
"locked": "true",
"concealValueOnDocument": "false",
"disableAutoSize": "false",
"maxLength": "0",
"font": "arial",
"bold": "false",
"italic": "false",
"underline": "false",
"fontColor": "black",
"fontSize": "size7",
"localePolicy": {},
"documentId": "640",
"recipientId": "5",
"pageNumber": "1",
"xPosition": "34",
"yPosition": "744",
"width": "0",
"height": "0",
"anchorString": "TOTAL SALE PRICE:",
"anchorXOffset": "-5",
"anchorYOffset": "80",
"anchorUnits": "pixels",
"anchorCaseSensitive": "false",
"anchorMatchWholeWord": "true",
"anchorHorizontalAlignment": "left",
"anchorTabProcessorVersion": "v1_3",
"tabId": "c019a6f7-4ec2-45e6-8822-4337fc449868",
"tabType": "text"
},
{
"isPaymentAmount": "false",
"shared": "false",
"requireInitialOnSharedChange": "false",
"requireAll": "false",
"value": "",
"required": "true",
"locked": "true",
"concealValueOnDocument": "false",
"disableAutoSize": "false",
"maxLength": "0",
"font": "arial",
"bold": "false",
"italic": "false",
"underline": "false",
"fontColor": "black",
"fontSize": "size7",
"localePolicy": {},
"documentId": "637",
"recipientId": "5",
"pageNumber": "1",
"xPosition": "34",
"yPosition": "744",
"width": "0",
"height": "0",
"anchorString": "TOTAL SALE PRICE:",
"anchorXOffset": "-5",
"anchorYOffset": "80",
"anchorUnits": "pixels",
"anchorCaseSensitive": "false",
"anchorMatchWholeWord": "true",
"anchorHorizontalAlignment": "left",
"anchorTabProcessorVersion": "v1_3",
"tabId": "a0c3ecb5-903b-45e7-8092-007bc9af71f7",
"tabType": "text"
},
{
"isPaymentAmount": "false",
"shared": "false",
"requireInitialOnSharedChange": "false",
"requireAll": "false",
"value": "Send back to Salesperson",
"required": "true",
"locked": "true",
"concealValueOnDocument": "false",
"disableAutoSize": "false",
"maxLength": "0",
"font": "arial",
"bold": "false",
"italic": "false",
"underline": "false",
"fontColor": "black",
"fontSize": "size7",
"localePolicy": {},
"documentId": "637",
"recipientId": "5",
"pageNumber": "1",
"xPosition": "34",
"yPosition": "744",
"width": "0",
"height": "0",
"anchorString": "TOTAL SALE PRICE:",
"anchorXOffset": "-5",
"anchorYOffset": "80",
"anchorUnits": "pixels",
"anchorCaseSensitive": "false",
"anchorMatchWholeWord": "true",
"anchorHorizontalAlignment": "left",
"anchorTabProcessorVersion": "v1_3",
"tabId": "7f90abbe-ab5a-405f-bd0b-8500306d8307",
"tabType": "text"
}
],
"checkboxTabs": [
{
"name": "RE-WORK",
"tabLabel": "Send to Salesperson",
"selected": "false",
"shared": "false",
"requireInitialOnSharedChange": "false",
"font": "arial",
"bold": "false",
"italic": "false",
"underline": "false",
"fontColor": "black",
"fontSize": "size7",
"required": "true",
"locked": "false",
"documentId": "640",
"recipientId": "5",
"pageNumber": "1",
"xPosition": "163",
"yPosition": "743",
"width": "0",
"height": "0",
"tabId": "cad7380a-177c-49d1-bed7-08de88beb2c8",
"tabType": "checkbox"
},
{
"name": "RE-WORK",
"tabLabel": "Send to Salesperson",
"selected": "false",
"shared": "false",
"requireInitialOnSharedChange": "false",
"font": "arial",
"bold": "false",
"italic": "false",
"underline": "false",
"fontColor": "black",
"fontSize": "size7",
"required": "true",
"locked": "false",
"documentId": "640",
"recipientId": "5",
"pageNumber": "1",
"xPosition": "163",
"yPosition": "743",
"width": "0",
"height": "0",
"tabId": "473c8c1c-e6bf-4f8f-8fea-047248fa7633",
"tabType": "checkbox"
}
]
}