完成した封筒をDocuSignの削除されたビンにREST APIを使用して移動しようとして問題が発生しました。私は取得していますエラーは次のとおりです。DocuSign APIを使用してXMLを使用して封筒をごみ箱に移動
住所:https://www.docusign.net/restapi/v2/accounts/ {アカウントID} /フォルダ/ RECYCLEBIN
HTTP-方法:
のContent-TypeをPUT:アプリケーションここ
<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の呼び出しです/ xml]、X-DocuSign-Authentication = [{"ユーザー名": "ユーザー名"、 "パスワード": "パスワード"、 " Context-Length = [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コールがどのように間違っているかを理解するのに役立つことがあります。
を私は考え出したいくつかのテストの後、そのXML宣言を持つ:「ます。<?xml version =」1.0" エンコード= 『UTF-8』 ?> "が原因でエラーが発生しました –