Hi Mark,
Thank you for pointing out this inconsistency. This was not the intended behavior and will be updated to return the lowercase S.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The Azure Maps Creator APIs have consistently used lowercase for the keys in requests and responses, .e.g "datasetId", "tilesetId", etc. However, the Routeset API returns a capital S for such properties, e.g. "dataSetId", "routeSetId", including the outer object "routeSets".
Example response:
{
"routeSets": [
{
"routeSetId": "1d9feca2-2dbe-35ae-ccb5-aa6c763eeac4",
"dataSetId": "63e19439-897f-7199-8255-e6edb7d4af32",
"description": "routeset20583",
"created": "1/12/2023 5:01:23 AM +00:00"
}
]
}
This is inconsistent with the docs and also the api spec
I autorest generate C# from the spec so the result of this inconsistency is zero records returned for List api calls. For now, I can amend my local fork of the spec and generate a new client but I'd say the api needs to change whilst in preview still.
Hi Mark,
Thank you for pointing out this inconsistency. This was not the intended behavior and will be updated to return the lowercase S.
I've forwarded this thread to the program manager for Azure Maps Creator so they can investigate this on their end and make changes to the API if needed (or possible without breaking those who are using the service as-is).