API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

POST /v1/performance-records/generate

POST/v1/performance-records/generate

Generate a performance record (Leistungsnachweis) from approved time records

Data model

This operation works on the entity Performance Record (performance_record). All 33 fields — type, validation, required status, relationships — are listed in the schema reference.

Request body

NameTypeDescription
partyIdrequiredstring
periodStartrequiredstring<date>
periodEndrequiredstring<date>
contractIdstring
timeRecordIdsstring[]

Example

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": []
});

Response codes

HTTP Meaning
201 Default Response

Search