On this page

SYNTAX

Core command

Shows how to call an endpoint of the connected API: its URL, its parameters and RUN examples.

Syntax

SYNTAX <endpoint>

Arguments

ArgumentRequiredValuesDefault
<endpoint>YesThe numeric id, alias or name of an endpoint of the connected APINone

Examples

SYNTAX CUST;
SYNTAX 84;
SYNTAX findAll;

Details

The help is built from the endpoint's own definition (CONFIG API), so it always matches what RUN accepts. It shows:

  • the URL, with :name placeholders;
  • every required path and query parameter, and the optional query parameters with their allowed values;
  • a RUN example with literal values, and one with VAR variables.

It needs a CONNECT API session: the endpoint is looked up in that API only, even by its numeric id, unlike SHOW ENDPOINT. The endpoint is named by its id, alias or name; a name that matches several endpoints shows the candidates in a table instead of choosing one.

Last modified in release 5.5.0.

Found something wrong or unclear on this page? , with the page address.