Need a special offer?Find out if your project fits.
+
All documentation
API reference
  • API Reference for older versions
  • /handshake request

    [starting from version: 2.8]

    An optional request to establish communication between the client and server sides. Flexmonster includes its version in the request and expects a response with the custom data source API version implemented by the server. If the server does not send the response, Flexmonster will assume the server implements version 2.8.5.

    If your server implements the custom data source API version that is not compatible with the Flexmonster version, you will get a warning from the component.

    See how to handle the /handshake request.

    Request

    {
      "type": string,
      "version": string
    }
    Property/Type Description
    type
    String
    The type of request. In this case, it is "handshake".
    version
    String
    The version of the custom data source API implemented by the front end.

    Response

    {
      "version": string
    }
    Property/Type Description
    version
    String
    The version of the custom data source API implemented by the server.

    Example

    Request:

    {
      "type": "handshake"
      "version": "2.8.22"
    }

    Response:

    {
      "version": "2.8.22"
    }

    See also

    /fields request
    /members request
    /select request for pivot table
    /select request for flat table
    /select request for drill-through view