POST /v1/performance-records/generate
POST/v1/performance-records/generate
Generate a performance record (Leistungsnachweis) from approved time records
Modèle de données
Cette opération porte sur l'entité Performance Record (performance_record). Les 33 champs (type, validation, caractère obligatoire, relations) figurent dans la référence du schéma.
Corps de la requête
| Nom | Type | Description |
|---|---|---|
partyIdobligatoire | string | |
periodStartobligatoire | string<date> | |
periodEndobligatoire | string<date> | |
contractId | string | |
timeRecordIds | string[] |
Exemple
curl -X POST https://api.codemeta-os.de/v1/performance-records/generate \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"partyId": "string",
"periodStart": "string",
"periodEnd": "string",
"contractId": "string",
"timeRecordIds": []
}'const result = await cm.performance-records.post({
"partyId": "string",
"periodStart": "string",
"periodEnd": "string",
"contractId": "string",
"timeRecordIds": []
});Codes de réponse
| HTTP | Signification |
|---|---|
201 |
Default Response |