cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SCIM 2.0 API - User Provisioning - Bulk Operations (BulkRequest)

Thibault_dockx
Explorer
1,895

Hi All,

(See correct URL for bulk in comments)

Recently started investigating SCIM 2.0 API functionality for Datasphere. I managed to create a single user, as well as delete a user. So authorization wise I should not encounter any issues.

Now for bulk operations following scheme needs to be used: 

"schemas": ["urn:ietf:params:scim:api:messages:2.0:BulkRequest"]

Running this for both the creation of users as well as for the deletion of users, it doens't seem to work. I received a 400 error ("Request is unparsable, syntactically incorrect, or violates schema").

 
Looking a bit deeper into the list of all avaible schemas under ../scim2/schemas, I don't see the BulkRequest schema listed.
 
I did check the /scim2/ServiceProviderConfig and bulk is supported: 
"bulk":{"supported":true,"maxOperations":30,"maxPayloadSize":3072000}
 
Anyone managed to use this BulkRequest schema and if so how?
Thanks in advance!
 
Kind Regards,
Thibault

Accepted Solutions (0)

Answers (1)

Answers (1)

Matthew_Shaw
Product and Topic Expert
Product and Topic Expert

My api samples for SAP Analytics Cloud uses the bulk operation. Please look at the samples that start with a '2' at https://community.sap.com/t5/technology-blogs-by-sap/sap-analytics-cloud-user-and-team-provisioning-...

 

The samples are currently for SAP Analytics Cloud but the syntax is the same for Datasphere. I will be adding Datasphere examples and those will start with a '3'. 

 

You'll find in those samples my suggested way to manage errors. The user guide for my samples also explains how the bulk operations work. 

In short your syntax is slightly out. 

All the best Matthew