Reassigns the message from one recipient to another recipient.
Method
POST
URL
https://localhost/Flowtime/_vti_bin/Flowtime/MessagesService.svc/ReassignRecipient
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
activityInstanceID | integer (long) | required | Activity Instance ID. |
fromUserId | integer | optional | User ID of the user that you want to remove from the message. |
toUserId | integer | optional | User ID of the user that you want to reassign the message to. |
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/MessagesService.svc/ReassignRecipient", data: JSON.stringify( { activityInstanceId: 123, fromUserId: 724, toUserId: 1130, }), 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 (data) { }, error: function (error) { console.log(error); } });
Success Response
CommandResult = true