RESTを使用してSalesforce-DocuSignインテグレーションを作成していて、エンベロープをカスタムオブジェクトに関連付ける必要があります。 エンベロープを他のオブジェクトに関連付ける方法を教えてもらえますか? 以下のリソースを使用する必要がありますか? https://docs.docusign.com/esign/restapi/Envelopes/EnvelopeCustomFields/ 実際には、カスタムフィールドを持つjsonに続いてエンベロープを作成しようとしました。私はtextCustomFieldsのnameプロパティについてはわかりませんが、今私はDocuSignコンソールで作成したエンベロープカスタムフィールドに対応する値を持っています。 「EnevelopeExternalSourceId」または「DSFSSourceObjectId」である必要がありますか? 要求jsonで渡された値が入力されていません。 正しい方向に向けることができますか? DocuSignログには次の情報が表示されます: オブジェクトID、値: 検索クエリを作成:。?My_Custom_Object__c(ID) オブジェクトが見つからないを返すすべてのフィールドでは{作成された}見つけるDocuSign REST-送信されたエンベロープがDocuSignのステータスリストに表示されない
誰もがRESTのためにこれを行って、私はない、単一の残りの例では、いくつかのSOAPの例を見つけ
{
"textCustomFields": [{
"value": "a54c00000000iwpAAA",
"show": "true",
"required": "true",
"name": "GCApplicationID",
"fieldId": null
}],
"status": "created",
"recipients": {
"signers": [{
"tabs": {
"signHereTabs": [{
"yPosition": null,
"xPosition": null,
"width": "100",
"TabLabel": null,
"tabid": null,
"ScaleValue": null,
"required": "TRUE",
"RecipientId": "1",
"pageNumber": "1",
"optional": "false",
"anchorUnits": "pixels",
"anchorString": "SIGNHERE",
"anchorIgnoreIfNotPresent": "true"
}],
"dateSignedTabs": [{
"width": "100",
"TabLabel": null,
"tabid": null,
"ScaleValue": null,
"required": "TRUE",
"RecipientId": "1",
"pageNumber": "1",
"DocumentId": "1",
"anchorYoffset": null,
"anchorXOffset": null,
"anchorUnits": "pixels",
"anchorString": "DATESIGNED",
"anchorIgnoreIfNotPresent": "true"
}]
},
"routingOrder": null,
"rolename": null,
"recipientId": "1",
"name": "Some Name",
"email": "[email protected]",
"clientUserId": null
}, {
"tabs": {
"signHereTabs": [{
"yPosition": null,
"xPosition": null,
"width": "100",
"TabLabel": null,
"tabid": null,
"ScaleValue": null,
"required": "TRUE",
"RecipientId": "1",
"pageNumber": "1",
"optional": "false",
"Name": null,
"fontSize": "Size12",
"font": "Calibri",
"DocumentId": "1",
"anchorYoffset": null,
"anchorXOffset": null,
"anchorUnits": "pixels",
"anchorString": "GUARANTOR2",
"anchorIgnoreIfNotPresent": "true"
}],
"initialHereTabs": [{
"yPosition": null,
"xPosition": null,
"width": "100",
"TabLabel": null,
"tabid": null,
"ScaleValue": null,
"required": "TRUE",
"RequireAll": "FALSE",
"RecipientId": "1",
"pageNumber": "1",
"optional": "false",
"Name": null,
"fontSize": "Size12",
"font": "Calibri",
"documentId": "1",
"anchorYoffset": null,
"anchorXOffset": null,
"anchorUnits": "pixels",
"anchorString": "Guarantor INITIALHERE",
"anchorIgnoreIfNotPresent": "true"
}],
"dateSignedTabs": [{
"yPosition": null,
"xPosition": null,
"width": "100",
"TabLabel": null,
"tabid": null,
"ScaleValue": null,
"required": "TRUE",
"RecipientId": "1",
"pageNumber": "1",
"Name": null,
"fontSize": "Size12",
"font": "Calibri",
"DocumentId": "1",
"anchorYoffset": null,
"anchorXOffset": null,
"anchorUnits": "pixels",
"anchorString": "G2DATE",
"anchorIgnoreIfNotPresent": "true"
}]
},
"routingOrder": null,
"rolename": null,
"recipientId": "2",
"name": "Joseph Testcase",
"email": "[email protected]",
"clientUserId": null
}],
"carbonCopies": []
},
"messagelock": "false",
"emailsubject": "DocuSign:1163778-01 - M Company - Company",
"emailblurb": "Please sign attached document(s)",
"documents": [{
"name": "1163778-01 - Standard Doc Package-Dealer.docx",
"documentid": "1",
"documentBase64": null
}]
}
。
ユーザー@stohn asks:正しく変更した後、本文のJSONの構成を明確にしてください。 – GhostCat
@stohn、私はしばらく離れていました。あなたがまだJSONを探しているのなら、ここは見た目です。 { \t "ステータス": "作成"、 \t "受信者":{ \t "customFields":{ \t \t "textCustomFields":[{ \t \t \t "値": "salesforceIdはここに"、 \t \t \t "ショー": "偽"、 \t \t \t "必須": \t \t \t "名前"、 "真":、 "DSFSSourceObjectId" \t \t \t "fieldId":null \t \t} \t} } – Genius2007