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.

With 12.2.1.4 patches 31208256 and 31177230 (at minimum) applied, the request supports optional boolean parameter fileCount. The default value is false. When set to true, the response includes downloadableFileCount, stagedFileCount, and sourceFileCount. Sign in to My Oracle Support and search for the patch numbers to locate and download the patches.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Event status.
Body ()
Root Schema : eventStatus
Type: object
Title: eventStatus
Show Source

500 Response

Error information.
Body ()
Root Schema : errors
Type: object
Title: errors
Show Source
Back to Top

Examples

The following cURL example shows how to get event summary by submitting a GET request on the REST resource using cURL.

curl -i -X GET -u <username>:<password> -H "Content-Type: application/json"  http://<host>:<port>/mftapp/rest/v1/events/77990703-A512-4469-924C-891170EC0EAA 

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: 500 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}."     
} 
Back to Top