久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何使用 DocuSign API 預填充服務器模板上的選項卡

How to pre-fill tabs on a server template with the DocuSign API(如何使用 DocuSign API 預填充服務器模板上的選項卡)
本文介紹了如何使用 DocuSign API 預填充服務器模板上的選項卡的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

是否可以在服務器模板上填寫選項卡?如果是這樣,那么正確的 XML 格式是什么?我已經嘗試過 DocuSign 論壇上帖子中建議的解決方案,但該解決方案不起作用.我已閱讀文檔,但不清楚格式應該是什么,我似乎找不到任何示例.這就是我現在所擁有的,它不工作它返回和錯誤 400:XML 請求與預期格式不匹配.有誰知道正確的格式嗎?

Is it possible to fill in a tab on a server template? If so what would be the correct XML format to do that? I have tried the suggested solution from the post on the DocuSign forum, that solution did not work. I have read the documentation but it is unclear what the format should be and I can't seem to find any examples. This is what I have now and it is not working it returns and error 400: The XML request does not match the expected format. Does anyone know for sure the correct format?

* * 更新 ****我使用 JSON 到 XML 轉換器來獲得正確的 xml 格式.以下內容被服務器接受但不更新服務器模板.

* * Update **** I used a JSON to XML converter to get the correct xml format. The following is accepted by the server but does not update the server template.

String requestBody = "<envelopeDefinition xmlns="http://www.docusign.com/restapi">" +
    "<accountId>" + accountId + "</accountId>" +
    "<status>sent</status>" +
    "<emailSubject>" + emailSubject + "</emailSubject>" +
    "<emailBlurb>" + emailBlurb + "</emailBlurb>" +
    "<templateId>81bcad0d-91ed-4616-****-************</templateId>" +
    "<templateRoles>" +
       "<templateRole>" +
          "<email>" + emailaddr4[0] + "</email>" +
          "<name>" + names[0] + "</name>" + 
          "<roleName>Student</roleName>" +
          "<tabs>" +
             "<textTabs>" +
                "<textTab>" +
                     "<tabLabel>StudentID</tabLabel>" +
                     "<value>" + student_id + "</value>" +
                     "<documentId>1</documentId>" +
                     "<pageNumber>1</pageNumber>" +
                "</textTab>"
              "</textTabs>" +
           "</tabs>" + 
     "</templateRole>" +
  "</templateRoles>" + 
"</envelopeDefinition>";

推薦答案

抱歉,我可以發誓在 textTabs 元素中需要單數 textTab,但它看起來應該只是命名為 text 代替.這是一個完整的 XML 請求正文,可以使用

Sorry, I could have sworn that the singular textTab was needed inside of the textTabs element, but it looks like this supposed to be named just text instead. Here is a full XML request body that works

<envelopeDefinition xmlns="http://www.docusign.com/restapi">
   <accountId>221765</accountId>
   <status>sent</status>
   <emailSubject>API Call for sending signature request from template</emailSubject>
   <emailBlurb>This comes from Java</emailBlurb>
   <templateId>DD92AF6F-3B87-435C-A652-A7451AFE758E</templateId>
   <templateRoles>
      <templateRole>
         <email>email@docusign.com</email>
         <name>John Doe</name>
         <roleName>Signer1</roleName>
         <tabs>
            <textTabs>
               <text>
                  <tabLabel>DataField1</tabLabel>
                  <value>Initial Data Goes Here</value>
               </text>
            </textTabs>
         </tabs>
      </templateRole>
   </templateRoles>
</envelopeDefinition>

這篇關于如何使用 DocuSign API 預填充服務器模板上的選項卡的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How to wrap text around components in a JTextPane?(如何在 JTextPane 中的組件周圍環繞文本?)
MyBatis, how to get the auto generated key of an insert? [MySql](MyBatis,如何獲取插入的自動生成密鑰?[MySql])
Inserting to Oracle Nested Table in Java(在 Java 中插入 Oracle 嵌套表)
Java: How to insert CLOB into oracle database(Java:如何將 CLOB 插入 oracle 數據庫)
Why does Spring-data-jdbc not save my Car object?(為什么 Spring-data-jdbc 不保存我的 Car 對象?)
Use threading to process file chunk by chunk(使用線程逐塊處理文件)
主站蜘蛛池模板: 365夜爽爽欧美性午夜免费视频 | 拍真实国产伦偷精品 | 亚洲乱码一区二区三区在线观看 | 国产精品一区一区三区 | 精品国产一区二区在线 | 色婷婷久久久久swag精品 | 波多野结衣av中文字幕 | 亚洲成人精 | 亚洲中午字幕 | 玖玖视频国产 | 免费看91 | 欧美精品1区2区3区 免费黄篇 | 国产欧美久久精品 | 久草电影网 | 欧美日韩三级视频 | 精品欧美激情精品一区 | 国产一级一级毛片 | 欧美国产精品一区二区 | 黄色一级视频免费 | 欧美三区 | 欧美一区二区三区的 | 国产亚洲精品美女久久久久久久久久 | 国产欧美在线播放 | 国产精品久久久久久久久久久久冷 | 久久精品国产免费看久久精品 | 中日av | 狠狠色综合久久婷婷 | 欧美一级淫片免费视频黄 | 色婷婷一区二区三区四区 | 亚洲一区视频 | 欧美日韩在线视频一区 | 成人免费影院 | 国产综合在线视频 | 91av视频| 精品久久久久久久久久久院品网 | 91文字幕巨乱亚洲香蕉 | 成人精品 | av一级久久 | 91色啪 | 日韩欧美国产精品一区 | 精品一区二区三区四区视频 |