Shares a process with a single user.
Method
GET
URL
https://localhost/Flowtime/_vti_bin/Flowtime/sharedInstancesService.svc/ShareInstanceByUser
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
workflowInstanceId | integer (long) | required | Workflow instance ID of the process that you want to share. |
userId | integer | required | User ID of the user who you want to share the process with. |
PageSize | integer | optional | Number of records returned on a page. |
PageNum | integer | optional | Number 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