Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
BenR Respected Contributor.
Respected Contributor.
350 views

Authenticate with BO via API

Jump to solution

Hi,

How can we authenitcate with the BO API? I know that I can return the user details through the BO API using this URL:

https://<suite_host:port>/bo/rest/entities/user/<user_id>

But I am unsure how to first of all authenticate to get the LWSSO token.

0 Likes
1 Solution

Accepted Solutions
Mario Morelli Acclaimed Contributor.
Acclaimed Contributor.

Re: Authenticate with BO via API

Jump to solution

Hi there

You do as follows

To get token

POST with BO Account to get Token

https://support.sma247.com/auth/authentication-endpoint/authenticate/login?

Then you can do queries as you like e.g

Do a GET with following headers

https://<SMAX FQDN>/bo/rest/entities/user/<userid>

Cookie:LWSSO_COOKIE_KEY=${Token}

This will bring back all BO details of that user

Let me know if you don't come right

 

 

2 Replies
Mario Morelli Acclaimed Contributor.
Acclaimed Contributor.

Re: Authenticate with BO via API

Jump to solution

Hi there

You do as follows

To get token

POST with BO Account to get Token

https://support.sma247.com/auth/authentication-endpoint/authenticate/login?

Then you can do queries as you like e.g

Do a GET with following headers

https://<SMAX FQDN>/bo/rest/entities/user/<userid>

Cookie:LWSSO_COOKIE_KEY=${Token}

This will bring back all BO details of that user

Let me know if you don't come right

 

 

BenR Respected Contributor.
Respected Contributor.

Re: Authenticate with BO via API

Jump to solution

 

Excellent, thank you very much for your help!

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.