Skip to Content
PeopleForce
Time

Bulk create timesheet entries

POST
/api/public/v3/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/v3/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"        ]      }    ]  }}