Using Data Extract REST Endpoints
The following table shows examples of how to view jobs that have run and get the output from those jobs.
Endpoints for data extract job information are available on your FlexNet Operations host:
where <siteID> is your organization’s site ID which is supplied by Revenera. This is usually your organization's DNS name, but can also be the tenant ID that was assigned to your organization when FlexNet Operations was first implemented, and would have the format flexNNNN.
(The FlexNet Operations host prompts you for your Producer Portal username and password.)
Service URL |
Method |
Example Response |
||||||||||||||||||||||||
.../operations/extracts |
GET |
Retrieves a list of all jobs that have run. /operations/extracts returns a response like the following: [{"id":2087,"jobName":"FULFILLMENT","status":"C","startTime":
{"id":2088,"jobName":"DEVICE","status":"C","startTime":
{"id":2089,"jobName":"USAGE","status":"P","startTime":
{"id":2090,"jobName":"FULFILLMENT","status":"C","startTime": Optional Parameters Filter the job entries, if necessary, in the response using optional parameters:
If both conditions are not satisfied, these fields will be null. Optional parameters can be combined in the request. For example, https://<siteID>.flexnetoperations.com/flexnet/operations/extracts?name=DEVICE&status=C returns entries for all completed Device Data Extract jobs. |
||||||||||||||||||||||||
.../operations/extracts/{jobid} |
GET |
Retrieves an entry about the job that matches the job ID. /operations/extracts/2088 returns {"id":2088,"jobName":"DEVICE","status":"C","startTime": |
||||||||||||||||||||||||
.../operations/extracts/{jobid}/file |
GET |
Retrieves the output of the job that matches the specified job ID. This method returns the contents of the artifact file associated with the job, as a binary stream, if an artifact file location is provided. See entity-specific data extract descriptions, below, for information about the contents of a job’s artifact file. For best performance, consider deleting a job after successfully downloading the job’s artifact file. |
||||||||||||||||||||||||
.../operations/extracts/delete/{jobid} |
POST |
Deletes the job that matches the specified job ID as well as its corresponding artifact file, if any, from its given location. |