Appearance
TimeSheetDay
Per-day time-sheet rows. Cover the workflow (draft → submitted → approved/declined) and manual overrides on top of the server-computed daily totals.
OpenAPI Spec
List TimeSheetDays
GET
/v1/time-sheet-days
List TimeSheetDays
Authorizations
apiKey
Type
HTTP (bearer)
Parameters
Query Parameters
page
Type
number
Minimum
0Default
0size
Type
number
Minimum
1Maximum
20Default
10id
userId
day
status
submittedAt
approvedAt
externalId
createdAt
updatedAt
Responses
List response
application/json
{
"page": 0,
"pages": 0,
"size": 10,
"items": [
{
"id": 0,
"userId": 0,
"day": "string",
"status": "string",
"note": "string",
"declinedNote": "string",
"startsAt": "string",
"endsAt": "string",
"breakTime": 0,
"duration": 0,
"expectedDuration": 0,
"breakTimeErrorType": "string",
"breakTimeErrorExpected": 0,
"breakTimeErrorValue": 0,
"breakTimeErrorDurationMin": 0,
"durationErrorExpected": 0,
"durationErrorValue": 0,
"submittedAt": "string",
"submittedFirstAt": "string",
"approvedAt": "string",
"approvedById": 0,
"declinedAt": "string",
"declinedById": 0,
"manipulatedAt": "string",
"manipulatedById": 0,
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}
]
}
Create a new TimeSheetDay
POST
/v1/time-sheet-days
Create a new TimeSheetDay
Authorizations
apiKey
Type
HTTP (bearer)
Request Body
application/json
{
"userId": 0,
"day": "string",
"status": "string",
"note": "string",
"declinedNote": "string",
"startsAt": "string",
"endsAt": "string",
"breakTime": 0,
"duration": 0,
"externalId": "string"
}
Responses
TimeSheetDay found
application/json
{
"id": 0,
"userId": 0,
"day": "string",
"status": "string",
"note": "string",
"declinedNote": "string",
"startsAt": "string",
"endsAt": "string",
"breakTime": 0,
"duration": 0,
"expectedDuration": 0,
"breakTimeErrorType": "string",
"breakTimeErrorExpected": 0,
"breakTimeErrorValue": 0,
"breakTimeErrorDurationMin": 0,
"durationErrorExpected": 0,
"durationErrorValue": 0,
"submittedAt": "string",
"submittedFirstAt": "string",
"approvedAt": "string",
"approvedById": 0,
"declinedAt": "string",
"declinedById": 0,
"manipulatedAt": "string",
"manipulatedById": 0,
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}
Get a TimeSheetDay
GET
/v1/time-sheet-days/{timeSheetDayId}
Get a TimeSheetDay by ID
Authorizations
apiKey
Type
HTTP (bearer)
Parameters
Path Parameters
timeSheetDayId*
Type
Requiredinteger
Format
"int32"Responses
TimeSheetDay found
application/json
{
"id": 0,
"userId": 0,
"day": "string",
"status": "string",
"note": "string",
"declinedNote": "string",
"startsAt": "string",
"endsAt": "string",
"breakTime": 0,
"duration": 0,
"expectedDuration": 0,
"breakTimeErrorType": "string",
"breakTimeErrorExpected": 0,
"breakTimeErrorValue": 0,
"breakTimeErrorDurationMin": 0,
"durationErrorExpected": 0,
"durationErrorValue": 0,
"submittedAt": "string",
"submittedFirstAt": "string",
"approvedAt": "string",
"approvedById": 0,
"declinedAt": "string",
"declinedById": 0,
"manipulatedAt": "string",
"manipulatedById": 0,
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}
Update a TimeSheetDay
PATCH
/v1/time-sheet-days/{timeSheetDayId}
Update a TimeSheetDay by ID
Authorizations
apiKey
Type
HTTP (bearer)
Parameters
Path Parameters
timeSheetDayId*
Type
Requiredinteger
Format
"int32"Request Body
application/json
{
"status": "string",
"note": "string",
"declinedNote": "string",
"startsAt": "string",
"endsAt": "string",
"breakTime": 0,
"duration": 0,
"externalId": "string"
}
Responses
TimeSheetDay found
application/json
{
"id": 0,
"userId": 0,
"day": "string",
"status": "string",
"note": "string",
"declinedNote": "string",
"startsAt": "string",
"endsAt": "string",
"breakTime": 0,
"duration": 0,
"expectedDuration": 0,
"breakTimeErrorType": "string",
"breakTimeErrorExpected": 0,
"breakTimeErrorValue": 0,
"breakTimeErrorDurationMin": 0,
"durationErrorExpected": 0,
"durationErrorValue": 0,
"submittedAt": "string",
"submittedFirstAt": "string",
"approvedAt": "string",
"approvedById": 0,
"declinedAt": "string",
"declinedById": 0,
"manipulatedAt": "string",
"manipulatedById": 0,
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}
Get a TimeSheetDay by user and day
GET
/v1/time-sheet-days/by-user
Look up a single TimeSheetDay by userId and day. The row is created on demand if it does not yet exist (parent week and month are auto-resolved). Requests for a day more than 3 calendar months in the future are rejected with 400.
Authorizations
apiKey
Type
HTTP (bearer)
Parameters
Query Parameters
userId*
Type
Requiredinteger
day*
Type
Requiredstring
Format
"date"Responses
TimeSheetDay found
application/json
{
"id": 0,
"userId": 0,
"day": "string",
"status": "string",
"note": "string",
"declinedNote": "string",
"startsAt": "string",
"endsAt": "string",
"breakTime": 0,
"duration": 0,
"expectedDuration": 0,
"breakTimeErrorType": "string",
"breakTimeErrorExpected": 0,
"breakTimeErrorValue": 0,
"breakTimeErrorDurationMin": 0,
"durationErrorExpected": 0,
"durationErrorValue": 0,
"submittedAt": "string",
"submittedFirstAt": "string",
"approvedAt": "string",
"approvedById": 0,
"declinedAt": "string",
"declinedById": 0,
"manipulatedAt": "string",
"manipulatedById": 0,
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}