Cora Knowledge Center

Support

POST /MessagesService.svc/RemoveRecipient

Remove a single recipient from a message in Flowtime.

Method

POST

URL

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


Request Parameters

NameTypeRequiredDescription
activityInstanceIDinteger (long)requiredActivity Instance ID.
userIdintegeroptionalUser ID of the user that you want to remove from the message.

Example Request

$.ajax({
type: "POST",
url: "_vti_bin/Flowtime/MessagesService.svc/RemoveRecipient",
data: JSON.stringify(
{
activityInstanceId: 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 (data) {
},
error: function (error) {
console.log(error);
}
 });

Success Response

CommandResult = true