Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Get Task sys_Id With Request or Request_item (REST)

rapbriqu
Kilo Expert

Hi community,

Hi try to get all Task sys_ID with the Request or Resquest_item sys_ID, with the REST API Explorer.

Any ideas ?

1 ACCEPTED SOLUTION

Subhajit1
Tera Guru

You will have to do a GET query on the sc_task table with the sysparm_query parameter where request_item = sys_id of the RITM record.



So it would look like:-


GET https://xxxxx.service-now.com/api/now/v1/table/sc_task?sysparm_query=request_item='sys_id'



For more information refer to the following link:-


http://wiki.servicenow.com/index.php?title=Table_API#gsc.tab=0


View solution in original post

2 REPLIES 2

Subhajit1
Tera Guru

You will have to do a GET query on the sc_task table with the sysparm_query parameter where request_item = sys_id of the RITM record.



So it would look like:-


GET https://xxxxx.service-now.com/api/now/v1/table/sc_task?sysparm_query=request_item='sys_id'



For more information refer to the following link:-


http://wiki.servicenow.com/index.php?title=Table_API#gsc.tab=0


Ths Subhajit Das