v1API ReferenceOperators

Create operators

Create one or many operators. The body is a JSON array, even for a single record. Both firstName and lastName are optional, so a partially known operator can be created now and completed later with a PATCH.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

[index: integer]?

Response Body

application/json

application/json

Try it live
POST
/v1/operators

This endpoint requires authentication — paste a token in the Authorization section below.

curl -X POST "https://example.com/v1/operators" \  -H "Content-Type: application/json" \  -d '[    {}  ]'
[  {    "id": 1,    "company": {      "id": 1,      "name": "company 1"    },    "firstName": "Pérez",    "lastName": "Sánchez"  }]