Description
Implementation of this method is not required; however, you must indicate on the MPS Portal that it will not be used. If implemented, this method will be executed by the MPS Portal when a system event is opened or reopened.
Example:
A company reported that it was out of printed pages, and the MPS Portal opened the incident and triggered this function at the address configured by the provider. However, a user can report that the incident has been resolved and mark it as Pending Resolution. If the incident is not closed by the system by the deadline specified by the user, the incident will be reopened and this function will be triggered again.
Syntax
public string SystemEventOpen(int eventID, int enterpriseID, string enterpriseName, int warningID, string warningName, string warningData, DateTime dtCreated, int criticalID, int userID, string userName, string userEmail)
Parameters
-
eventID: a unique identifier that identifies this specific event opened in the MPS Portal;
-
enterpriseID: a unique numeric identifier representing the company;
-
enterpriseName: company name;
-
warningID: a unique numeric identifier indicating the type of alert this event represents;
-
warningName: name (in Portuguese) of the problem type. Example: No Paper, Cover Open, etc.;
-
warningData: additional information provided by the printer regarding the event;
-
dtCreated: date and time the alert occurred on the printer;
-
criticalID: indicates the criticality level of this event (according to rules defined by the provider). These are: 1 (critical), 2 (moderate), and 3 (minor);
-
userID: unique numeric identifier representing the user who called this function via the MPS interface;
-
Since this method can be called by the system or by a user, if the call was made by the system, this parameter will be passed as -1.
-
-
userName: name of the user who made the call (blank if the call was made by the system);
-
userEmail: email address of the user who made the call (blank if the call was made by the system).
Sending a response to the MPS
Click here to learn how to send a response to the MPS Portal by referring to the item titled Sending a response to the MPS Portal.