2 of 2 people found this helpful
This action produces an endpoint that can be reused at a later date with a start and end time specified. The endpoint information can be found in the returned "Location" header.
It should look something like: https://<server>/piwebapi/eventframes/searchbyattribute/<id>
Then to get data for a particular time range you would do
Thank you very much! That works great!
I should've read the response code section in the help file closer.
Does this URL persist forever or should I recreate the link every time I need to perform this search? (thinking from a web app perspective)
Also, can I access/pass the Location Link to a sub-request inside of a Batch POST body?
Thanks again this is very helpful!
The URL will not expire (provided there isn't a change between versions) and you should be able to pass the Location link to a subsequent call in a Batch request.