post https://bonus.ly/api/scim11/Users
Create a new user in Bonusly. If a deactivated user with the same userName
is found that user will be reactivated and updated to match any passed in
attributes. If a user already exists with the specified userName
the API will
return a 409.
- Parameters:
- userName (string, required) - A unique identifier for the user. This will
be imported into Bonusly as the user'semail
. - name.givenName (string, optional) - This will be imported into Bonusly as
the user'sfirstName
. - name.familyName (string, optional) - This will be imported into Bonusly as
the user'slastName
. - externalId (string, optional) - This will be imported into Bonusly as the user's
external_unique_id
. - urn:scim:schemas:extension:enterprise:1.0.department (string, optional) -
This will be imported into Bonusly as the user'sdepartment
custom property. - urn:scim:schemas:extension:bonusly:1.0:User.location (string, optional) -
This will be imported into Bonusly as the user'slocation
custom property. - urn:scim:schemas:extension:bonusly:1.0:User.employee_id (string, optional) -
This will be imported into Bonusly as the user'semployee_id
custom property. - urn:scim:schemas:extension:bonusly:1.0:User.role (string, optional) -
This will be imported into Bonusly as the user'srole
custom property. - urn:scim:schemas:extension:bonusly:1.0:User.job_title (string, optional) -
This will be imported into Bonusly as the user'sjob_title
custom property. - urn:scim:schemas:extension:bonusly:1.0:User.division (string, optional) -
This will be imported into Bonusly as the user'sdivision
custom property. - urn:scim:schemas:extension:bonusly:1.0:User.business_unit (string, optional) -
This will be imported into Bonusly as the user'sbusiness_unit
custom property. - urn:scim:schemas:extension:bonusly:1.0:User.user_mode (string, optional) -
This will be imported into Bonusly as the user'suser_mode
- defaults to "normal", can be "benefactor" or "receiver". - urn:scim:schemas:extension:bonusly:1.0:User.manager_email (string, optional) -
This will be imported into Bonusly as the user'smanager_email
- this will set the user's manager to the existing user with the matching e-mail address. - urn:scim:schemas:extension:bonusly:1.0:User.hired_on (string, optional) - format: YYYY-MM-DD
This will be imported into Bonusly as the user'shired_on
. - urn:scim:schemas:extension:bonusly:1.0:User.date_of_birth (string, optional) - format: YYYY-MM-DD.
This will be imported into Bonusly as the user'sdate_of_birth
. Bonusly only stores the month and day. The year will be stripped.
- userName (string, required) - A unique identifier for the user. This will