I'm using the geometryToMeasure endpoint to retrieve the nearest measure for a specified route and coordinates. I'm doing this on 10's of 1,000's of input locations and batching the calls in batches of 500 input locations at a time.
I need to match the located results with the inputs. My question is, is the order of the results deterministic? That is, can I reliably match the first result to the first input location, second result to the second input, etc.? Otherwise, I'm not sure how to match the 500 inputs to the 500 outputs.
The documentation https://developers.arcgis.com/rest/services-reference/enterprise/geometry-to-measure/ seems to indicate it's deterministic (the response syntax has comments about the first result, the second result), but it's never explicitly stated.
As an aside, I asked ChatGPT and it said it was deterministic. I asked it to provide the documentation for this and it admitted ... Well, it's never actually says it is, but based on what I know of ESRI's API ... 🙂