GETOUTPUT
Get specific output from CALLAPI block.
This is an outdated custom function which we have replaced with SPARK_XCALL. This is available through the add-in for backward compatibility.
Syntax
CS.SPARK_GETOUTPUT(xcall_block, output_name)
xcall_block. Required. Range address of the XCall block in upstream service. E.g.$A$1:$B$4. You can also use a named range for convenience.output_name. Required. Name of the requested output.
UDFCall Block
Create a UDFCALLAPI block in the Excel workbook (upstream service) to make an API call. The UDFCall block can be anywhere in your workbook but must be on the same sheet as your Spark_UdfCallAPI function.
This table needs to include
CALLTYPE:SparkServiceFOLDERNAME: name of the folder containing downstream service.SERVICENAME: name of downstream service.REQUESTBODY: payload for calling downstream service. Must be in JSON format. You can copy theREQUESTBODYfrom downstream service API tester. If this is your first time using the SparkService we encourage to leave content of "request_meta" empty. Spark will use the latest version and the default Service Type to execute this service.
XCall block example

REQUESTBODYexample (v3 format)
Output
The function will return the value of the output that is selected.
Last updated
