Uploading a document
  • 22 Nov 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Uploading a document

  • Dark
    Light
  • PDF

Article summary

Uploading a document

This web service allows you to download the latest major version of a document.

Identification is done by Constellio's token mechanics for unpublished documents.


The following parameters can be passed during calls:


DescriptionStatusparameter
idThe identifier of the document.Obligatory
counterMust be specified if the document is not published in order to perform permissions validation.Optional
serviceKeyMust be specified if the document is not published in order to perform permissions validation.Optional

Example

Call

http://localhost:7070/constellio/dl?id=0000056984&token=dac2fbe9-3635-11eb-8c29-df0134b862f2&serviceKey=agent_admin


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.