GET
/timesheets/{timesheetId}
curl \
--request GET 'https://open.api.missionx.ai/v2/timesheets/{timesheetId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
Timesheetcompany
{
"_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"
}
]
}
{
"_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",
"planItem": "string",
"project": "string",
"entries": [
{
"description": "string",
"hours": [
{
"day": "MON",
"value": 42.0
}
],
"codeId": "string",
"taskId": "string"
}
]
}
Response examples (400)
{
"message": "string",
"code": "string",
"data": {}
}
Response examples (500)
{
"message": "string",
"code": "string",
"data": {}
}