Genpact Cora Knowledge Center

Support

POST /MessagesService.svc/AddRecipients

Adds multiple recipients to a message in Flowtime.

Method

POST

URL

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


Request Parameters

NameTypeRequiredDescription
activityInstanceIDinteger (long)requiredActivity Instance ID.
userIdinteger (array)requiredUser IDs of the users that you want to add to the message.
PageSizeintegeroptionalNumber of records returned on a page.
PageNumintegeroptionalNumber of the page to retrieve records for.

Example Request

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