Add New Timesheet

POST/api/timesheets/

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area
curl -X POST "https://yoursite.com/api/timesheets/" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "field": "value" }'

Success-Response:

HTTP/1.1 200 OK
 {
     "status": true,
     "message": "Data Added Successfully"
 }

Error-Response:

   HTTP/1.1 404 Not Found
{
    "status": false,
    "error": "Data not Added"    
}
MethodPOST
Path/api/timesheets/
GroupTimesheets
Sincev0.0.0
Defined inmodules/api/controllers/Timesheets.php