{"title":"HttpClient.Patch(Text, HttpContent, var HttpResponseMessage) Method","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/httpclient/httpclient-patch-method/","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/methods-auto/httpclient/httpclient-patch-method, 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/methods-auto/httpclient/httpclient-patch-method","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":"Sends a PATCH request to the specified URI as an asynchronous operation.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"HttpClient.Patch(Text, HttpContent, var HttpResponseMessage) Method","slug":"httpclientpatchtext-httpcontent-var-httpresponsemessage-method","at":0,"chars":1143},{"level":2,"title":"Syntax","slug":"syntax","at":204,"chars":116},{"level":2,"title":"Parameters","slug":"parameters","at":320,"chars":382},{"level":2,"title":"Return Value","slug":"return-value","at":702,"chars":299},{"level":2,"title":"Related information","slug":"related-information","at":1001,"chars":142}],"text":"# HttpClient.Patch(Text, HttpContent, var HttpResponseMessage) Method\n> Version: _Available or changed with runtime version 14.0._\nSends a PATCH request to the specified URI as an asynchronous operation.\n## Syntax\n```al\n[Ok := ]  HttpClient.Patch(Path: Text, Content: HttpContent, var Response: HttpResponseMessage)\n```\n## Parameters\nHttpClient\nType: httpclient-data-type\nAn instance of the httpclient-data-type data type.\nPath\nType: ../text/text-data-type\nThe path the request is sent to.\nContent\nType: ../httpcontent/httpcontent-data-type\nThe HTTP request content sent to the server.\nResponse\nType: ../httpresponsemessage/httpresponsemessage-data-type\nThe response received from the remote endpoint.\n## Return Value\n*[Optional] Ok*\nType: ../boolean/boolean-data-type\nAccessing the HttpContent property of HttpResponseMessage in a case when the request fails will result in an error. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.\n## Related information\nhttpclient-data-type\nGetting started with AL<../../devenv-get-started>\nDeveloping extensions<../../devenv-dev-overview>"}