Genpact Cora Knowledge Center

Support

POST /MessagesService.svc/FetchMessage

Fetch a broadcast task to the current user.

Method

POST

URL

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


Request Parameters

NameTypeRequiredDescription
messageInstanceIdintegerrequiredMessage ID for the user you want to fetch the task for.

Example Request

$.ajax({
type: 'POST',
url: "https://server:port/Flowtime/_vti_bin/Flowtime/MessagesService.svc/FetchMessage",
contentType: "application/json; charset=utf-8",
dataType: "json",
data: JSON.stringify({ 'messageInstanceId': messageId }),
headers: {
"uiculture": "en-GB",
"culture": "en-GB",
"X-SqXsrfToken": xsrf
},
success: function (data) {
alert(data);
},
error: function (error) {
console.log(error);
}
});

Response Parameters

NameTypeDescription
IdintegerThe message ID, relevant when updating a collection of action items.
Cancelledboolean0 = cancelled, 1 = not cancelled
CancelReasonstringThe reason the procedure was cancelled.

Example Response

CommandResult:
{
Id:[number],
Cancelled:[boolean],
CancelReason:[string]
}