21 Feb 2023 07:00 PM - last edited on 22 Feb 2023 04:40 PM by Ana_Kuzmenchuk
When retrieving the results of an HTTP Check I see request results for each location. The location is identified with a locationId, like below from "/synthetic/execution".
{
"monitorId": "HTTP_CHECK-ABB43CF5DB511A5D",
"locationsExecutionResults": [
{
"locationId": "88",
"executionId": "26726351503",
"requestResults": [
....
},
{
"locationId": "124",
"executionId": "26726351345",
"requestResults": [
....
},
I would like to be able to tie that locationId value back to a named public/private location. There's no similar field value in "/synthetic/locations", or "/synthetic/locations/<location id>. Is there an easy way to tie that id to a location name/record?
Solved! Go to Solution.
21 Feb 2023 08:38 PM
That's true, the location ID does not matchs the one we get from /synthetic/locations/ API
One way to match it is checking the execution result from Synthetic monitor details page in UI
In my tenant, the locationId 16 is meant for Virgnia.
22 Feb 2023 09:00 PM
Thanks, I can build out a static list of locationid's from the UI and use that to tie the locationId from the API to a proper name.