HomeGuidesRecipesAPI
HomeGuidesAPILog In
API
These docs are for v16. Click to read the latest docs for v31.

Exploring as Learning

Our Knowledge Hub Explorer allows you to build SmartIQ REST API payloads directly from within the Knowledge Hub, in order to facilitate exploration and understanding.

The user interface provides you with an interactive form to view requirements and build payloads with your parameter values.

In addition, it will auto-generate "cut and paste"-ready code samples in a variety of programming languages, allowing you to easily and quickly explore and test the SmartIQ API.

Take the /login/forms (Forms Authentication) method as an example. To use the SmartIQ REST API Explorer:

  1. Notice that the SmartIQ REST API requires two parameters, userName and password, for the Forms Authentication request as listed in the "BODY PARAMS" section.
1648
  1. Type in the parameters values for your API request. Note that in this example we are using "admin" as userName and password but this may be different in your case.
1655
  1. Notice that the upper area of the Explorer updates with the parameters you entered. The right-hand side shows the structure of the payload that will be returned by the API for a successful call to the endpoint.

This endpoint's payload includes the AuthorizationToken, which must be supplied as a Bearer token in the Authorization header when you make requests to SmartIQ protected resources - that is, any resource which would require a user to be logged in.