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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 0 2

Where can I set up the end point to receive the response from REST API after sending HTTP "Extraction" request?

I have set up a schedule in DataScope Select that include my instrument list and report. I will send a REST API call through HTTP. I was wondering how can I set up the end point to receive the response from my request.

dss-rest-apidatascope-selectdssrest-api
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
38.1k 71 35 53

After setting up a schedule, you will get the ScheduleID in the response. Then you can use the ScheduleID to check the last extraction status. The URL is

GET: /Extractions/Schedules('ScheduleID')/LastExtraction

In the response, you will get the Status and ReportExtractionId.

Next, you need to retrieve the extraction report which contains the list of files generated on the DSS server with this URL:

GET: /Extractions/ReportExtractions('ReportExtractionId')/Files

The response or this request will contain the list of files with ExtractedFileId.

To retrieve the data from the DSS server, you need to use the following URL with the ExtractedFileId.

GET: /Extractions/ExtractedFiles('ExtractedFileId')/$value

For the complete steps, please refer this tutorial: REST API Tutorial 10: GUI control calls: immediate extract.

icon clock
10 |1500

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

Click below to post an Idea Post Idea