Cora Knowledge Center

Support

POST /MessagesService.svc/ReturnMessage

Returns actions items that were fetched by the user back to the queue.

Method

POST

URL

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


Request Parameters

NameTypeRequiredDescription
messageInstanceIdintegerrequiredID of message 

Example Request

$.ajax({
type: 'POST',
url: "https://server:port/Flowtime/_vti_bin/Flowtime/MessagesService.svc/ReturnMessage",
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:[integer],
Cancelled:[bool],
CancelReason:[string]
}