Get Object

Modified on Tue, 17 Jun at 12:57 PM

Description: 

This API will return token given the object ID. 

 

Method: 

POST

 

Request:

 

XML Element

Type

Value

<Username>

String

Smarten username

<Password>

String

Smarten user password

<ObjectID>

String

SmartenInsight model id

<Type>

String

Data/Object

 

Response:  

Returns a response with token 

 

Example 

348a3a3924d94354X00079X88395900X1748159107483$

$XDOoMLL7gn53wSFuUgMxqXYKORR-HJ9hOlzj6aXE

 

Note - Given the type data or object API will return a token which can be consumed in Get Object Method 

http://<SMARTENURL>/smarten/API/getObject?tokenid=token

 

Postman Example: 

You can import the example below into Postman. 

 

Get Token -

curl --location --request POST 'http://<SMARTENURL>/smarten/API/getToken?username=username&password=password&objectid=objectId&type=data/object'

 

Get Object - 

curl --location 'http://<SMARTENURL>/smarten/API/getObject?tokenid=token'

 

 



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