- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2015 08:38 AM
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!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2015 08:52 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2015 08:52 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2015 09:00 AM
Also if you want to create a facilities request, use the facilities_request table as a target, instead of incident table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2015 09:03 AM
Yeah jajaja I dont know why but I was kinda mental blocked for a minute jaja I just read the wiki and I remember I have done this before! Thank you for the fast answer and mental refreshing to my person!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2021 08:43 PM
Hi Tony,
The link provided by you is not functioning, please share the code snippet