Query parameters
-
Optional date in ISOString to filter by the
weekStartfield. Gets converted to start of ISO week. Defaults to start of ISO week of 1 week in the past. Note: The difference offromDateandtoDatecannot exceed 2 weeks. -
Required if
fromDateis provided. Date in ISOString to filter by theweekEndfield. Gets converted to end of ISO week. Defaults to end of ISO week of today. Note: The difference offromDateandtoDatecannot exceed 2 weeks. -
One or more statuses to filter the timesheets by.
-
The timesheet type to filter timesheets by. That is, either
companyorproject. -
A date query to filter the results by the last
updatedAtfield. Format is[operation] [date], e.g.updatedAt=gt 2025-02-24T00:00:00.000Z. Acceptable operations arelt= lower than,lte= lower than or equal,gt= greater than,gte= greater than or equal. The date is in ISOString. -
Filter the results by a single person.
-
One or more properties to be included in the response, instead of the full payload. E.g.
select=clients,departments
curl \
--request GET 'https://open.api.missionx.ai/v1/timesheets' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"value": [
{
"_id": "string",
"createdBy": "string",
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z",
"type": "company",
"status": "draft",
"customId": "string",
"weekOfDate": "string",
"weekStart": "string",
"weekEnd": "string",
"person": "string",
"entries": [
{
"description": "string",
"hours": [
{
"day": "MON",
"value": 42.0
}
],
"codeId": "string"
}
]
}
]
}