Я попытался создать шаблон для составного шаблона, получая ответ от docusign. Я столкнулся с некоторыми проблемами. Ниже представлен XML, который я создаю для составного шаблона.Композитный отклик шаблона дает неверный запрос Ошибка при создании конверта
Я получаю ошибку запроса BAD.
<envelopeDefinition xmlns="http://www.docusign.com/restapi">
<accountId>ACCOUNTID</accountId>
<status>sent</status>
<compositeTemplates>
<compositeTemplate>
<serverTemplates>
<serverTemplate>
<sequence>1</sequence>
<templateId>xxxxxxxxxxxx</templateId>
</serverTemplate>
</serverTemplates>
<inlineTemplates>
<inlineTemplate>
<sequence>1</sequence>
<recipients>
<signers>
<signer>
<email>[email protected]</email>
<name>234 234</name>
<recipientId>1</recipientId>
<roleName>Contractor</roleName>
<clientUserId>1</clientUserId>
</signer>
</signers>
</recipients>
</inlineTemplate>
</inlineTemplates>
</compositeTemplate>
<compositeTemplate>
<serverTemplates>
<serverTemplate>
<sequence>2</sequence>
<templateId>xxxxxxxxxxxx</templateId>
</serverTemplate>
</serverTemplates>
<inlineTemplates>
<inlineTemplate>
<sequence>1</sequence>
<recipients>
<signers>
<signer>
<email>[email protected]</email>
<name>234 234</name>
<recipientId>1</recipientId>
<roleName>Contractor</roleName>
<clientUserId>1</clientUserId>
</signer>
</signers>
</recipients>
</inlineTemplate>
</inlineTemplates>
</compositeTemplate>
<compositeTemplate>
<serverTemplates>
<serverTemplate>
<sequence>3</sequence>
<templateId>xxxxxxxxxxxx</templateId>
</serverTemplate>
</serverTemplates>
<inlineTemplates>
<inlineTemplate>
<sequence>1</sequence>
<recipients>
<signers>
<signer>
<email>[email protected]</email>
<name>234 234</name>
<recipientId>1</recipientId>
<roleName>Contractor</roleName>
<clientUserId>1</clientUserId>
</signer>
</signers>
</recipients>
</inlineTemplate>
</inlineTemplates>
</compositeTemplate>
<compositeTemplate>
<serverTemplates>
<serverTemplate>
<sequence>4</sequence>
<templateId>xxxxxxxxxxxx</templateId>
</serverTemplate>
</serverTemplates>
<inlineTemplates>
<inlineTemplate>
<sequence>1</sequence>
<recipients>
<signers>
<signer>
<email>[email protected]</email>
<name>234 234</name>
<recipientId>1</recipientId>
<roleName>Contractor</roleName>
<clientUserId>1</clientUserId>
</signer>
<signer>
<email />
<name />
<recipientId>4</recipientId>
<roleName>Legal</roleName>
<clientUserId>1</clientUserId>
</signer>
</signers>
</recipients>
</inlineTemplate>
</inlineTemplates>
</compositeTemplate>
<compositeTemplate>
<serverTemplates>
<serverTemplate>
<sequence>5</sequence>
<templateId>xxxxxxxxxxxx</templateId>
</serverTemplate>
</serverTemplates>
<inlineTemplates>
<inlineTemplate>
<sequence>1</sequence>
<recipients>
<signers>
<signer>
<email>[email protected]</email>
<name>234 234</name>
<recipientId>1</recipientId>
<roleName>Contractor</roleName>
<clientUserId>1</clientUserId>
</signer>
</signers>
</recipients>
</inlineTemplate>
</inlineTemplates>
</compositeTemplate>
</compositeTemplates>
</envelopeDefinition>