API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

List time_records

GET/v1/time_records

List time_records for the active tenant.

Data model

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

  • Required fields: date, durationMinutes, description, serviceTypeId, partyId
  • Server-managed: _id, schema, schemaVersion, tenantId, version, createdAt, updatedAt, createdBy, updatedBy, deletedAt, deletedBy, appliedRatePerHour, appliedRateSource, consumedAmount, serviceNature, surchargeSegmentation, weclappTimeRecordId, weclappSyncState, weclappLastSyncedAt, weclappLastSyncError, weclappOrderItemId, weclappTravelOrderItemIds, weclappBatchTransferredAt, performanceRecordId, invoiceId, closedWithoutInvoice, consultationTaskIds, serviceBlockHold, serviceBlockHoldReason, serviceBlockReleasedAt, serviceBlockReleasedBy, budgetHold, budgetHoldReason, budgetHoldEstimatedRemainingMinutes, externalOwnership, externalOwnershipTakenAt, externalOwnershipTakenBy, externalOwnershipTag, tanssReopenedAt, tanssReopenedBy, tanssReopenReason, coverageOverride, coverageMixedAssets — the platform assigns these fields; they are discarded in the request.

Query parameters

NameTypeDescription
cursorstring
limitnumber
includeDeletedboolean

Example

curl -X GET https://api.codemeta-os.de/v1/time_records \
  -H "X-Tenant-Id: $TENANT" \
  -b cookies.txt
const result = await cm.time_records.list();

Response codes

HTTP Meaning
200 Default Response

Search