Documentation Index
Fetch the complete documentation index at: https://developers.projectcor.com/llms.txt
Use this file to discover all available pages before exploring further.
Creates a new working time record in your COR instance through the integrations service.
Working time records cannot be updated once created. If you need to modify a record, you must delete it and create a new one.
Request Body Requirements
Integration source identifier
External working time record ID from your source system
External user ID. The user must have been previously created through the integrations API.
Whether the record is active (default: true)
Destination system identifier
The companyId is automatically set from the authenticated user’s company context.
Known Errors
ValidationError — Missing required fields
UserNotFoundError — The specified user does not exist in the integration mappings
DuplicateExternalIdError — A working time record with this external ID already exists
curl --location 'https://integrations.projectcor.com/v2/integrations/working-time' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"metadata": {
"source": "SAP"
},
"id": "SAP-WT-12345",
"user_id": "SAP-USER-67890",
"is_active": true,
"status": "active"
}'
{
"id": 50001,
"user_id": 8546,
"company_id": 1234,
"is_active": true,
"status": "active",
"created_at": "2025-01-10T14:30:00Z"
}