Skip to Content
PeopleForce
Time

Deprecated

Company API v2 is deprecated. It no longer receives changes and will stop being supported, so move integrations to Company API v3, which serves every v2 path under /api/public/v3.

Bulk create timesheet entries

Deprecated

POST
/api/public/v2/time/timesheet_entries/bulk

Request Body

application/json
  1. body
data*array<>

Response Body

The records that were written, and an error for each that was not.

application/json
  1. response
records*
errors*
Example Request
curl -X POST 'https://app.peopleforce.io/api/public/v2/time/timesheet_entries/bulk' \  -H 'Content-Type: application/json' \  -d '{  "data": [    {      "employee_id": 0,      "entries": [        {          "starts_at": 0,          "ends_at": 0        }      ]    }  ]}'
Example Response
{  "records": {    "count": 0,    "data": [      {        "employee_id": 0,        "project_id": 0,        "timesheet_entry_id": 0      }    ]  },  "errors": {    "count": 0,    "data": [      {        "employee_id": 0,        "messages": [          "string"        ]      }    ]  }}