0
残りのAPIを使用して、salesforceからのインサイド署名セッションを作成しています。私のエンベロープ作成のjsonは次のようなものです:Salesforce Connect経由でトラッキングされたAPIで生成されたインサイド署名エンベロープの取得
{
"documents": [{
"documentBase64": "'+base64EncodedDocToSign+'",
"documentId": "1",
"fileExtension": "pdf",
"name": "contract.pdf"
}
],
"emailSubject": "Please Sign",
"recipients": {
"inPersonSigners": [{
"email": "[email protected]",
"name": "Luis",
"hostEmail": "[email protected]",
"hostName": "Luis",
"signerEmail": "[email protected]",
"signerName": "Charles",
"recipientId": "1",
"tabs": {
"signHereTabs": [{
"anchorString": "s1",
"anchorXOffset": "0",
"anchorYOffset": "0",
"anchorIgnoreIfNotPresent": "false",
"anchorUnits": "inches"
}
]
},
"routingOrder": "1",
"clientUserId": "1000",
"embeddedRecipientStartURL": "SIGN_AT_DOCUSIGN",
}
]
},
"status": "sent"
}
次のステップは、Connectを使用してオブジェクトを追跡することです。 Connectはオブジェクトに対して正しく設定されており、「Docusignで署名する」かカスタムボタンを使用すると機能します。
DSFSSourceObjectIdカスタムフィールドを含むようにjsonを変更しなければならないことを理解していますが、その値をリクエスト元のオブジェクトのIDと同じにしていますが、そこにcustomFieldを取得しようとするとjsonは正しくフォーマットされません。私はのようなたCustomFieldを追加しようとした
:
...
}
]
},
"customFields": [
{
"Name": "DSFSSourceObjectId",
"Value": "' + objectId + '"
}
],
"status": "sent"
}
は、この実行可能ですか?
あなたは正しくフォーマットされていないとして、あなたが参照しているJSONを投稿してくださいすることができます。 –
@CodingDawgにも試み: ' "customFields":{ "textCustomFields":[ { "configurationType": "セールスフォース"、 "フィールド識別子": "SalesforceSource"、 "名前": "DSFSSourceObjectId"、 」を必要 ": "真"、 "ショー": "偽"、 "値":" '+ recipient.getObjectId()+」' }] }、 '無駄に – lvelasco