Set cell
PUT
apiKeyheader
AuthorizationBearer <token>An API key (blk_…) from Settings → API keys.
application/json- body
date*stringMatch
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Format
dateprojectId*|Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidtaskId*|Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidseconds*integerRange
0 <= value <= 86400application/json- response
weekStart*stringMatch
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Format
datedays*array<>Items
7 <= items <= 7rows*array<>approvalsEnabled*booleanapproval*|nulllocked*booleanlockedBefore*|Match
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Format
datecurl -X PUT 'https://your-billleaf-api/v1/time/timesheet/cell' \ -H 'Content-Type: application/json' \ -d '{ "date": "2019-08-24", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8", "seconds": 0}'Example Response200
{ "weekStart": "2019-08-24", "days": [ "2019-08-24", "2019-08-24", "2019-08-24", "2019-08-24", "2019-08-24", "2019-08-24", "2019-08-24" ], "rows": [ { "projectId": "string", "projectName": "string", "clientName": "string", "taskId": "string", "taskTitle": "string", "seconds": [ -9007199254740991, -9007199254740991, -9007199254740991, -9007199254740991, -9007199254740991, -9007199254740991, -9007199254740991 ], "lockedSeconds": [ -9007199254740991, -9007199254740991, -9007199254740991, -9007199254740991, -9007199254740991, -9007199254740991, -9007199254740991 ] } ], "approvalsEnabled": true, "approval": { "id": "string", "memberId": "string", "memberName": "string", "weekStart": "2019-08-24", "status": "submitted", "totalSeconds": -9007199254740991, "billableSeconds": -9007199254740991, "submittedAt": "2019-08-24T14:15:22Z", "reviewedAt": "2019-08-24T14:15:22Z", "reviewedByName": "string", "note": "string" }, "locked": true, "lockedBefore": "2019-08-24"}