Skip to Content
PeopleForce
Time

Create timesheet entry

POST
/api/public/v3/time/timesheet_entries

Request Body

application/json
  1. body
employee_id*integer
Formatint64
starts_at*integer
Formatint64
ends_at*integer
Formatint64
comment?string
project_id?integer
Formatint64

Response Body

The timesheet entry.

application/json
  1. response
data*
Example Request
curl -X POST 'https://app.peopleforce.io/api/public/v3/time/timesheet_entries' \  -H 'Content-Type: application/json' \  -d '{  "employee_id": 0,  "starts_at": 0,  "ends_at": 0}'
Example Response
{  "data": {    "id": 0,    "employee_id": 0,    "project_id": 0,    "starts_at": "2019-08-24T14:15:22Z",    "ends_at": "2019-08-24T14:15:22Z",    "date": "2019-08-24",    "minutes": 0,    "type": "working",    "comment": "string"  }}