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.
For a deeper look into our DataScope Select SOAP API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
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.
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.