Skip to content

HR

Imports use the integration code (integrationCode) from your HR system to link positions, employees and skills to each other.

Recommended order:

  1. Positions: POST /HrmOrganizationChart/External/ImportPositions (superior position via integrationCodeSuperiorPosition).
  2. Employees: POST /HrmUserInfos/External/ImportEmployees (position via positionIntegrationCode, employee by email).
  3. Skills: POST /HrmSkills/External/ImportSkills.
  4. Skills by position: POST /HrmSkills/External/ImportPositionSkills.
  5. 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.

Terminal window
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.