1. Overview
These services expose capabilities to manage employees lifecycle with SAP Identity Authentication Service and SAP Identity Provisioning Service.
1.1. Version information
Version : 2.0.0
1.2. License information
License : Use of this file is subject to the terms of your agreement with SAP SE or its affiliates respecting the use of the SAP product for which this file relates.
Terms of service : null
1.3. URI scheme
Host : hostname
BasePath : /scim/v2
1.4. Tags
-
Scim Groups : Scim Groups Controller
-
Scim Users : Scim Users Controller
2. Paths
2.1. Create a scim group in Commerce
POST /Groups
2.1.1. Description
Endpoint to create a scim group in Commerce
2.1.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Body |
scimGroup |
The ScimGroup that contains information about the group. |
2.1.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.1.4. Consumes
-
application/json
2.1.5. Produces
-
application/json
2.1.6. Tags
-
Scim Groups
2.1.7. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
2.2. Get all scim groups from commerce
GET /Groups
2.2.1. Description
Endpoint to retrieve all existing scim groups along with their members from Commerce.
2.2.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
count |
Total number of scim groups to be fetched from Commerce on a page. |
integer (int32) |
|
Query |
startIndex |
The starting point for fetch of scim groups from Commerce on a page. |
integer (int32) |
|
2.2.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.2.4. Produces
-
application/json
2.2.5. Tags
-
Scim Groups
2.2.6. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
2.3. Get group from Commerce
GET /Groups/{groupId}
2.3.1. Description
Endpoint to get the details of scim group along with members from Commerce according to the group-id provided
2.3.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
groupId |
Group ID of the Scim Group to fetch. |
string |
2.3.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.3.4. Produces
-
application/json
2.3.5. Tags
-
Scim Groups
2.3.6. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
2.4. Update group in Commerce
PUT /Groups/{groupId}
2.4.1. Description
Endpoint to update details of a scim group in Commerce for which Id is provided
2.4.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
groupId |
Group ID of the Scim Group to update. |
string |
Body |
scimGroup |
The ScimGroup that contains the information to be updated. |
2.4.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.4.4. Consumes
-
application/json
2.4.5. Produces
-
application/json
2.4.6. Tags
-
Scim Groups
2.4.7. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
2.5. Delete scim group from Commerce
DELETE /Groups/{groupId}
2.5.1. Description
Endpoint to delete scim group from Commerce for which id is provided
2.5.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
groupId |
Group ID of the Scim Group to delete. |
string |
2.5.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
boolean |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.5.4. Tags
-
Scim Groups
2.5.5. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
2.6. Patch update scim group in commerce
PATCH /Groups/{groupId}
2.6.1. Description
Endpoint to update scim group in Commerce with the details provided
2.6.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
groupId |
Group ID of the Scim Group to update. |
string |
Body |
scimGroup |
The ScimGroup that contains the information to be updated. |
2.6.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.6.4. Consumes
-
application/json
2.6.5. Produces
-
application/json
2.6.6. Tags
-
Scim Groups
2.6.7. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
2.7. Create user of type Employee
POST /Users
2.7.1. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Body |
scimUser |
The ScimUser that contains information about the user |
2.7.2. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.7.3. Consumes
-
application/json
2.7.4. Produces
-
*/*
2.7.5. Tags
-
Scim Users
2.7.6. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
2.8. Get users of type Employee
GET /Users
2.8.1. Description
Endpoint to retrive all users of type Employee from Commerce
2.8.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
count |
Total number of users to be fetched from Commerce on a page. |
integer (int32) |
|
Query |
startIndex |
The starting point for fetch of users from Commerce on a page. |
integer (int32) |
|
2.8.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.8.4. Produces
-
application/json
2.8.5. Tags
-
Scim Users
2.8.6. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
2.9. Get user of type Employee
GET /Users/{userId}
2.9.1. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
userId |
User ID of the User |
string |
2.9.2. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.9.3. Produces
-
*/*
2.9.4. Tags
-
Scim Users
2.9.5. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
2.10. Update user of type Employee
PUT /Users/{userId}
2.10.1. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
userId |
User ID of the User |
string |
Body |
scimUser |
The ScimUser that contains information about the user |
2.10.2. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.10.3. Consumes
-
application/json
2.10.4. Produces
-
*/*
2.10.5. Tags
-
Scim Users
2.10.6. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
2.11. Disable Employee
DELETE /Users/{userId}
2.11.1. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
userId |
User ID of the User |
string |
2.11.2. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
boolean |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.11.3. Produces
-
*/*
2.11.4. Tags
-
Scim Users
2.11.5. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
2.12. Patch update Employee
PATCH /Users/{userId}
2.12.1. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
userId |
User ID of the User |
string |
Body |
scimUser |
The ScimUser that contains information about the user |
2.12.2. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.12.3. Consumes
-
application/json
2.12.4. Produces
-
*/*
2.12.5. Tags
-
Scim Users
2.12.6. Security
| Type | Name | Scopes |
|---|---|---|
oauth2 |
basic |
3. Definitions
3.1. ScimGroup
An authorization group in Commerce
| Name | Description | Schema |
|---|---|---|
displayName |
name of the scim group |
string |
id |
id of the scim group |
string |
members |
list of members of the group |
< ScimGroupMember > array |
meta |
3.2. ScimGroupList
List of all the scim groups
| Name | Description | Schema |
|---|---|---|
itemsPerPage |
Total number of scim groups to be fetched from Commerce on a page. |
integer (int32) |
resources |
List of all the scim groups fetched from Commerce |
< ScimGroup > array |
startIndex |
The starting point for fetch of scim groups from Commerce on a page. |
integer (int32) |
totalResults |
Total number of scim groups exists in Commerce. |
integer (int32) |
3.3. ScimGroupMember
Users who are members of the scim group
| Name | Description | Schema |
|---|---|---|
display |
name of the member |
string |
value |
id of the member |
string |
3.4. ScimGroupMeta
Metadata of a scim group
| Name | Description | Schema |
|---|---|---|
created |
creation date and time of the scim group |
string (date-time) |
lastModified |
date and time when scim group was last updated |
string (date-time) |
resourceType |
type of scim resource |
string |
version |
version of scim |
integer (int32) |
3.5. ScimUser
| Name | Schema |
|---|---|
active |
boolean |
created |
string (date-time) |
displayName |
string |
emails |
< ScimUserEmail > array |
externalId |
string |
groups |
< ScimUserGroup > array |
id |
string |
lastModified |
string (date-time) |
locale |
string |
meta |
|
name |
|
nickName |
string |
phoneNumbers |
< ScimUserPhoneNumber > array |
preferredLanguage |
string |
profileUrl |
string |
timezone |
string |
title |
string |
userName |
string |
userType |
string |
verified |
boolean |
3.6. ScimUserEmail
| Name | Schema |
|---|---|
primary |
boolean |
value |
string |
3.7. ScimUserGroup
| Name | Schema |
|---|---|
display |
string |
type |
string |
value |
string |
3.8. ScimUserList
List of all the users of type employee
| Name | Description | Schema |
|---|---|---|
itemsPerPage |
Total number of users of type employee to be fetched from Commerce on a page. |
integer (int32) |
resources |
List of all the users of type employee fetched from Commerce |
< ScimUser > array |
startIndex |
The starting point for fetch of users of type employee to be fetched from Commerce on a page. |
integer (int32) |
totalResults |
Total number of users of type employee exists in Commerce. |
integer (int32) |
3.9. ScimUserMeta
| Name | Schema |
|---|---|
created |
string (date-time) |
lastModified |
string (date-time) |
version |
integer (int32) |
3.10. ScimUserName
| Name | Schema |
|---|---|
displayName |
string |
familyName |
string |
givenName |
string |
honorificPrefix |
string |
3.11. ScimUserPhoneNumber
| Name | Schema |
|---|---|
type |
string |
value |
string |
4. Security
4.1. oauth2_client_credentials
Type : oauth2
Flow : application
Token URL : https://{oauth2_url}/authorizationserver/oauth/token
| Name |
|---|
basic |