Pushing events to the instance using web service API
-
- UpdatedAug 3, 2023
- 4 minutes to read
- Vancouver
- Event Management
You can use a web service interface, supported by ServiceNow, that operates on the JSON object as the data input and output format.
Before you begin
Role required: evt_mgmt_integration
About this task
https://<instancename>.service-now.com/api/global/em/jsonv2
Do not add additional fields to an event by adding a custom field to the event table [em_event]. However, additional fields should be included in the Additional information [additional_info] field of the event. For more information about how to include additional fields in events, see Custom alert fields.
The URL in the format:
http://<instancename>.service-now.com/em_event.do?JSONv2&sysparm_action=insertMultiple
is also supported in case you do want to activate Business rules. However, the
performance of the first URL is superior.
=insertMultiple
, add the following properties, with their
respective values, to the MID Server:- "mid.probe.event.queue.compress" - value: false
- "mid.probe.event.bulk_size" - value: 100
- "mid.probe.event.endpoint.url" - value: em_event.do?JSONv2%26sysparm_action=insertMultiple
Procedure
Related Content
- Pushing events to the MID Server using web service API
Configure the MID WebService Event Collector to provide a URL method to push event messages to the MID Server.