book-entries.documents.new

Attach a document to an existing book entry that doesn't have any document yet. The result will contain the generated document's id.

Use the multipart/form-data content type and add two arguments. The first one must be named file and contain the file's bytes, and the other one must be named body and contain the json-formatted information.

Supported document types :

  • Pdf
  • Xml
  • CODA
  • SODA
  • Images (.jpg, .jpeg, .png)

The request will fail if a document is already attached to the book entry. In that case, use the endpoint 'book-entries.documents.annexes.new'.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
string
required

Required. Include the file's extension.

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

401

Unauthorized – invalid, expired or missing access token.

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json