You are calling V1 and expecting a V2 result.
Batch address search not returning the Id that i've supplied
i'm doing batch address search to get the lat longs of addresses. In the batch request body i'm specifying an optional ID in the query, but its not being returned in the response. This means i cant match the geocodes back to my records. The batch request body looks as follows (actual no. of address much larger than this!):
{"batchItems":[{"query":"?query=, Unit 59, 1-49 Paas Place, WILLIAMSTOWN, VIC, 3016, Australia","optionalId":"0036F00003L0DRgQAd"},{"query":"?query=, 17 Walker St, CLIFTON HILL, VIC, 3068, Australia","optionalId":"0036F00003L0E0cQAv"},{"query":"?query=, 2 Dumfries Court, TORQUAY, VIC, 3228, Australia","optionalId":"0036F00003L0TLMQAr"},{"query":"?query=, 13 Glen Ebor Ave, BLACKBURN, VIC, 3130, Australia","optionalId":"0036F00003L0b3JQAk"},{"query":"?query=, 67-81 Maroondah Hwy, CROYDON, VIC, 3136, Australia","optionalId":"0036F00003L0b6mQAm"}]}
Is there an issue with the request format or is there something i should be requesting to get the optionalID back specifically in the GET request for the geocoded data. Many thanks for any help!
1 answer
Sort by: Most helpful
-
IoTGirl 3,221 Reputation points Microsoft Employee
2024-12-11T23:23:08.3066667+00:00