Description:
This API is use to get token using accesskey.
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 |
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
|
accesskey
| String | You can use the Access Key or username/password. You will be able to find the Access Key for each user from the Administration interface.
|
Request Example:
http://<SMARTENURL>/smarten/API/getToken?objectid=objectId&accesskey=accessKey&toolbar=false&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 'http://<SMARTENURL>/smarten/API/getToken?objectid=objectId&accesskey=accessKey&toolbar=false&showobjectname=false&containerid=baseLayout_mainContainer&width=100&height=100' \
--data ''
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article