Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 15.0.
Gets or sets the status code of the HTTP response.
Syntax
StatusCode := TestHttpResponseMessage.HttpStatusCode([SetStatusCode: Integer])
Note
This method can be invoked using property access syntax.
Parameters
TestHttpResponseMessage
Type: TestHttpResponseMessage
An instance of the TestHttpResponseMessage data type.
[Optional] SetStatusCode
Type: Integer
The status code of the HTTP response.
Return Value
StatusCode
Type: Integer
The status code of the HTTP response.
Related information
TestHttpResponseMessage data type
Getting started with AL
Developing extensions