Pushing events through MID server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2023 09:35 AM - edited 05-08-2023 02:43 PM
Our application is planning to send events in JSON format to servicenow though MID server
Can we use the below URL end point alone?. Does any script setup required at servicenow end to push the events in this case.?
http://{MID_Server_IP}:{MID_Web_Server_Port}/api/mid/em/jsonv2
What is the difference between the above URL and below if we are sending event messages only in JSON format.
http://{MID_Server_IP}:{MID_Web_Server_Port}/api/mid/em/inbound_event?Transform={Transform_script_name}
Does a transform script required in all cases or only if we send events in format other than JSON?
How does a sample transform script look like if even in case of events being sent in JSON format?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 08:16 PM
1. I am using this url to push alerts to ITOM
http://{MID_Server_IP}:{MID_Web_Server_Port}/api/mid/em/inbound_event?Transform={Transform_script_name}
2. Yes transform would be needed to map your json keys with em table
3. Transform scripts are available under Mid Server ---> Script Includes
OOB script for JSON is TransformEvents_MidJsonGeneric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 04:54 AM
that was helpful but when i run this url in postman i get this error
and in the instace another error
any ideas?