2016-06-20 6 views
0

DocuSign Connectのローカルテストを行っています。 私は動的IPアドレスを持っているので、ローカルサーバにメッセージを公開するためにDocuSign Connectの下にURLを設定することができません。 私はDocuSign ConnectからのPOSTリクエストをシミュレートすることを考えています。私がタップできるサンプルPOSTリクエストを誰かが持っているのでしょうか?DocuSign Connectローカルテスト

答えて

1

私はGUIDは、IPと署名者/送信者情報を編集したが、ここでは封筒の例だきました - 下記の構成でお届けいたしメッセージ:ドキュメントを含めるとCoC認証を含める場合はチェックが入っている enter image description here

<?xml version="1.0" encoding="utf-8"?> 
<DocuSignEnvelopeInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.docusign.net/API/3.0"> 
    <EnvelopeStatus> 
     <RecipientStatuses> 
      <RecipientStatus> 
       <Type>Signer</Type> 
       <Email>[email protected]</Email> 
       <UserName>Signer Name</UserName> 
       <RoutingOrder>1</RoutingOrder> 
       <Sent>2016-06-20T15:41:01.78</Sent> 
       <Delivered>2016-06-20T15:41:26.133</Delivered><DeclineReason xsi:nil="true"/> 
       <Status>Delivered</Status> 
       <RecipientIPAddress>123.123.12.22</RecipientIPAddress><CustomFields/> 
       <TabStatuses> 
        <TabStatus> 
         <TabType>SignHere</TabType> 
         <Status>Active</Status> 
         <XPosition>412</XPosition> 
         <YPosition>207</YPosition> 
         <TabLabel>Signature 1</TabLabel> 
         <TabName>Sign Here</TabName><TabValue/> 
         <DocumentID>1</DocumentID> 
         <PageNumber>1</PageNumber><OriginalValue/></TabStatus> 
        <TabStatus> 
         <TabType>DateSigned</TabType> 
         <Status>NA</Status> 
         <XPosition>859</XPosition> 
         <YPosition>364</YPosition> 
         <TabLabel>Date Signed</TabLabel> 
         <TabName>Date Signed</TabName><TabValue/> 
         <DocumentID>1</DocumentID> 
         <PageNumber>1</PageNumber><OriginalValue/></TabStatus> 
       </TabStatuses> 
       <AccountStatus>Active</AccountStatus> 
       <EsignAgreementInformation> 
        <AccountEsignId>xxxxxxxx-b74b-4c31-b8f7-fe33af69a315</AccountEsignId> 
        <UserEsignId>xxxxxxxx-7672-436b-bcf9-a45c9b53247c</UserEsignId> 
        <AgreementDate>2016-06-20T15:41:26.133</AgreementDate> 
       </EsignAgreementInformation> 
       <RecipientId>xxxxxxxx-36be-49b5-8c63-c256b1f261ab</RecipientId> 
      </RecipientStatus> 
     </RecipientStatuses> 
     <TimeGenerated>2016-06-20T15:41:46.2761003</TimeGenerated> 
     <EnvelopeID>xxxxxxxx-f2ac-489d-babd-d7554ca1b2de</EnvelopeID> 
     <Subject>Please DocuSign this document: SamplePDF.pdf</Subject> 
     <UserName>Test Sender</UserName> 
     <Email>[email protected]</Email> 
     <Status>Delivered</Status> 
     <Created>2016-06-20T15:40:33.64</Created> 
     <Sent>2016-06-20T15:41:01.827</Sent> 
     <Delivered>2016-06-20T15:41:26.18</Delivered> 
     <ACStatus>Original</ACStatus> 
     <ACStatusDate>2016-06-20T15:40:33.64</ACStatusDate> 
     <ACHolder>Test Sender</ACHolder> 
     <ACHolderEmail>[email protected]</ACHolderEmail> 
     <ACHolderLocation>DocuSign</ACHolderLocation> 
     <SigningLocation>Online</SigningLocation> 
     <SenderIPAddress>12.163.90.22 
     </SenderIPAddress><EnvelopePDFHash/> 
     <CustomFields> 
      <CustomField> 
       <Name>Storage?</Name> 
       <Show>True</Show> 
       <Required>False</Required><Value/></CustomField> 
      <CustomField> 
       <Name>AccountId</Name> 
       <Show>false</Show> 
       <Required>false</Required> 
       <Value>123456</Value> 
       <CustomFieldType>Text</CustomFieldType> 
      </CustomField> 
      <CustomField> 
       <Name>AccountName</Name> 
       <Show>false</Show> 
       <Required>false</Required> 
       <Value>DocuSign Demo</Value> 
       <CustomFieldType>Text</CustomFieldType> 
      </CustomField> 
      <CustomField> 
       <Name>AccountSite</Name> 
       <Show>false</Show> 
       <Required>false</Required> 
       <Value>demo</Value> 
       <CustomFieldType>Text</CustomFieldType> 
      </CustomField> 
     </CustomFields> 
     <AutoNavigation>true</AutoNavigation> 
     <EnvelopeIdStamping>true</EnvelopeIdStamping> 
     <AuthoritativeCopy>false</AuthoritativeCopy> 
     <DocumentStatuses> 
      <DocumentStatus> 
       <ID>1</ID> 
       <Name>SamplePDF.pdf</Name><TemplateName/> 
       <Sequence>1</Sequence> 
      </DocumentStatus> 
     </DocumentStatuses> 
    </EnvelopeStatus> 
    <TimeZone>AUS Eastern Standard Time</TimeZone> 
    <TimeZoneOffset>10</TimeZoneOffset> 
</DocuSignEnvelopeInformation> 

エンベロープ(CoCを含む)内の各ドキュメントは別々のバイトストリームに入ります。

<DocumentPDFs> 
    <DocumentPDF> 
    <Name>SamplePDF.pdf</Name> 
    <PDFBytes> 
    {bytestream} 
    </PDFBytes> 
    <DocumentID>1</DocumentID> 
    <DocumentType>CONTENT</DocumentType> 
    </DocumentPDF> 
    <DocumentPDF> 
    <Name>CertificateOfCompletion_{envelopeI}.pdf</Name> 
    <PDFBytes> 
    {bytestream} 
    </PDFBytes> 
    <DocumentType>SUMMARY</DocumentType> 
    </DocumentPDF> 
</DocumentPDFs> 
+1

ありがとうございます! –

+0

私がチェックすれば完璧な証明書が含まれているのでしょうか?これは文書pdfに追加されますか?私はそれを分離したい場合は、COCを取得するために別のAPIコールを行うべきであることを意味しますか –

+0

各ドキュメント(およびCoC)はバイトストリームで個別に送られます –

関連する問題