Table of Contents

Codeunit "Azure Functions"

ID 7804
Namespace: System.Azure.Functions

Provides functionality for connecting to Azure functions.

Properties

Name Value
Access Public
InherentEntitlements X
InherentPermissions X

Methods

SendGetRequest

Sends a get request to Azure function.

[NonDebuggable]
procedure SendGetRequest(AzureFunctionsAuthentication: Interface "Azure Functions Authentication", QueryDict: Dictionary of [Text, Text]): Codeunit "Azure Functions Response"

Parameters

Name Type Description
AzureFunctionsAuthentication Interface System.Azure.Functions."Azure Functions Authentication"
QueryDict Dictionary of [Text, Text]

Dictionary of query parameters for the request.

Returns

Type Description
Codeunit System.Azure.Functions."Azure Functions Response"

Instance of Azure function response object.

SendPostRequest

Sends a post request to Azure function.

[NonDebuggable]
procedure SendPostRequest(AzureFunctionsAuthentication: Interface "Azure Functions Authentication", Body: Text, ContentTypeHeader: Text): Codeunit "Azure Functions Response"

Parameters

Name Type Description
AzureFunctionsAuthentication Interface System.Azure.Functions."Azure Functions Authentication"
Body Text

Body of the request message.

ContentTypeHeader Text

Content type of the body to add to the request header.

Returns

Type Description
Codeunit System.Azure.Functions."Azure Functions Response"

Instance of Azure function response object.

Send

Sends a request to Azure function.

[NonDebuggable]
procedure Send(AzureFunctionsAuthentication: Interface "Azure Functions Authentication", RequestType: Enum "Http Request Type", QueryDict: Dictionary of [Text, Text], Body: Text, ContentTypeHeader: Text): Codeunit "Azure Functions Response"

Parameters

Name Type Description
AzureFunctionsAuthentication Interface System.Azure.Functions."Azure Functions Authentication"
RequestType Enum System.Security.Authentication."Http Request Type"

HTTP request method.

QueryDict Dictionary of [Text, Text]

Dictionary of query parameters for the request.

Body Text

Body of the request message.

ContentTypeHeader Text

Content type of the body to add to the request header.

Returns

Type Description
Codeunit System.Azure.Functions."Azure Functions Response"

Instance of Azure function response object.

See also