Genpact Cora Knowledge Center

Support

POST /MessagesService.svc/ReassignRecipients

Reassigns the message from multiple recipients to other recipients.

Method

POST

URL

https://localhost/Flowtime/_vti_bin/Flowtime/MessagesService.svc/ReassignRecipients


Request Parameters

NameTypeRequiredDescription
activityInstanceIDinteger (long)requiredActivity Instance ID.
fromUserIdinteger (array)optionalUser IDs of the users that you want to remove from the message.
toUserIdinteger (array)optionalUser IDs of the users that you want to reassign the message to.

Example Request

$.ajax({
type: "POST",
url: "_vti_bin/Flowtime/MessagesService.svc/ReassignRecipients",
data: JSON.stringify(
{
activityInstanceId: 123,
fromUsersId: [724,1131],
toUsersId: [1,1136]
}),
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