How to create an incident via REST API ?

joseeduardo
Giga Expert

Hello everyone, I would like to know if someone has already created an incident via REST API?, what I am actually trying to do is to create a Facility Request(Facilites request plugin), but maybe knowing how to create an incident would give me a guideline and help me in order to create a facility request or even better if some knows how to create a faciliy request via REST I would appreciate it! thank you!

1 ACCEPTED SOLUTION

tony_barratt
ServiceNow Employee
ServiceNow Employee

Hi Jose,


Approach is mentioned here:


Getting Started with REST - ServiceNow Wiki


Use a POST request to create a new record.POST https://instance.service-now.com/api/now/v1/table/incident


Any issues - add to this thread and assistance will follow shortly..



Best Regards


Tony


View solution in original post

5 REPLIES 5

This post is 6yo, on those times ServiceNow was simple. But those times are gone. 

The nearest documentation to the original link that I could find is: HERE

Sadly I still struggling with a simple rest api query to open a ticket. Super easy in other ticket systems. not so easy on servicenow.