Get Token

Modified on Tue, 17 Jun at 10:22 AM

Description: 

This API will return token given the object ID


API Endpoint: 

/ws/predictive

 

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

<dat: ObjectID>

String

SmartenInsight model id


Response 

 

Returns a response with token 

 

Example :

 

348a3a3924d94354X00079X88395900X1748159107483$

$XDOoMLL7gn53wSFuUgMxqXYKORR-HJ9hOlzj6aXE

 

Postman Example: 

 

You can import the example below into Postman. 

 

curl --location --request POST 'https://demo.smarten.com/smarten/API/getToken?username=username&password=password&objectid=Objectid.prd' \

--header 'Cookie: JSESSIONID=KDOoMLL7gn53wSFuUgMxq8YKORR-HJ9hOlzj6a1E.ip-172-31-8-13'


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