custom request

This block is part of the saltedge group and was last modified in core v13.0.6.

custom request v13.0.6

Creates a custom request with the given data and path

In pins 5 + flow
  • flow
    flow
  • connection required
    saltedgeconnection

    current saltedge connection

  • path required
    value

    the API endpoint path, e.g. customers

  • method required
    value

    the API endpoint method

    Default GET

  • params
    object

    the API endpoint params

  • body
    object

    the API endpoint body

Out pins 4 + flow
  • flow
    flow
  • connection
    saltedgeconnection

    current saltedge connection

  • success
    condition

    Returns the success state of the API request

  • response
    object

    The response the given API returned

    {
      "data": {}
    }
  • error
    value

    An API error if the success out-pin if false

A typical wiring for custom request: a function trigger starts the flow; get countries feeds the connection pin; value feeds the path pin; value feeds the method pin; the flow out pin feeds debug.

Studio canvas example for the custom request block: typical wiring for custom request.

Version history

Introduced in v13.0.6.


Back to saltedge Return to the main group to view all sub-groups Back to miscellaneous Return to the group to view all blocks within this group