API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

POST /v1/hr/employees/{employeeId}/skills/{skillId}/grant-xp

POST/v1/hr/employees/{employeeId}/skills/{skillId}/grant-xp

CodeMeta OS API endpoint.

Request Body

NameTypBeschreibung
xperforderlichinteger
reasonstring

Pfad-Parameter

NameTypBeschreibung
employeeIderforderlichstring
skillIderforderlichstring

Beispiel

curl -X POST https://api.codemeta-os.de/v1/hr/employees/{employeeId}/skills/{skillId}/grant-xp \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "xp": 0,
  "reason": "string"
}'
const result = await cm.hr.post({
  "xp": 0,
  "reason": "string"
});

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche