Add a Case Stakeholder
post
/cases/{id}/stakeholders
Adds a case stakeholder.
Request
There are no request parameters for this operation.
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
object
Root Schema : schema
Type:
object
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success
Root Schema : schema
Type:
object
Examples
The following example shows a response body for adding a case stakeholder.
{ "type": "stakeHolders", "levels": 0, "links": [{ "rel": "back", "href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c" }, { "rel": "self", "href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c/stakeholders" }], "stakeholder": { "stakeholder": [{ "name": "Admin", "members": [{ "memberName": "jstein", "memberType": "USER" }] }, { "name": "Car park assistant", "members": [{ "memberName": "EURent.CarParkAssistant", "memberType": "APPLICATION_ROLE" }] }, { "name": "Front desk", "members": [{ "memberName": "EURent.FrontDeskClerk", "memberType": "APPLICATION_ROLE" }] }, { "name": "Rental manager", "members": [{ "memberName": "EURent.Manager", "memberType": "APPLICATION_ROLE" }] }, { "name": "Test_StakeHolder", "members": [{ "memberName": "James Cooper", "memberType": "USER" }] }] } }
For more information about cURL, see Use cURL