CreateSendAPI::RawAPICall (open)

Do a lowlevel call straight to the api

Syntax

LOADLIB "mod::system/lib/webapi/mail/createsend.whlib";

VARIANT FUNCTION RawAPICall(STRING method, STRING endpoint, RECORD options)

Parameters

STRING method
STRING endpoint
RECORD options

Options

jsonbody

JSON Body to pass

wrapresponse

If true, accept non-200 responses and wrap the returned body to return the response

Return value

VARIANT