PDF Export
Print Print
Expand All
  • Stemmons Central User Manual
    • Overview
    • Stemmons Central User Interface
    • Home
    • Cases
    • Departments
    • Entities
    • Facts
    • Standards
    • Quest
    • Cast (Central Automation System)
    • Common Language Gateway (CLG) /Common Data Resource
    • External User
    • Import Tools
    • Stemmons Web API
      • How to Obtain API Tokens
      • Stemmons Cases API
      • Stemmons Entities API
    • Migration Tool
    • ULS (Unified Logging System) Log Viewer
    • BlockChain-Trigger
    • Blockchain Trigger API Matrix Table
    • Custom Branding
    • Stemmons Search
    • Appendices
    • Updoc
    • Passive Trigger
    • Stemmons Central Mobile Application Login Process
    • How to Configure SSO with a SAML 2.0 in Stemmons Cloud Authentication Handler
    • Stemmons Cloud Authentication Handler
    • Web Form to Cases
How to Obtain API Tokens

User must get the Token first. Following are the steps to get the Token.

  1. Choose POST

  2. Enter the URL of the web server hosting the API with the path “<url>/token”

  3. Select Headers

  4. Enter “Content-Type”

  5. Enter “application/Jason”

NOTE: Do not click Send yet!

Now the user must enter the Body Information:

  1. Click on the Body Tab

  2. Type in “grant_type”

  3. Type in “password”

  4. Type in “username”

  5. Enter the username configured in your system config

  6. Type in “password”

  7. Enter the password configured in your system config

  8. Click Send

User will have their Token now

  1. Copy the token_type

  2. Copy the access_token

Now the user have the Token Type and the Access Token, user will need to test it, we built a test method for it, the method is a GET and it is here: <url>/api/Entity/Index.

  1. Choose GET

  2. Type in the URL for your API, then add /api/Entity/Index to the end of it

  3. Click on the Header tab

  4. Type in the token_type then add a space at the end

  5. Type in the access_token

  6. Then click Send

User should now see “Web API Call Succeed”, and if the user is able to view that message means that they have entered their token correctly. When building an app to access this API, your application must do the same thing as the steps that you just followed here.

Note that you may have different usernames and passwords in various systems. Please refer to your System Config in order to determine what is needed.

To get more information about the API’s, please visit your help pages