Node

Node

The node endpoint shows a list of all the nodes available for use in the specified customer’s flows.

GET /api/customer/:customer_id/node

Retrieve a list of nodes. Only nodes available to the specified customer will be returned.

This request supports the following parameters:

Parameter Example Description
customer_id 3213 [URL parameter], [Required] The ID of the customer whose list of available nodes should be retrieved. This must always be a non-negative integer.

Response Content

The response will be a list of strings of the available node names.

Examples

Request:

curl 'http://localhost/jarvis-agent/n2fe/api/customer/50203/node'  -H 'Cookie: N2FE_CGISESSID=4876c530f3d7252330a95ea51007f252'

Response:

[
    "accountcodeentry",
    "pinauthorisation",
    "businesshours",
    "releasecall",
    "attemptterminate",
    "tablelookup",
    "settariffcode",
    "suburbrouting",
    "callingparty",
    "callingpartycategory",
    "loopcounterincrement",
    "firstcallers",
    "speeddial",
    "servicenumberhandover",
    "breakoutdialing",
    "end",
    "start",
    "userinput",
    "loopcounterreset",
    "switch",
    "playannouncement",
    "proportionaldistribution",
    "reterminateservice",
    "link",
    "menu",
    "callingpresentation",
    "callerlocation",
    "extensiondialing",
    "followme"
]