Sample Message Exchange
Request
POST /scim/v1/mypharma/Bulk HTTP 1.1 Host: example.com Authorization: Basic Y3VzdG9tZXIuYWRtaW51c2VyOnBhc3N3b3Jk= Accept: application/json Content-Type: application/json Content-Length: ...
{
"schemas": ["urn:scim:schemas:core:2.0:BulkRequest"],
"failOnErrors":1,
"Operations":[
{
"method":"POST",
"path":"/Users",
"bulkId":"qwerty",
"data":{
"schemas": ["urn:scim:schemas:core:2.0:User"],
"userName":"Alice"
}
},
{
"method":"PUT",
"path":"/Users/b7c14771-226c-4d05-8860-134711653041",
"data":{
"schemas": ["urn:scim:schemas:core:2.0:User"],
"id":"b7c14771134711653041",
"userName":"Bob"
}
},
{
"method": "PATCH",
"path": "/Users/5d8d29d3a3cb6763ffcc",
"data": [
{
"op": "remove",
"path": "phoneNumbers"
},
{
"op": "replace",
"path": "userName",
"value": "Jonh.doe@mypharma.com"
}
]
},
{
"method":"DELETE",
"path":"/Users/e90253151e07454e468b"
}
]
}Response
HTTP/1.1 200 OK Content-Type: application/json Content-Length: ...
{
"schemas": ["urn:scim:schemas:core:2.0:BulkResponse"],
"Operations": [
{
"location": "https://hs-identity-api.oracleindustry.com/scim/v1/mypharma/Users/92b725cd01f8e146b87a",
"method": "POST",
"bulkId": "qwerty",
"status": {
"code": "201"
}
},
{
"location": "https://hs-identity-api.oracleindustry.com/scim/v1/mypharma/Users/b7c14771134711653041",
"method": "PUT",
"status": {
"code": "200"
}
},
{
"location": "https://hs-identity-api.oracleindustry.com/scim/v1/mypharma/Users/5d8d29d3a3cb6763ffcc",
"method": "PATCH",
"status": {
"code": "200"
}
},
{
"location": "https://hs-identity-api.oracleindustry.com/scim/v1/mypharma/Users/e90253151e07454e468b",
"method": "DELETE",
"status": {
"code": "204"
}
}
]
}Parent topic: Bulk API