I'm trying to use the API to pull a list of incidents created by a particular user. Typically I format the HTTP request to get the result I want instead of parsing through the 11,000 or so tickets we have in our system.
When I try to pull a list of incidents I use a GET request from the following URL:
This did not work as intended and produced zero results. I looked into the Requester object in the .xml file for a test Incident and found that there are two different ID numbers assigned as shown below:
When plugging <id>1260128</id> into user_id_number in the original URL, I get the intended result.
The problem arises, however, that I cannot find that ID number anywhere else. In the user .xml object, there is the following information:
Is there a smarter way to pull a list of incidents via API by a requester without parsing through them all? Or alternatively, is there a way to find the <id>Requester ID<id> field?