POST v1/customers/{id}/hub/content-groups/{groupId}/documents

Uploads a document to the customer's hub. NOTE: If you want to upload documents to a group by its name, then specify the group name in the header with this key: Content-Group-Name If the group does not exist, then a new group with this name will be created. In this case you don't have to pass groupId as URI parameter. Specify the Overwrite-Existing-Files header (true|false) to overwrite the existing file(s). Specify Visible-On-Portal header (true|false) to set visibility of uploaded documents on the Striven Customer/Vendor Portal.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

groupId

integer

None.

Body Parameters

None.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.