Timesheets - Request Timesheet Information
GET yourdomain.com/api/timesheets/:id
Parameter
json
Field | Type | Description |
---|---|---|
id | id |
Data id ID. |
Success 200
json
Field | Type | Description |
---|---|---|
Data | Object |
Information |
Error 4xx
json
Name | Description |
---|---|
DataNotFound |
The id of the data was not found. |
HTTP/1.1 200 OK
[
{
"task_id": "2",
"start_time": "10:00:00",
"end_time": "12:00:00",
"staff_id ": "2",
"hourly_rate": "5.00",
"note": "testing note",
}
]
HTTP/1.1 404 Not Found
{
"status": false,
"message": "No data were found"
}