我想通過Apex中的REST API調用在我的文檔的docusign中添加AccountName自定義標記。這裏是我的REST API請求主體我想通過Apex中的REST API調用在文檔docisign中添加自定義標記
{
"status" : "sent",
"customFields" : {
"textCustomFields" : [ {
"name" : "AccountName",
"show" : "true",
"required" : "False",
"value" : "Test Account",
"customFieldType" : "text"
} ]
}
}
的URL https://demo.docusign.net/restapi/v2/accounts/「ACCOUNTID」 /信封
我用錨繩/ txtAccountName1 /我已經在我的文檔添加,但它不映射到任何價值自定義字段AccountName與salesforce對象相關。對於標籤,它工作正常,它成功地將signer標籤映射到s1並將日期映射到d1,但對於此自定義字段,它不會將AccountName自定義標籤映射到錨字符串/ txtAccountName1 /。我創建了與salesforce對象相關的自定義標籤AccountName,並將錨字符串用作/ txtAccountName {r} /。我正在沙盒中編寫代碼,並使用Docusign模擬帳戶進行集成。我不確定在textCustomField中使用的名稱,我使用的值是未獲取所需結果的原因。儘管Rest API請求正在返回成功。
如何將AccountName值映射到我的文檔中定義的anchorString?