I need the Rest API request to create an incident task under a existing Incident.

Idrees
Kilo Explorer

hi ,

I am looking for Rest API sample to create a incident task under existing Incident.

 

any help will be grateful.

 

 

 

4 REPLIES 4

Bhawanjit Sing2
Mega Guru

Try this

POST https://<instance_name>.service-now.com/api/now/table/incident_task

Sudhanshu Talw1
Tera Guru

The end points are 

https://ncrdev1.service-now.com/api/now/table/incident_task

You can pass the incident number via variable substitution in REST message you configure to pass incident number.

find_real_file.png

If you need properly configured REST message let me know, although you can also create it.

Thanks

Sudhanshu

Onkar Pandav
Tera Guru

Hi,

REST API is recommended when you are getting incidents from 3rd party system.

Go through below link that will help you and you can also use sample scripts to create/update/read incidents.

https://developer.servicenow.com/dev.do#!/learn/learning-plans/orlando/servicenow_application_develo...

tubasheikh1
Mega Contributor

How can I send a dot-walk reference field (like caller_id.email) in the ServiceNow Incident Creation API payload?