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

如何使用 DocuSign API 預(yù)填充服務(wù)器模板上的選項(xiàng)卡

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

問題描述

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

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 轉(zhuǎn)換器來獲得正確的 xml 格式.以下內(nèi)容被服務(wù)器接受但不更新服務(wù)器模板.

* * 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>";

推薦答案

抱歉,我可以發(fā)誓在 textTabs 元素中需要單數(shù) textTab,但它看起來應(yīng)該只是命名為 text 代替.這是一個(gè)完整的 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>

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

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

相關(guān)文檔推薦

How to wrap text around components in a JTextPane?(如何在 JTextPane 中的組件周圍環(huán)繞文本?)
MyBatis, how to get the auto generated key of an insert? [MySql](MyBatis,如何獲取插入的自動(dòng)生成密鑰?[MySql])
Inserting to Oracle Nested Table in Java(在 Java 中插入 Oracle 嵌套表)
Java: How to insert CLOB into oracle database(Java:如何將 CLOB 插入 oracle 數(shù)據(jù)庫)
Why does Spring-data-jdbc not save my Car object?(為什么 Spring-data-jdbc 不保存我的 Car 對象?)
Use threading to process file chunk by chunk(使用線程逐塊處理文件)
主站蜘蛛池模板: www.se91| 亚洲婷婷六月天 | 黄色免费网站在线看 | 8x国产精品视频一区二区 | 免费av手机在线观看 | 国产乱码精品一区二区三区忘忧草 | 亚洲区一区二区 | 91精品国产乱码久久蜜臀 | 九九久久久 | 亚洲欧美在线观看 | 欧美日韩成人在线 | 亚洲 精品 综合 精品 自拍 | 91大神在线看| 日韩精品一区二 | 中文字幕第49页 | 国产成人在线免费 | 亚洲免费一区二区 | www.色.com| 日韩欧美精品一区 | 一区二区日韩 | 国产韩国精品一区二区三区 | 色秀网站| 成人在线看片 | 91精品国产91久久久久福利 | av一区二区三区四区 | 911影院| 无人区国产成人久久三区 | 一区二区免费视频 | 久久精品一区 | 午夜免费视频 | 精品一二区| 综合色站导航 | 国产精品一区一区 | 亚洲视频一区二区三区四区 | 在线视频一区二区三区 | 成人午夜免费福利视频 | 91一区二区| a网站在线观看 | h视频免费在线观看 | 国产精品久久久久久久久免费丝袜 | 欧美激情一区二区三级高清视频 |