SCIM ProcessDefinition examples
Operations
This page shows the operations that can be performed for the ProcessDefinitions object
List all
Request
GET http://<your-domain>/soffid/webservice/scim2/v1/ProcessDefinition
Response 200 OK
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 8,
"startIndex": 1,
"Resources": [
{
"author": "admin",
"meta": {
"location": "http://soffid.pat.lab:8080/soffid/webservice/scim2/v1/ProcessDefinition/1474063",
"resourceType": "ProcessDefinition"
},
"schemas": [
"urn:soffid:com.soffid.iam.bpm.api.ProcessDefinition"
],
"name": "User registration",
"deployed": "2021-02-11 16:42:08",
"tag": "27",
"id": 1474063,
"version": 27,
"enabled": true
},
{
"author": "admin",
"meta": {
"location": "http://soffid.pat.lab:8080/soffid/webservice/scim2/v1/ProcessDefinition/1857694",
"resourceType": "ProcessDefinition"
},
"schemas": [
"urn:soffid:com.soffid.iam.bpm.api.ProcessDefinition"
],
"name": "User request",
"deployed": "2021-04-15 16:10:11",
"tag": "19",
"id": 1857694,
"version": 19,
"enabled": true
},
.............
]
}
List by filter
List all ProcessDefinitions with a filter expression.
It is allowed to use pagination and sort the information, for more information visit the Sorting and Pagination information.
Request
GET http://<your-domain>/soffid/webservice/scim2/v1/ProcessDefinition?filter=name co request
Response 200 OK
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 2,
"startIndex": 1,
"Resources": [
{
"author": "admin",
"meta": {
"location": "http://soffid.pat.lab:8080/soffid/webservice/scim2/v1/ProcessDefinition/1946303",
"resourceType": "ProcessDefinition"
},
"schemas": [
"urn:soffid:com.soffid.iam.bpm.api.ProcessDefinition"
],
"name": "Permissions request",
"deployed": "2021-04-30 08:48:58",
"tag": "23",
"id": 1946303,
"type": "RoleApproval",
"version": 23,
"enabled": true
},
{
"author": "admin",
"meta": {
"location": "http://soffid.pat.lab:8080/soffid/webservice/scim2/v1/ProcessDefinition/1857694",
"resourceType": "ProcessDefinition"
},
"schemas": [
"urn:soffid:com.soffid.iam.bpm.api.ProcessDefinition"
],
"name": "User request",
"deployed": "2021-04-15 16:10:11",
"tag": "19",
"id": 1857694,
"version": 19,
"enabled": true
}
]
}
Query by id
Query a ProcessDefinition by its id (primary key).
Request
GET http://<your-domain>/soffid/webservice/scim2/v1/ProcessDefinition/1857694
Response 200 OK
{
"author": "admin",
"meta": {
"location": "http://soffid.pat.lab:8080/soffid/webservice/scim2/v1/ProcessDefinition/1857694",
"resourceType": "ProcessDefinition"
},
"schemas": [
"urn:soffid:com.soffid.iam.bpm.api.ProcessDefinition"
],
"name": "User request",
"deployed": "2021-04-15 16:10:11",
"tag": "19",
"id": 1857694,
"version": 19,
"enabled": true
}
Create
This operation is not allowed.
Update partial
This operation is not allowed.
Update all
This operation is not allowed.
Delete
This operation is not allowed.
Error response
For more information about error response visit https://bookstack.soffid.com/link/116#bkmrk-error-response