How to update incident using import set API

String
Kilo Sage

I have created a customised import set where incident ticket is created ,but now how to update the incident using import set API from 3rd party inbound Json.

1 ACCEPTED SOLUTION

@kiranchand 

you must be mapping the coalesce field via field map under the transform map

if the incoming value matches with target table it will update; if not found then it will insert

you need to have POST method

Only POST and GET are supported for Inbound REST Import Set

refer below link

Inbound REST Scripted Web Service

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

10 REPLIES 10

Subhadip Saman1
Mega Expert

You need to create an inbound web service (System Web service > inbound > create new).

Over there you can define a import set table,  and tranform map.

After you are done with creating the inbound web service for incident table, you can click on the "Explore REST API" related link as shown below.

find_real_file.png

 

Once you click on that in the REST API Explorer window you will find the endpoint to insert record to the import set table from a 3rd app.

find_real_file.png

Make sure the user you are using to insert record into the import set table has the appropriate roles.