Purpose
This document explains how to retrieve a REST API token through XMLAPI.
Introduction
It is possible to retrieve a REST API token through the XMLAPI action GETRESTTOKEN by using the XMLAPI apptoken.
Solution
Prerequisites
This procedure requires a super user account.
Solve
-
Generate an API Token in the OUTSCAN UI Menu Menu -> Settings -> Security Policy.
-
With that key, run the API command.
https://<O24-URL>/opi/XMLAPI?ACTION=GETRESTTOKEN&APPTOKEN=<Key from Step 1>
The<O24-URL>could be eitherhttps://outscan.outpost24.com/or your HIAB IP Address/FQDN.
-
-
A token is returned that lasts 10 minutes from the REST API.