DocuSign文本字段在不应该

时间:2016-11-11 16:39:12

标签: json docusignapi

我有一个自定义合约,我们已经设置了一些文本字段,但由于原因不是立即知道,这些字段的文本值已加入 - 我改变了一个字段,另一个字段也改变了(你可以看到此视频中的行为here)。每个实例都使用不同的标签(这些标签在上游发送的PDF文件中设置,作为标签#EREM {NUM})。我在这些文本字段的JSON请求中遗漏了什么吗?

传输的JSON请求发布在下面。

{
"status": "sent",
"emailSubject": "DocuSign API - Signature Request on Document",
"documents": [{
    "documentId": "1",
    "name": "Signed Contract 2016-11-11 16:27:34"
}],
"recipients": {
    "signers": [{
        "email": "XXX@YYY.com",
        "name": "Sales Agent",
        "recipientId": "1",
        "routingOrder": "1",
        "tabs": {
            "signHereTabs": [{
                "anchorString": "#ESIG0",
                "anchorXOffset": 10,
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels"
            }],
            "initialHereTabs": [{
                "anchorString": "#EINIT0",
                "anchorXOffset": "10",
                "anchorYOffset": "45",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels"
            }],
            "checkBoxTabs": [{
                "anchorString": "#ECHK00",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK00"
            }, {
                "anchorString": "#ECHK01",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK01"
            }, {
                "anchorString": "#ECHK02",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK02"
            }, {
                "anchorString": "#ECHK03",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK03"
            }, {
                "anchorString": "#ECHK04",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK04"
            }, {
                "anchorString": "#ECHK05",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK05"
            }, {
                "anchorString": "#ECHK06",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK06"
            }, {
                "anchorString": "#ECHK07",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK07"
            }, {
                "anchorString": "#ECHK08",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK08"
            }, {
                "anchorString": "#ECHK09",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK09"
            }, {
                "anchorString": "#ECHK10",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK10"
            }, {
                "anchorString": "#ECHK11",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK11"
            }],
            "dateSignedTabs": [{
                "anchorString": "#EDATE_0",
                "anchorXOffset": "20",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels"
            }],
            "textTabs": [],
            "radioGroupTabs": [{
                "documentId": "1",
                "groupName": "Radio Group 0",
                "radios": []
            }]
        }
    }, {
        "email": "JZ@REDFZ.com",
        "name": "Cameron Kilgore",
        "recipientId": "2",
        "routingOrder": "2",
        "tabs": {
            "signHereTabs": [{
                "anchorString": "#ESIG_1",
                "anchorXOffset": 10,
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "false",
                "anchorUnits": "pixels"
            }],
            "initialHereTabs": [{
                "anchorString": "#EINIT_1",
                "anchorXOffset": "10",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "false",
                "anchorUnits": "pixels"
            }],
            "checkBoxTabs": [{
                "anchorString": "#ECHK00",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK00"
            }, {
                "anchorString": "#ECHK01",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK01"
            }, {
                "anchorString": "#ECHK02",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK02"
            }, {
                "anchorString": "#ECHK03",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK03"
            }, {
                "anchorString": "#ECHK04",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK04"
            }, {
                "anchorString": "#ECHK05",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK05"
            }, {
                "anchorString": "#ECHK06",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK06"
            }, {
                "anchorString": "#ECHK07",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK07"
            }, {
                "anchorString": "#ECHK08",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK08"
            }, {
                "anchorString": "#ECHK09",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK09"
            }, {
                "anchorString": "#ECHK10",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK10"
            }, {
                "anchorString": "#ECHK11",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK11"
            }],
            "dateSignedTabs": [{
                "anchorString": "#EDATE_1",
                "anchorXOffset": "10",
                "anchorYOffset": "-5",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels"
            }],
            "textTabs": [{
                "anchorString": "#EREM0",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "false",
                "anchorUnits": "pixels",
                "locked": "false",
                "value": "",
                "required": "false",
                "width": 250
            }, {
                "anchorString": "#EREM1",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "false",
                "anchorUnits": "pixels",
                "locked": "false",
                "required": "false",
                "value": "",
                "width": 250
            }],
            "radioGroupTabs": [{
                "documentId": "1",
                "groupName": "Radio Group 1",
                "radios": [{
                    "anchorString": "#RADIO_1_YES_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_1_YES_OWNER",
                    "tabLabel": "Explanation0"
                }, {
                    "anchorString": "#RADIO_1_NO_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_1_NO_OWNER"
                }]
            }, {
                "documentId": "1",
                "groupName": "Radio Group 2",
                "radios": [{
                    "anchorString": "#RADIO_2_YES_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_2_YES_OWNER"
                }, {
                    "anchorString": "#RADIO_2_NO_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_2_NO_OWNER"
                }]
            }, {
                "documentId": "1",
                "groupName": "Radio Group 3",
                "radios": [{
                    "anchorString": "#RADIO_3_YES_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_3_YES_OWNER"
                }, {
                    "anchorString": "#RADIO_3_NO_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_3_NO_OWNER"
                }]
            }, {
                "documentId": "1",
                "groupName": "Radio Group 4",
                "radios": [{
                    "anchorString": "#RADIO_4_YES_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_4_YES_OWNER"
                }, {
                    "anchorString": "#RADIO_4_NO_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_4_NO_OWNER"
                }]
            }, {
                "documentId": "1",
                "groupName": "Radio Group 5",
                "radios": [{
                    "anchorString": "#RADIO_5_YES_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_5_YES_OWNER"
                }, {
                    "anchorString": "#RADIO_5_NO_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_5_NO_OWNER"
                }]
            }, {
                "documentId": "1",
                "groupName": "Radio Group 6",
                "radios": [{
                    "anchorString": "#RADIO_6_YES_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_6_YES_OWNER"
                }, {
                    "anchorString": "#RADIO_6_NO_OWNER_1",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_6_NO_OWNER"
                }]
            }]
        }
    }, {
        "email": "XY@ZZY.com",
        "name": "Cameron Kilgore",
        "recipientId": "3",
        "routingOrder": "3",
        "tabs": {
            "signHereTabs": [{
                "anchorString": "#ESIG_2",
                "anchorXOffset": 10,
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "false",
                "anchorUnits": "pixels"
            }],
            "initialHereTabs": [{
                "anchorString": "#EINIT_2",
                "anchorXOffset": "10",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels"
            }],
            "checkBoxTabs": [{
                "anchorString": "#ECHK12",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK12"
            }, {
                "anchorString": "#ECHK13",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK13"
            }, {
                "anchorString": "#ECHK14",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK14"
            }, {
                "anchorString": "#ECHK15",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK15"
            }, {
                "anchorString": "#ECHK16",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK16"
            }, {
                "anchorString": "#ECHK17",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK17"
            }, {
                "anchorString": "#ECHK18",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK18"
            }, {
                "anchorString": "#ECHK19",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK19"
            }, {
                "anchorString": "#ECHK20",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK20"
            }, {
                "anchorString": "#ECHK21",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK21"
            }, {
                "anchorString": "#ECHK22",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK22"
            }, {
                "anchorString": "#ECHK23",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels",
                "tabLabel": "ECHK23"
            }],
            "dateSignedTabs": [{
                "anchorString": "#EDATE_2",
                "anchorXOffset": "10",
                "anchorYOffset": "-5",
                "anchorIgnoreIfNotPresent": "true",
                "anchorUnits": "pixels"
            }],
            "textTabs": [{
                "anchorString": "#EREM2",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "false",
                "anchorUnits": "pixels",
                "locked": "false",
                "required": "false",
                "width": 250
            }, {
                "anchorString": "#EREM3",
                "anchorXOffset": "0",
                "anchorYOffset": "0",
                "anchorIgnoreIfNotPresent": "false",
                "anchorUnits": "pixels",
                "locked": "false",
                "required": "false",
                "width": 250
            }],
            "radioGroupTabs": [{
                "documentId": "1",
                "groupName": "Radio Group 1",
                "radios": [{
                    "anchorString": "#RADIO_1_YES_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_1_YES_OWNER",
                    "tabLabel": "Explanation2"
                }, {
                    "anchorString": "#RADIO_1_NO_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_1_NO_OWNER"
                }]
            }, {
                "documentId": "1",
                "groupName": "Radio Group 2",
                "radios": [{
                    "anchorString": "#RADIO_2_YES_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_2_YES_OWNER"
                }, {
                    "anchorString": "#RADIO_2_NO_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_2_NO_OWNER"
                }]
            }, {
                "documentId": "1",
                "groupName": "Radio Group 3",
                "radios": [{
                    "anchorString": "#RADIO_3_YES_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_3_YES_OWNER"
                }, {
                    "anchorString": "#RADIO_3_NO_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_3_NO_OWNER"
                }]
            }, {
                "documentId": "1",
                "groupName": "Radio Group 4",
                "radios": [{
                    "anchorString": "#RADIO_4_YES_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_4_YES_OWNER"
                }, {
                    "anchorString": "#RADIO_4_NO_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_4_NO_OWNER"
                }]
            }, {
                "documentId": "1",
                "groupName": "Radio Group 5",
                "radios": [{
                    "anchorString": "#RADIO_5_YES_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_5_YES_OWNER"
                }, {
                    "anchorString": "#RADIO_5_NO_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_5_NO_OWNER"
                }]
            }, {
                "documentId": "1",
                "groupName": "Radio Group 6",
                "radios": [{
                    "anchorString": "#RADIO_6_YES_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_6_YES_OWNER"
                }, {
                    "anchorString": "#RADIO_6_NO_OWNER_2",
                    "anchorIgnoreIfNotPresent": "true",
                    "value": "RADIO_6_NO_OWNER"
                }]
            }]
        }
    }]
}

}

1 个答案:

答案 0 :(得分:1)

设置标签' tabId字段具有唯一值,可以阻止一个标签的值用于所有标签。