REST API - use template to create incident
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 01:12 PM
Is this the correct method to open an incident with a template?
POST https://<hostname>/api/now/table/incident?sysparm_template=<template name>
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 02:19 PM
Hi Brian,
It should be
https://<hostname>/api/now/table/incident.do?sysparm_template=<template name>
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2016 07:03 PM
Pradeep - This does not work with the REST API:
{
"error": {
"detail": null,
"message": "Invalid table incident.do"
},
"status": "failure"
}
I think '.do' is for SOAP.
Ideas?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2016 07:43 PM
Hi Brian,
Thanks for the update. Please refer below thread for more info.