Modifying an event
The web service API uses the PUT method to modify an event. The URL to update or modify an event is http://<bppmserver>/bppmws/api/Event/update. The input parameters to modify an event are the same as the Input parameters in the JSON format to create events but the use the update function instead of the create function. You must provide authentication credentials by using the login API before accessing the data. For information about the authentication process, see Web-services-authentication.
Sample input parameters in the JSON format are as follows:
{
"eventSourceHostName": "bppmwsserver.calbro.com",
"eventSourceIPAddress": "192.72.255.151",
"attributes": {
"CLASS": "EVENT",
"mc_object_uri": "",
"mc_ueid": "mc.pncell_BPPMprod.f0163a7.0",
"severity": "OK",
"msg": "Application Server Disk check OK",
"mc_smc_alias": "Production AppServer",
"mc_smc_id": "Model1_10000_S0109",
"mc_owner": "Administrator",
"mc_priority": "PRIORITY_5"
}
}
"eventSourceHostName": "bppmwsserver.calbro.com",
"eventSourceIPAddress": "192.72.255.151",
"attributes": {
"CLASS": "EVENT",
"mc_object_uri": "",
"mc_ueid": "mc.pncell_BPPMprod.f0163a7.0",
"severity": "OK",
"msg": "Application Server Disk check OK",
"mc_smc_alias": "Production AppServer",
"mc_smc_id": "Model1_10000_S0109",
"mc_owner": "Administrator",
"mc_priority": "PRIORITY_5"
}
}
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*