{"title":"APIVersion property on API queries","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-apiversion-query-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-apiversion-query-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-apiversion-query-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Learn how the APIVersion property defines one or more versions for an API query endpoint in Dynamics 365 Business Central and review its syntax.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"APIVersion property on API queries","slug":"apiversion-property-on-api-queries","at":0,"chars":506},{"level":2,"title":"Applies to","slug":"applies-to","at":230,"chars":28},{"level":2,"title":"Syntax","slug":"syntax","at":258,"chars":118},{"level":2,"title":"Related information","slug":"related-information","at":376,"chars":130}],"text":"# APIVersion property on API queries\n> Version: _Available from runtime version 1.0._\nSpecifies one or more versions of the API endpoint that exposes the query. If you don't set the APIVersion property, the default value is beta.\n## Applies to\n Query object\n## Syntax\n```al\nAPIVersion = 'beta', 'v1.0';\n```\nFor a complete example, see API query type<../devenv-api-querytype>.\n## Related information\ndevenv-properties\n../devenv-query-object\nAPIVersion property for API pages<devenv-apiversion-page-property>"}