HI, I want to get all type of tickets such as Incident, Service and Change requests by one Service now Rest API call.

Pavan Kumar22
Kilo Contributor

HI, I want to get all type of tickets such as Incident, Service and Change requests by one Service now Rest API call.As API's are defined and accessible with table api's,i could only provide only one endpoint to access specific table related tickets.But i want to have incident,service and change requests details in one GET call to fetch for the project.

1 ACCEPTED SOLUTION

josh_nerius
ServiceNow Employee
ServiceNow Employee

Hi Pavan, 

Can you share why you need this to be a single call? 

All of the tables you mentioned are children of the Task table. You could retrieve tasks using the Table API: 

GET /api/now/table/task

This will return records from all tables that descend from Task, so you'll need to add some filters to show only the record types you need. 

Note that you can only get fields that are common across all task tables. 

View solution in original post

5 REPLIES 5

Pavan Kumar22
Kilo Contributor

Please treat this as a separate ticket in case needed or if it is to be tracked or let me know if you want me do so.