I am trying to use recipient custom fields in xml. I have tested the solution in JSON and it works, but it needs to work in XML for the client's system.
I can find no online examples of such a payload and what the translated value should be. I have tried a few different versions, with none of them working. Please see below for details.
Working JSON version:
"recipients": {
"signers": [
{
"email": "person@email.com",
"name": "ExternalDocuSign",
"roleName": "External Signer 1",
"routingOrder": "1",
"recipientId": "External Signer 1",
"customFields": [ "Rolename: External Signer 1" ], - Recipient Custom Field
},
However, it does not work in XML. To be clear, everything else but recipient custom fields works as expected.
XML version with Recipient Custom Fields not working:
<recipients>
<signers>
<signer>
<recipientId>External Signer 1</recipientId>
<email>person@email.com</email>
<name>ExternalDocuSign</name>
<routingOrder>1</routingOrder>
<roleName>External Signer 1</roleName>
<CustomFields><CustomField>Rolename: External Signer 1</CustomFields></CustomFields> - One example of a failed attempt
</signer>
</signers>
</recipients>