CreateEnvelopeFromTemplatesAndForms问题,标签未显示为PDF表单

时间:2015-05-06 23:23:09

标签: docusignapi

当我向CreateEnvelopeFromTemplatesAndForms提交以下消息时,我收到一条SOAP错误消息:“您的帐户不允许进行自由格式签名,因为它与其他设置冲突,请为每个签名者设置签名选项卡。”选项卡都包含与PDF中存在的表单字段对应的有效表单字段名称,因此我不确定为什么不通过API成功创建选项卡。当我通过DocuSign UI上传PDF以创建新信封时,它确实识别了表单字段,因此不确定为什么通过API不会创建/找到表单字段。以下是信息:

<CreateEnvelopeFromTemplatesAndForms xmlns="http://www.docusign.net/API/3.0">
<EnvelopeInformation>
    <AccountId>--removed--</AccountId>
    <EmailBlurb>Your documents for the Sample Application are available online for viewing and signing.</EmailBlurb>
    <Subject>eSign Request: Client Account</Subject>
</EnvelopeInformation>
<CompositeTemplates>
    <CompositeTemplate>
        <InlineTemplates>
            <InlineTemplate>
                <Sequence>1</Sequence>
                <Envelope>
                    <AccountId>--removed--</AccountId>
                    <Recipients>
                        <Recipient>
                            <ID>1</ID>
                            <UserName>First Last</UserName>
                            <Email>someemail@gmail.com</Email>
                            <Type>Signer</Type>
                            <AccessCode>1111</AccessCode>
                            <CaptiveInfo>
                                <ClientUserId>someemail@gmail.com</ClientUserId>
                            </CaptiveInfo>
                            <CustomFields>
                                <CustomField>167ae5ce-14e4-49b5-93c7-8202f933d6a2</CustomField>
                            </CustomFields>
                            <RoutingOrder>1</RoutingOrder>
                        </Recipient>
                        <Recipient>
                            <ID>2</ID>
                            <UserName>First2 Last2</UserName>
                            <Email>someemail2@gmail.com</Email>
                            <Type>Signer</Type>
                            <AccessCode xsi:nil="true"/>
                            <RequireIDLookup>true</RequireIDLookup>
                            <CaptiveInfo>
                                <ClientUserId>someemail2@gmail.com</ClientUserId>
                            </CaptiveInfo>
                            <CustomFields>
                                <CustomField>bdc98023-3239-4644-8309-606c661c21a0</CustomField>
                            </CustomFields>
                            <RoutingOrder>2</RoutingOrder>
                        </Recipient>
                    </Recipients>
                    <Tabs>
                        <Tab>
                            <DocumentID>1</DocumentID>
                            <RecipientID>1</RecipientID>
                            <PageNumber>3</PageNumber>
                            <Type>SignHere</Type>
                            <TabLabel>form1[0].#subform[2].FinancialAdvisorAuthorizedPersonSignature[0]</TabLabel>
                        </Tab>
                        <Tab>
                            <DocumentID>1</DocumentID>
                            <RecipientID>1</RecipientID>
                            <PageNumber>3</PageNumber>
                            <Type>DateSigned</Type>
                            <TabLabel>form1[0].#subform[2].finandate1[0]</TabLabel>
                        </Tab>
                        <Tab>
                            <DocumentID>1</DocumentID>
                            <RecipientID>1</RecipientID>
                            <PageNumber>3</PageNumber>
                            <Type>FullName</Type>
                            <TabLabel>form1[0].#subform[2].repname[0]</TabLabel>
                        </Tab>
                        <Tab>
                            <DocumentID>1</DocumentID>
                            <RecipientID>2</RecipientID>
                            <PageNumber>2</PageNumber>
                            <Type>SignHere</Type>
                            <TabLabel>form1[0].#subform[1].AccountHolderSignature[0]</TabLabel>
                        </Tab>
                        <Tab>
                            <DocumentID>1</DocumentID>
                            <RecipientID>2</RecipientID>
                            <PageNumber>2</PageNumber>
                            <Type>DateSigned</Type>
                            <TabLabel>form1[0].#subform[1].clientdate1[0]</TabLabel>
                        </Tab>
                        <Tab>
                            <DocumentID>1</DocumentID>
                            <RecipientID>2</RecipientID>
                            <PageNumber>2</PageNumber>
                            <Type>FullName</Type>
                            <TabLabel>form1[0].#subform[1].clientname1[1]</TabLabel>
                        </Tab>
                    </Tabs>
                </Envelope>
            </InlineTemplate>
        </InlineTemplates>
        <Document>
            <ID>1</ID>
            <Name>DocName1</Name>
            <PDFBytes>--removed--</PDFBytes>
            <TransformPdfFields>true</TransformPdfFields>
            <FileExtension>pdf</FileExtension>
        </Document>
    </CompositeTemplate>
</CompositeTemplates>
<ActivateEnvelope>true</ActivateEnvelope>

非常感谢任何帮助!

0 个答案:

没有答案