POST api/v2/works/{workId}/files
Request
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workId | integer |
Required |
Body Parameters
WorkFileNewName | Description | Type | Additional information |
---|---|---|---|
Identification | string | ||
Category | string | ||
FileData | Collection of byte | ||
Hash | string | ||
DocTemplateId | integer | ||
AllowDownload | boolean | ||
AutomaticGeneration | boolean | ||
DisplayVersion | string | ||
SyncPortal | boolean |
Request Formats
application/json, text/json
Sample:
{ "Identification": "sample string 1", "Category": "sample string 2", "FileData": "QEA=", "Hash": "sample string 3", "DocTemplateId": 1, "AllowDownload": true, "AutomaticGeneration": true, "DisplayVersion": "sample string 5", "SyncPortal": true }
text/html
Sample:
{"Identification":"sample string 1","Category":"sample string 2","FileData":"QEA=","Hash":"sample string 3","DocTemplateId":1,"AllowDownload":true,"AutomaticGeneration":true,"DisplayVersion":"sample string 5","SyncPortal":true}
Response
IHttpActionResultResponse Format
application/json, text/json, text/html
Sample:
Sample not available.