How To Retrieve a REST API Token From XMLAPI
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.
Copyright
© 2024 Outpost24® All rights reserved. This document may only be redistributed unedited and unaltered. This document may be cited and referenced only if clearly crediting Outpost24® and this document as the source. Any other reproduction and redistribution in print or electronically is strictly prohibited without explicit permission.
Trademark
Outpost24® and OUTSCAN™ are trademarks of Outpost24® and its affiliated companies. All other brand names, product names or trademarks belong to their respective owners.