Genpact Cora Knowledge Center

Support

POST /SharedInstancesService.svc/ShareInstanceByUser

Shares a process with a single user.

Method

GET

URL

https://localhost/Flowtime/_vti_bin/Flowtime/sharedInstancesService.svc/ShareInstanceByUser

Request Parameters

NameTypeRequiredDescription
workflowInstanceIdinteger (long)requiredWorkflow instance ID of the process that you want to share.
userIdintegerrequiredUser ID of the user who you want to share the process with.
PageSizeintegeroptionalNumber of records returned on a page.
PageNumintegeroptionalNumber of the page to retrieve records for.


Example Request

$.ajax({
type: "POST",
url: "_vti_bin/Flowtime/sharedInstancesService.svc/ShareInstanceByUser",
data: JSON.stringify(
{
workflowInstanceId:123
userId:724
}),
headers:
{
"uiculture": "en-GB",
"culture": "en-GB",
"theme": "/Flowtime/Shared Resources/Themes/Sequence8/",
"X-SqXsrfToken":xsrf,
"config": "Portal"
},
dataType: "json",
contentType: "application/json; charset=utf-8",
success: function () {
},
error: function (error) {
console.log(error);
}
 });

Response

Void