Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.41 KB

httpresponsemessage-issuccessstatuscode-method.md

File metadata and controls

40 lines (34 loc) · 1.41 KB
title description ms.author ms.date ms.topic author ms.reviewer
HttpResponseMessage.IsSuccessStatusCode() Method
Gets a value that indicates if the HTTP response was successful.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

HttpResponseMessage.IsSuccessStatusCode() Method

Version: Available or changed with runtime version 1.0.

Gets a value that indicates if the HTTP response was successful.

Syntax

IsSuccessStatusCode :=   HttpResponseMessage.IsSuccessStatusCode()

Note

This method can be invoked using property access syntax.

Parameters

HttpResponseMessage
 Type: HttpResponseMessage
An instance of the HttpResponseMessage data type.

Return Value

IsSuccessStatusCode
 Type: Boolean
A value that indicates if the HTTP response was successful. true if StatusCode was in the range 200-299; otherwise false.

See Also

HttpResponseMessage Data Type
Get Started with AL
Developing Extensions