Stampfactory
Dokumentation
Standorte

Mitarbeitende einem Standort zuweisen

POST
/locations/{location}/employees
AuthentifizierungBearer <token>

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Ort: header

Pfadparameter

location*string

The location ID

Formatuuid

Request-Body

application/json

TypeScript-Definitionen

TypeScript-Typ für request body.

Response-Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/locations/497f6eca-6276-4993-bfeb-53cbbbba6f08/employees" \  -H "Content-Type: application/json" \  -d '{    "employee_ids": [      "215219bf-b54d-40de-bffb-8b96026512e7"    ]  }'
{  "message": "Employees assigned."}