
Clark Bohs
Hello,
I'm consuming the SOAP web service and using this object:
QueryEventAuditTrailReturn queryAudit = new QueryEventAuditTrailReturn();
I then try to retrieve all the auditEvents but it appears to be throttled on your end at 1000.
auditEvent = {xMattersGetData.xMattersWebService.SoapEventAuditTrail[1000]}
Is there a way for us to retrieve all the auditEvents past 1000?
Thanks!
--Clark Bohs
0
Comments
Please sign in to leave a comment.
Hey Clark,
Yep, looks like it. From the docs here:
The new REST APIs are paginated. Have you looked at them? Is there anything in particular you are trying to get in the SOAP API that you can't get via REST?
Here's the REST docs for the Audit Events: http://help.xmatters.com/xmAPI/#audit-types
Oh, I do need to mention, that we are working on depreciating SOAP so I would highly encourage moving to REST sooner rather than later.
If there are specific things you need that are not in the REST API, then we should see about getting those added.
Hi Travis, I'm using the REST API and I'm trying to figure out how to retrieve the same Audit data as I did in the SOAP call. Here are example results of the SOAP call:
When I try https://schwab.hosted.xmatters.com/api/xm/1/audits?eventid=1510054 I don't get the results above.
Thanks!
Hey Clark,
Ok, so let's break each one down and talk about value what each line is adding:
So you should have #1 handy. #2 you can actually get from the GET /event{eventID} API call, doc'd here. I think you'll want to use the ?embed=recipients&targeted=true flavor.
But it doesn't look like we can get down to the shift level.
What are you doing with this data? Do you need it down to the shift level?
Happy Monday!
--- Travis