The creation of a dossier takes place via the same call as the creation / upload of a document.
However, the parameters 'filename', 'contentUri' and 'ContentlocationUri' are omitted here.
A corresponding mapping to the corresponding d.3One dossier is of course required.
The dossier is created in one step.
Example:
POST https://<BaseUri>/dms/r/<repoId>/o2m
contenttype = application/json
Origin = <BaseUri>
Accept = application/hal+json
body =
{
"sourceCategory": "Auftragsakte",
"sourceId": "/myapp/source",
"sourceProperties": {
"properties": [{
"key": "ABnr",
"values": ["0912201901"]
},
{
"key": "KdNr",
"values": ["91201"]
},
{
"key": "Name",
"values": ["Kunde1"]
}
]
}
}
Response=
....
Location = /dms/r/<repoId>/o2m/<Docid>?sourceid=%2fdms%2fr%2f<repoid>%2fsource
....