Headers
-
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
POST
/api-v1/my-timesheet
curl \
--request POST 'https://wyzio.app/api-v1/my-timesheet' \
--header "Content-Type: application/json" \
--header "TARGET-ORGANIZATION-ID: 42" \
--header "WEAL-TOKEN: string" \
--data '{"clientId":42,"clientName":"string","date":"string","description":"string","endTime":"2025-05-04T09:42:00Z","id":42,"isBillable":true,"isLocked":true,"orderId":42,"orderName":"string","startTime":"2025-05-04T09:42:00Z","status":"UNSUBMITTED","taskId":42,"taskName":"string","time":"string"}'
Request examples
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string
# Payload
{
"clientId": 42,
"clientName": "string",
"date": "string",
"description": "string",
"endTime": "2025-05-04T09:42:00Z",
"id": 42,
"isBillable": true,
"isLocked": true,
"orderId": 42,
"orderName": "string",
"startTime": "2025-05-04T09:42:00Z",
"status": "UNSUBMITTED",
"taskId": 42,
"taskName": "string",
"time": "string"
}
Response examples (200)
{
"data": {},
"error": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"data": "string",
"errorCode": "string",
"fieldName": "string",
"isSevere": true
}
]
},
"valid": true
}