Get Token By ssoParams

Modified on Wed, 11 Jun at 12:55 PM

Description: 

This API is use to get token using ssoParams.


API Endpoint: 

getToken

 

Method: 

POST

 

Header: 

 

Field

Value

SOAPAction

/ws/datasetManagement.wsdl

 

Request:


XML Element

Type

Value

<wsse:Username>

String

Smarten username

<wsse:Password>

String

Smarten user password

objectId

String

Object ID of the BI object you are requesting. You will be able to find the Smarten BI Object ID for each object from the Administration interface.

toolbar

 

Boolean

Parameter to show/hide object toolbar Possible values: true/false Default value: false

showobjectname

 

Boolean

Parameter to show/hide object name Possible values: true/false Default value: false

containerid

 

String

Parameter to specify HTML container element (such as  <br>  <br>) where you want to embed and render BI object.

width

 

String

Object width in your HTML container

 

Height

String

Object height in your HTML container

 

isSSO

 

Boolean

For check request is for sso user or not

 


Request Example: 


http://<SMARTENURL>/smarten/API/getToken?username=username&password=password&objectid=objectId&toolbar=true&showobjectname=false&containerid=baseLayout_mainContainer&width=100&height=100


Response 

Returns a response with token which can be consumed in application.

 

67132c15c600442e868aeb3c50aa72a2017s4919155573024$-$aGxQPgXkh3AbjDyviqt2gTKERXYDGXDa3J34ki0dRqK 

 

Postman Example: 

You can import the example below into Postman. 

 

curl --location --request POST 'https://<SMARTENURL>/smarten/API/getToken?username=username&password=password&objectid=objectId&toolbar=true&showobjectname=false&containerid=baseLayout_mainContainer&width=100&height=100' \

--header 'Cookie: JSESSIONID=aGxQPgkh3AbjDyviqt2gTKERYDGDa3J34ki0dRqK.ip-172-31-8-13' \

--data ''


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article