POST /v1/performance-records/generate
POST/v1/performance-records/generate
Generate a performance record (Leistungsnachweis) from approved time records
Datamodel
Deze operatie werkt op de entiteit Performance Record (performance_record). Alle 33 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.
Request body
| Naam | Type | Beschrijving |
|---|---|---|
partyIdvereist | string | |
periodStartvereist | string<date> | |
periodEndvereist | string<date> | |
contractId | string | |
timeRecordIds | string[] |
Voorbeeld
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": []
});Antwoordcodes
| HTTP | Betekenis |
|---|---|
201 |
Default Response |