Skip to content

Tools4everBV/HelloID-Conn-Prov-Target-Sibi

Repository files navigation

HelloID-Conn-Prov-Target-Sibi

⚠️ Warning
Note that this connector is "a work in progress" and therefore not ready to use in your production environment.
ℹ️ Information
This repository contains the connector and configuration code only. The implementer is responsible to acquire the connection details such as username, password, certificate, etc. You might even need to sign a contract or agreement with the supplier before implementing this connector. Please contact the client's application manager to coordinate the connector requirements.

Table of contents

Introduction

HelloID-Conn-Prov-Target-Sibi is a target connector. Sibi provides a set of REST API's that allow you to programmatically interact with its data. The HelloID connector uses the API endpoints listed in the table below.

Endpoint Description
/api/employees Actions about employees

The API documentation can be found on: https://app.sibi.dev/api

The HelloID connector consists of the template scripts shown in the following table.

Action Action(s) Performed Comment
create.ps1 Correlate or create Sibi user
update.ps1 Update Sibi user
enable.ps1 Enable Sibi user There is no enable option, we can only set the startdate to the current date (or earlier)
disable.ps1 Disable Sibi user There is no disable option, we can only set the enddate to the current date (or earlier)
delete.ps1 Delete Sibi user There is no delete option, we can only set the enddate to the past

Getting started

Connection settings

The following settings are required to connect to the API.

Setting Description Mandatory
Token The token needed to authenticate to the API. This must be extracted from the application Yes
BaseUrl The Base URL to the API like: https://{customer}.sibi.nl/api Yes
Update User when correlating and mapped data differs from data in Sibi When toggled, the mapped properties will be updated in the create action (not just correlate). No

Prerequisites

Before using this connector, make sure you have the appropriate API key to connect to the API.

Creation / correlation process

A new functionality is the possibility to update the account in the target system during the correlation process. By default, this behavior is disabled. Meaning, the account will only be created or correlated.

You can change this behavior in the configuration by setting the enabling Update User when correlating and mapped data differs from data in Sibi option.

Be aware that this might have unexpected implications.

Remarks

Sibi API

  • Since the Sibi API Rate Limiting allows a maximum of 200 requests a minute, we delay each action by 301 miliseconds.

    This will only work as correct way to limit the API calls per minute if the concurrent actions are set to 1

  • The Active field is currently not being used in the API.

    We enable or disable users by setting the employment_start or employment_end field

  • When a new user is created, the fields: department_code department_name job_position_code job_position_name are mandatory. Typically, this data comes from an external system and will be used within Sibi to connector these fields to groups.

For the connector, we provide the values known to us.

  • Different [Account] and [UpdateAccount] object.

When a new user is created, the JSON payload is a 'flat' object containing the department_code department_name job_position_code job_position_name fields. The response however is that department and job_position are both hashtables. This means that, in order to update a user, we have to use a slightly different object that incorporates these hashtables.

  • The fields department.location, department.id, job_position.function_group and job_position.id can be ignored and set to a null value. These fields are only used when an external system is integrated with Sibi.

Getting help

For more information on how to configure a HelloID PowerShell connector, please refer to our documentation pages

If you need help, feel free to ask questions on our forum

HelloID docs

The official HelloID documentation can be found at: https://docs.helloid.com/