CallHttpGet Procedure
Performs a HTTP GET call.
Use the function GetLastIsSuccessStatusCode()
to know if server returned a response code of type success.
Overloads
Name | Description |
---|---|
CallHttpGet(Text; Codeunit "QWETB Temp Blob"): Boolean | Performs a HTTP GET call. |
CallHttpGet(Text; Codeunit "QWETB Temp Blob"; Codeunit "QWETB Temp Blob"): Boolean | Performs a HTTP GET call. |
CallHttpGet(Text; Codeunit "QWETB XML Reader"; Text): Boolean | Performs a HTTP GET call. |
CallHttpGet(Text; Record "QWETB tTempBlob" temporary): Boolean | Performs a HTTP GET call. |
CallHttpGet(Text; Record "QWETB tTempBlob" temporary; Record "QWETB tTempBlob" temporary): Boolean | Performs a HTTP GET call. |
CallHttpGet(Text; XmlDocument): Boolean | Performs a HTTP GET call. |
CallHttpGet(Text; Codeunit "QWETB Temp Blob") Procedure
Performs a HTTP GET call.
Use the function GetLastIsSuccessStatusCode()
to know if server returned a response code of type success.
Signature
CallHttpGet(Url: Text; var TempBlobResponse: Codeunit "QWETB Temp Blob") : Boolean
Parameters
Url
Text
The target URL.
var TempBlobResponse
Codeunit "QWETB Temp Blob"
The response data as a blob.
Returns
Boolean
true
if the call succeeds and a response is received. If the call fails an error is thrown unless SetSilentError()
is set, if SetSilentError()
is set a fail returns false
.
CallHttpGet(Text; Codeunit "QWETB Temp Blob"; Codeunit "QWETB Temp Blob") Procedure
Performs a HTTP GET call.
Use the function GetLastIsSuccessStatusCode()
to know if server returned a response code of type success.
Signature
CallHttpGet(Url: Text; TempBlobRequest: Codeunit "QWETB Temp Blob"; var TempBlobResponse: Codeunit "QWETB Temp Blob") : Boolean
Parameters
Url
Text
The target URL.
TempBlobRequest
Codeunit "QWETB Temp Blob"
The data to be sent as body content as a blob.
var TempBlobResponse
Codeunit "QWETB Temp Blob"
The response data as a blob.
Returns
Boolean
true
if the call succeeds and a response is received. If the call fails an error is thrown unless SetSilentError()
is set, if SetSilentError()
is set a fail returns false
.
CallHttpGet(Text; Codeunit "QWETB XML Reader"; Text) Procedure
Performs a HTTP GET call.
Use the function GetLastIsSuccessStatusCode()
to know if server returned a response code of type success.
Signature
CallHttpGet(Url: Text; var XMLReader: Codeunit "QWETB XML Reader"; XPath: Text) : Boolean
Parameters
Url
Text
The target URL.
var XMLReader
Codeunit "QWETB XML Reader"
The response data as an XML Reader.
XPath
Text
An XPath to init the XML Reader.
Returns
Boolean
true
if the call succeeds and a response is received. If the call fails an error is thrown unless SetSilentError()
is set, if SetSilentError()
is set a fail returns false
.
CallHttpGet(Text; Record "QWETB tTempBlob" temporary) Procedure
Performs a HTTP GET call.
Use the function GetLastIsSuccessStatusCode()
to know if server returned a response code of type success.
Signature
CallHttpGet(Url: Text; var TempBlobResponse: Record "QWETB tTempBlob" temporary) Result: Boolean
Parameters
Url
Text
The target URL.
var TempBlobResponse
Record "QWETB tTempBlob" temporary
The response data as a blob.
Returns
Boolean
true
if the call succeeds and a response is received. If the call fails an error is thrown unless SetSilentError()
is set, if SetSilentError()
is set a fail returns false
.
CallHttpGet(Text; Record "QWETB tTempBlob" temporary; Record "QWETB tTempBlob" temporary) Procedure
Performs a HTTP GET call.
Use the function GetLastIsSuccessStatusCode()
to know if server returned a response code of type success.
Signature
CallHttpGet(Url: Text; var TempBlobRequest: Record "QWETB tTempBlob" temporary; var TempBlobResponse: Record "QWETB tTempBlob" temporary) Result: Boolean
Parameters
Url
Text
The target URL.
var TempBlobRequest
Record "QWETB tTempBlob" temporary
The data to be sent as body content as a blob.
var TempBlobResponse
Record "QWETB tTempBlob" temporary
The response data as a blob.
Returns
Boolean
true
if the call succeeds and a response is received. If the call fails an error is thrown unless SetSilentError()
is set, if SetSilentError()
is set a fail returns false
.
CallHttpGet(Text; XmlDocument) Procedure
Performs a HTTP GET call.
Use the function GetLastIsSuccessStatusCode()
to know if server returned a response code of type success.
Signature
CallHttpGet(Url: Text; var ResponseXmlDoc: XmlDocument) : Boolean
Parameters
Url
Text
The target URL.
var ResponseXmlDoc
XmlDocument
The response data in an XmlDocument.
Returns
Boolean
true
if the call succeeds and a response is received. If the call fails an error is thrown unless SetSilentError()
is set, if SetSilentError()
is set a fail returns false
.
This documentation is generated from Smart Toolbox v26.1.242147.0