无法为SingHere字段设置绝对定位

问题描述 投票:0回答:1

当我向https://demo.docusign.net/api/3.0/dsapi.asmx发出POST请求到CreateAndSendEnvelope时,我设置了一个标签:

但是在结果文档中根本没有SignHere字段。我应该怎么做才能将SignHere放到理想的位置?

<Tab>
  <Type>SignHere</Type>
  <RecipientID>1</RecipientID>
  <xPosition>1</xPosition>
  <yPosition>1</yPosition>
</Tab>

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
<CreateAndSendEnvelope xmlns="http://www.docusign.net/API/3.0">
    <Envelope>
        <AccountId>a290cac9-e2c4-415c-8a47-900587258cce</AccountId>
        <Documents>
            <Document>
                <ID>1</ID>
                <Name>Simple NDA.pdf</Name>
                <PDFBytes>Jo=
        </PDFBytes>
                <FileExtension>pdf</FileExtension>
                <AttachmentDescription>Simple NDA</AttachmentDescription>
            </Document>
        </Documents>
        <Recipients>
            <Recipient>
                <ID>1</ID>
                <Email>[email protected]</Email>
                <UserName>Betty Adams</UserName>
                <Type>Signer</Type>
                <RoutingOrder>1</RoutingOrder>
            </Recipient>
        </Recipients>
        <Tabs>
            <Tab>
                <Type>SignHere</Type>
                <RecipientID>1</RecipientID>
                <xPosition>1</xPosition>
                <yPosition>1</yPosition>
            </Tab>
        </Tabs>
        <Subject>Please DocuSign this document</Subject>
        <EmailBlurb>Please sign this document using DocuSign...thanks!</EmailBlurb>
    </Envelope>
</CreateAndSendEnvelope>
</soap:Body></soap:Envelope>
docusignapi
1个回答
1
投票

看起来您缺少标签的文档ID和页码。添加

                    <DocumentID>1</DocumentID>
                    <PageNumber>1</PageNumber>

选项卡定义应使其显示在文档的第一页上。

© www.soinside.com 2019 - 2024. All rights reserved.