Version: Available or changed with runtime version 15.0.
Gets or sets the reason phrase which typically is sent by servers together with the status code.
Syntax
[ReasonPhrase := ] TestHttpResponseMessage.ReasonPhrase([SetReasonPhrase: Text])
Note
This method can be invoked using property access syntax.
Parameters
TestHttpResponseMessage
Type: TestHttpResponseMessage
An instance of the TestHttpResponseMessage data type.
[Optional] SetReasonPhrase
Type: Text
The reason phrase.
Return Value
[Optional] ReasonPhrase
Type: Text
The reason phrase.
Related information
TestHttpResponseMessage data type
Getting started with AL
Developing extensions