通过 DocuSign CLM 上传文档 API

Uploading a Document via the DocuSign CLM API

您好,您好,

我们正在尝试通过 CLM API 将文档上传到我们的 CLM 实例。

已完成的步骤:

  1. 通过 API
  2. 进行身份验证
  3. 正在获取有关需要上传文件的文件夹的信息。

我们能够从文件信息中获取 CreateDocumentHref,并将其用作被调用的端点。 uri 如下所示:https://apiuploaduatna11.springcm.com/v2/d0f45cf8-xxxx-xxxx-xxxx-3e32d742a3f3/folders/4b8d3adf-xxxx-xxxx-xxxx-48df378a7098/documents?name=Testing.docx 最后一部分是我们正在上传的文件的名称。

post上传请求的body为:

{
    "document": "UEsDBBQABgAIAAAAIQDfpNJsWgEAACAFAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAKEmAABkb2NQcm9wcy9jb3JlLnhtbFBLAQItABQABgAIAAAAIQDhwI9waAEAAMACAAAQAAAAAAAAAAAAAAAAAEUpAABkb2NQcm9wcy9hcHAueG1sUEsFBgAAAAALAAsAwQIAAOMrAAAAAA=="
}

我在上面添加的 body 包含文档的整个 64 位字符串。这是我们为了测试上传而创建的word文档。

到目前为止,我们使用的资源是:

  1. DocuSign University CLM API Basics - 这提供了上传文档的步骤,但我们还没有按照这些步骤进行操作。
  2. API Reference for Document Upload

我们正在尝试使用 DocuSign 演示帐户来完成此操作。这会导致问题吗?

我们在发送请求时收到的错误是:

{
    "Error": {
        "HttpStatusCode": 500,
        "UserMessage": "Error occurred",
        "DeveloperMessage": "Error occurred",
        "ErrorCode": 100,
        "ReferenceId": "e4d0e140-b9e5-49ec-8322-f4aaafc5ef2a"
    }
}

如有任何帮助,我们将不胜感激!

使用的文件:

要求Headers:

已解决。 POST 上传文档的方法需要二进制流而不是 json body.

上传文档的POST 方法需要二进制流而不是JSON 正文。 我们会在有机会时更新文档以反映这一点。