POST /v1/hr/employees/{employeeId}/skills/{skillId}/grant-xp
POST/v1/hr/employees/{employeeId}/skills/{skillId}/grant-xp
CodeMeta OS API endpoint.
Request body
| Name | Type | Description |
|---|
xprequired | integer | |
reason | string | |
Path parameters
| Name | Type | Description |
|---|
employeeIdrequired | string | |
skillIdrequired | string | |
Example
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"
});
Response codes
| HTTP |
Meaning |
200 |
Default Response |