PUT api/File/Version
Move the file to the history and create a new file version.
Request Information
URI Parameters
None.
Body Parameters
NewFileVersionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ArchiveGuid | string |
None. |
|
| DocId | integer |
None. |
|
| OldFileId | integer |
None. |
|
| NewFileId | integer |
None. |
|
| Token | Token |
None. |
Request Formats
application/json, text/json
Sample:
{
"ArchiveGuid": "sample string 1",
"DocId": 2,
"OldFileId": 3,
"NewFileId": 4,
"Token": {
"OrgId": 1,
"OrgGuid": "sample string 2",
"UserId": 3,
"UserGuid": "sample string 4",
"Username": "sample string 5",
"UserNumber": "sample string 6",
"EMail": "sample string 7",
"CreatedAt": "2026-09-15T11:34:31.0430665+02:00",
"ValidTo": "2026-09-15T11:34:31.0430665+02:00",
"Realm": "sample string 10",
"IsDelegated": true,
"AccessKey": "sample string 12"
}
}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.