HR
Imports use the integration code (integrationCode) from your HR system to link positions, employees and skills to each other.
Recommended order:
- Positions:
POST /HrmOrganizationChart/External/ImportPositions(superior position viaintegrationCodeSuperiorPosition). - Employees:
POST /HrmUserInfos/External/ImportEmployees(position viapositionIntegrationCode, employee byemail). - Skills:
POST /HrmSkills/External/ImportSkills. - Skills by position:
POST /HrmSkills/External/ImportPositionSkills. - Skills by employee:
POST /HrmSkills/External/ImportEmployeeSkills.
Each import takes a list and returns a summary: records processed, records imported, and the error message, if any.
curl -X POST https://api-prod.scoreplan.com.br/HrmOrganizationChart/External/ImportPositions \ -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \ -d '[{"integrationCode": "CARGO-01", "description": "Operations manager", "active": true}]'The listings (GET /HrmOrganizationChart/External/List, GET /HrmUserInfos/External/List and the HrmSkills ones) are paginated with Page and RowsPerPage.