POST api/Document/Create
Create a new document in topfact Archiv without files. Files must added after the request is complete. Use AddFile to add file to the document.
Request Information
URI Parameters
None.
Body Parameters
CreateDocumentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ArchiveGuid | string |
None. |
|
| Indexfields | Collection of IndexField |
None. |
|
| Token | Token |
None. |
Request Formats
application/json, text/json
Sample:
{
"ArchiveGuid": "sample string 1",
"Indexfields": [
{
"Fieldname": "sample string 1",
"Value": {}
},
{
"Fieldname": "sample string 1",
"Value": {}
}
],
"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.9652213+02:00",
"ValidTo": "2026-09-15T11:34:31.9652213+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.