Using the token (retired) - HxGN SDx - HxGN SDx - Reference - Hexagon

HxGN SDx Modified and Retired Functionality

Language
English
Product
HxGN SDx
Search by Category
Reference
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)

This functionality was removed in Update 23.

To use the generated token against HxGN SDx, the token should be included in an http request as the Authorization header value:

Open a new tab within Postman and set the URL to the root node of the target HxGN SDx application server. For example, http://localhost/spfserver/api/v1.

  1. Click the Headers tab, and add a new header with the key name, Authorization.

  2. Set the Authorization value to the access_token value previously generated, prefixed with the word Bearer and a space. For example:

  3. Click Send to send the http GET request to the HxGN SDx application server, which receives the token and extracts the session_id to create a session for the specified user in the same way a user logs on to the Desktop Client.

  4. The HxGN SDx application server responds and returns all the query entity types. For example:

    • You can query data using any of the configured entity types by adding the entity type name to the end of the URL. For example, http://localhost/spfserver/api/v1/Assets.

    • For more information on how you can add new entity types, see Exposing objects.