【发布时间】:2016-03-24 16:50:04
【问题描述】:
我在尝试使用 REST API 将已完成的信封移动到 DocuSign 中已删除的 bin 时遇到问题。我得到的错误是:
<errorDetails xmlns="http://www.docusign.com/restapi" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<errorCode>INVALID_REQUEST_BODY</errorCode>
<message>The request body is missing or improperly formatted. <envelopeMoveRequest xmlns=''> was not expected.</message>
</errorDetails>
这是我进行的 API 调用:
地址:https://www.docusign.net/restapi/v2/accounts/{accountid}/folders/recyclebin
Http-Method:PUT
内容类型:application/xml
标题:{Content-Type=[application/xml], Accept=[application/xml], X-DocuSign-Authentication=[{"Username":"username","Password":"password","IntegratorKey ":"积分键"}], 上下文长度=[31274]}
有效载荷:
<?xml version="1.0" encoding="UTF-8"?>
<envelopeMoveRequest xmlns="http://www.docusign.com/restapi" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<envelopeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>EnvelopeId</d2p1:string>
</envelopeIds>
<fromFolderId/>
</envelopeMoveRequest>
我可以使用一些帮助来弄清楚我的 API 调用是如何出错的。
【问题讨论】:
标签: docusignapi