Get Many Competences
| select | Array of strings Select Competence fields, comma-separated. (e.g. |
object Filters conditions per field. (e.g. | |
| limit | integer Limit amount of received Competences. (e.g. |
| offset | integer Offset amount of received Competences. (e.g. |
object Sort received Competences by field. (e.g. |
curl -i -X GET \ https://api.alexishr.com/v1/competence \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "status": "ok",
- "data": [
- {
- "id": "string",
- "companyId": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "scopeId": "string",
- "isRequired": true
}
], - "total": 500,
- "count": 50,
- "offset": 50,
- "relations": { }
}Create One Competence
| companyId required | string |
| type required | string |
| name required | string |
| description | string |
object (CreateScopeRequest) | |
| isRequired | boolean |
curl -i -X POST \ https://api.alexishr.com/v1/competence \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "companyId": "string", "type": "string", "name": "string" }'
{- "status": "ok",
- "data": {
- "id": "string",
- "companyId": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "scopeId": "string",
- "isRequired": true
}
}Get One Competence
| id required | string Resource Id Example: 507f1f77bcf86cd799439011 |
| select | Array of strings Select Competence fields, comma-separated. (e.g. |
curl -i -X GET \ https://api.alexishr.com/v1/competence/:id \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "status": "ok",
- "data": {
- "id": "string",
- "companyId": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "scopeId": "string",
- "isRequired": true
}, - "relations": { }
}Update One Competence
| id required | string Resource Id Example: 507f1f77bcf86cd799439011 |
| name | string |
| description | string |
object (UpdateScopeRequest) | |
| isRequired | boolean |
curl -i -X PATCH \ https://api.alexishr.com/v1/competence/:id \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{}'
{- "status": "ok",
- "data": {
- "id": "string",
- "companyId": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "scopeId": "string",
- "isRequired": true
}
}Replace One Competence
| id required | string Resource Id Example: 507f1f77bcf86cd799439011 |
| name | string |
| description | string |
object (UpdateScopeRequest) | |
| isRequired | boolean |
curl -i -X PUT \ https://api.alexishr.com/v1/competence/:id \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{}'
{- "status": "ok",
- "data": {
- "id": "string",
- "companyId": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "scopeId": "string",
- "isRequired": true
}
}Delete One Competence
| id required | string Resource Id Example: 507f1f77bcf86cd799439011 |
curl -i -X DELETE \ https://api.alexishr.com/v1/competence/:id \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "status": "ok",
- "data": { }
}