POST
/
api
/
hris
/
v1
/
timesheet-entry
curl --request POST \
  --url https://api.bindbee.dev/api/hris/v1/timesheet-entry \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-connector-token: <x-connector-token>' \
  --data '{
  "employee": "018abccc-4a0a-7e7d-a9d7-56881f57a6b4",
  "date": "2023-11-10",
  "hours_worked": 12,
  "break_duration": 30,
  "start_time": "2023-11-10T00:00:00Z",
  "end_time": "2023-11-10T00:00:00"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-connector-token
string
required

Body

application/json
employee
string
required

The employee the timesheet entry is for.

date
string
required

The date the time was logged.

start_time
string
required

The day and time of the start of the time requested off.

end_time
string
required

The day and time of the end of the time requested off.

hours_worked
default:
0

The number of hours logged by the employee.

break_duration
number
default:
0

The number of hours the employee took for a break.

Response

201
application/json
Successful Response

The response is of type any.