Show / Hide Table of Contents

    CallHttpPatch Procedure

    Codeunit Web Wrapper

    Performs a HTTP PATCH call. Use the function GetLastIsSuccessStatusCode() to know if server returned a response code of type success.

    Overloads

    Name Description
    CallHttpPatch(Text; Codeunit "QWETB Temp Blob"; Codeunit "QWETB Temp Blob"): Boolean Performs a HTTP PATCH call.
    CallHttpPatch(Text; Record "QWETB tTempBlob" temporary; Record "QWETB tTempBlob" temporary): Boolean Performs a HTTP PATCH call.

    CallHttpPatch(Text; Codeunit "QWETB Temp Blob"; Codeunit "QWETB Temp Blob") Procedure

    Performs a HTTP PATCH call. Use the function GetLastIsSuccessStatusCode() to know if server returned a response code of type success.

    Signature

    CallHttpPatch(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.

    CallHttpPatch(Text; Record "QWETB tTempBlob" temporary; Record "QWETB tTempBlob" temporary) Procedure

    Performs a HTTP PATCH call. Use the function GetLastIsSuccessStatusCode() to know if server returned a response code of type success.

    Deprecated

    This procedure is deprecated and should not be used.

    Reason: Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.
    Deprecated since: 27.0

    Signature

    [Obsolete('Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.', '27.0')]
    CallHttpPatch(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.

    This documentation is generated from Smart Toolbox v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX