Page tree

Note

You must provide the mc_ueid attribute to update an event. If it is not provided, a new event is created based on the input parameters.

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"
    }
}

3 Comments

  1. What's the URL to modify Events?

     

    I tried with the same URL for creating Events but I used the PUT method but it didn't work.

    I didn't forget to specify the mc_id.

  2. Hi Patrick,

    The proper URL to modify/update an existing event is the one below, which uses "update" call. 

    http://<bppmserver>/bppmws/api/Event/update

     

    I'll work with IDD team to get this better documented.

    Thanks,

    Javier 

  3. How do you modify slots with lists?

    For example I want to add notes to the event through a REST request. I can't seem to do it using REST where I can change the status, severity, priority etc just fine. A example with one slot of each type at least would be really helpful.

    Regards,

    Karan