PM4Py-WS Process List and Log Summary

PM4Py-WS Process List and Log Summary Services

(GET) /getLogsList

Gets the list of logs that are loaded in the system that are visible to the user.

URI parameters:

session => the ID of the session that the user can use to communicate with the server

Returns:

If the session is valid, then a JSON containing:

  • logs: the list of logs that are loaded in the system that are visibile to the user.

If the session is not valid, then a JSON containing an empty logs list.

 

(GET) /getLogsListADVANCED

Gets the list of logs that are loaded in the system that are visible to the user.

URI parameters:

session => the ID of the session that the user can use to communicate with the server

Returns:

If the session is valid, then a JSON containing:

  • logs: the list of logs that are loaded in the system that are visibile to the user, along with some boolean values. Each element of the list is a dictionary containing:

log_name => The name of the log

can_delete => Can the user delete the event log?

can_download => Can the user download the event log?

If the session is not valid, then a JSON containing an empty logs list.

 

(GET) /getLogSUMMARY

Gets a summary description of the current log.

URI parameters:

session => the ID of the session that the user can use to communicate with the server

process => the name of the process that is downloaded

Returns:

If the session is valid and the user has visibility on the log, then a JSON containing the following properties:

  • this_variants_number: number of variants contained in the current filtered/unfiltered log
  • this_cases_number: number of cases contained in the current filtered/unfiltered log
  • this_events_number: number of events contained in the current filtered/unfiltered log
  • ancestor_variants_number: number of variants contained in the ancestor unfiltered log (if the log is not filtered, then it is equal to this_variants_number)
  • ancestor_cases_number: number of cases contained in the ancestor unfiltered log (if the log is not filtered, then it is equal to this_cases_number)
  • ancestor_events_number: number of events contained in the ancestor unfiltered log (if the log is not filtered, then it is equal to this_events_number)

If the session is not valid or the user has no visibility on the log, then an empty JSON.