Upload a Document

post

/primeapi/restapi/document/uploadFile/parent/{folderId}/fileName/{fileName}

Send a request to this endpoint to upload a document.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
The input stream of an uploaded document.
Root Schema : InputStream
Type: object

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : ApiEntityDocument
Type: object
Show Source
Nested Schema : annotationCount
Type: object
Additional Properties Allowed
Show Source
Nested Schema : ApiEntityDocumentConfiguredFields
Type: object
Show Source
Nested Schema : costFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing the cost fields associated with the document.
Nested Schema : otherFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing the cost fields associated with the document.
Nested Schema : textFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing the cost fields associated with the document.
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object

400 Response

Invalid input for the Document service. Verify the request contains valid data, then resubmit the request.

404 Response

The requested folder does not exist, or you do not have access to it.