Documents

Create and upload document

Create and upload one or more documents as a multipart/form-data. Only form data parts with a filename property is processed, with the value used as the file name stored in the system. The name property of each part is ignored.

post/api/v1/documents

Request

  • Base URL: /sandbox (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /sandbox/api/v1/documents
  • Auth: OAuth 2 (authorization code, authorization URL https://id.efimis.com/pevolveextprod.onmicrosoft.com/b2c_1a_idp_aad_multi/oauth2/authorize, token URL https://id.efimis.com/pevolveextprod.onmicrosoft.com/b2c_1a_idp_aad_multi/oauth2/token; client credentials, token URL https://id.efimis.com/pevolveextprod.onmicrosoft.com/b2c_1a_idp_aad_multi/oauth2/token, scopes: tenant-user, policy.write)

Query parameters

collectionstring required

e.g. documentcollection_c0645dc026a74ae99ec436df63d77d2c

The document collection to save the file to, e.g. documentcollection_12345678123412341234123456789012

folderstring

e.g. documentfolder_c0645dc026a74ae99ec436df63d77d2c

The destination folder in the collection, e.g. documentfolder_12345678123412341234123456789012. The root folder if not specified.

Response

OK

successboolean
reasonstring nullable
resultCode0 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110

Represents the outcome of a command execution. Used to indicate success or the reason for failure when a command does not succeed.

sourceIdstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.