Add a Case Stakeholder

post

/cases/{id}/stakeholders

Adds a case stakeholder.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
Request Body - application/json ()
Root Schema : schema
Type: object
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: object
Back to Top

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

Back to Top