For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 0 2

DSS Rest Tutorials Postman collection

Hi,

I imported "DSS Rest tutorials Postman collection" and successfully ran "User Authentication". However,

1) "Request user information" was failed with the attached error.

1700792288582.png


2) " List available fields for EoD" was successful with 200 OK status, but when tried "Request EoD data that will timeout", the status just keeps 202 Accepted and never changed to 200 OK. As I understood, I can get data only when this status changed to 200 OK and can get Job id. Can you please guide me how to resolve this issue so that I can get data? Thank you in advance.

#technologydss-rest-apipostman
1700792288582.png (21.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
80.1k 257 52 75

@bkquant

Thank you for reaching out to us.

For the first problem, you need to set your DSS Username in the user postman variable.

1700796400605.png

For the second problem, if you got the 202 response, you need to get the Location URL in the response's header.

1700796707539.png

Then, copy this URL to the locationUrl postman variable.

Next, run the Tuto-2d: Request Eod data after timeout until the HTTP response is 200.

Hope that this information is of help.


1700796400605.png (4.9 KiB)
1700796707539.png (69.7 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@Jirapongse, Thank you for your resolution. I successfully got the result!

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.