{"title":"HTTP, JSON, TextBuilder, and XML API overview","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/devenv-restapi-overview/","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/devenv-restapi-overview, 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/devenv-restapi-overview","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":"Overview of the API capabilities in AL for Business Central.","date":"2024-03-19","meta":{"topic":"overview"},"outline":[{"level":1,"title":"HTTP, JSON, TextBuilder, and XML API overview","slug":"http-json-textbuilder-and-xml-api-overview","at":0,"chars":3332},{"level":2,"title":"API reference","slug":"api-reference","at":207,"chars":2915},{"level":2,"title":"Related information","slug":"related-information","at":3122,"chars":210}],"text":"# HTTP, JSON, TextBuilder, and XML API overview\nAL has a number of data types available for accessing services. The following table shows the data types that are available to use in AL for Business Central.\n## API reference\nClass|Description\nmethods-auto/httpclient/httpclient-data-type|Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a Uniform Resource Identifier (URI).\nmethods-auto/httpcontent/httpcontent-data-type|A base class representing an HTTP entity body and content headers.\nmethods-auto/httpheaders/httpheaders-data-type|The HttpHeaders class contains a collection of headers and their values.\nmethods-auto/httprequestmessage/httprequestmessage-data-type|Represents an HTTP request message.\nmethods-auto/httpresponsemessage/httpresponsemessage-data-type|Represents an HTTP response message.\nmethods-auto/jsonarray/jsonarray-data-type|JsonArray is a container for any well-formed JSON array. A default JsonArray contains an empty JSON array.\nmethods-auto/jsonobject/jsonobject-data-type|JsonObject object is a container for any well-formed JSON object. A default JsonObject contains an empty JSON object.\nmethods-auto/jsontoken/jsontoken-data-type|JsonToken object is a container for any well-formed JSON data. A default JsonToken contains the JSON value of NULL.\nmethods-auto/jsonvalue/jsonvalue-data-type|JsonValue object is a container for any well-formed JSON object. A default JsonValue is set to the JSON value of NULL.\nmethods-auto/textbuilder/textbuilder-data-type|TextBuilder can performantly concatenate multiple bigger strings together.\nmethods-auto/xmlattribute/xmlattribute-data-type|Represents an attribute.\nmethods-auto/xmlattributecollection/xmlattributecollection-data-type|Represents a collection of attributes associated with an XmlElement.\nmethods-auto/xmlcdata/xmlcdata-data-type|Represents the CDATA section.\nmethods-auto/xmlcomment/xmlcomment-data-type|Represents the content of an XML comment.\nmethods-auto/xmldeclaration/xmldeclaration-data-type|Represents the XML declaration node.\nmethods-auto/xmldocument/xmldocument-data-type|Represents an XML document. This class can be used to load, validate, edit, add, and position XML in a document.\nmethods-auto/xmldocumenttype/xmldocumenttype-data-type|Represents the document type declaration.\nmethods-auto/xmlelement/xmlelement-data-type|Represents an element.\nmethods-auto/xmlnamespacemanager/xmlnamespacemanager-data-type|Resolves, adds, and removes namespaces to a collection and provides scope management for these namespaces.\nmethods-auto/xmlnametable/xmlnametable-data-type|Table of automized string object.\nmethods-auto/xmlnode/xmlnode-data-type|Represents a single node in the XML document.\nmethods-auto/xmlnodelist/xmlnodelist-data-type|Represents an ordered collection of nodes.\nmethods-auto/xmlprocessinginstruction/xmlprocessinginstruction-data-type|Represents a processing instruction, which XML defines to keep processor-specific information in the text of the document.\nmethods-auto/xmltext/xmltext-data-type|Represents the text content of an element or attribute.\n## Related information\nDeveloping extensions<devenv-dev-overview>\nGet started with AL<devenv-get-started>\nAL development environment<devenv-reference-overview>\nData types and methods in AL<methods-auto/library>"}