Previous Next

Get the instances summary of an event

get
/mftapp/rest/v1/events/{eventSessionId}
Gets the event status and instances count for various statuses. Requires submitting an eventSessionId as a path parameter.

There are no request parameters for this operation.

The following tables summarize the server response.

Supported Media Types
  • application/json

200 Response

Body

404 Response

Body

Example of Response Body: 200 Response

The following example shows the contents of the response body for a successful request in JSON format:

{
  "activeInstanceCount":"0"
   "completedInstanceCount":"5"
   "failedInstanceCount":"0"
   "status":"DONE"                  
}

Example of Response Body: 404 Response

The following example shows the contents of the response body for an successful request in JSON format:

{
	"errorCode":"MFT-5436"
	"errorKey":"MFT_WS_EVENT_SERVICE_NO_EVENT_FOUND"
	"errorMessage":"Error in processing EventService request. No Event found with provided Event Session Id {id}."     
}