POST /v1/dms/documents/{id}/checkin
POST/v1/dms/documents/{id}/checkin
Check in a DMS document, optionally uploading a new version
Corps de la requête
| Nom | Type | Description |
|---|
fileName | string | |
mimeType | string | |
sizeBytes | integer | |
changeNote | string | |
Paramètres de chemin
| Nom | Type | Description |
|---|
idobligatoire | string | |
Exemple
curl -X POST https://api.codemeta-os.de/v1/dms/documents/{id}/checkin \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"fileName": "string",
"mimeType": "string",
"sizeBytes": 0,
"changeNote": "string"
}'
const result = await cm.dms.post({
"fileName": "string",
"mimeType": "string",
"sizeBytes": 0,
"changeNote": "string"
});
Codes de réponse
| HTTP |
Signification |
200 |
Default Response |