Get status of all exports
Overview
GET /rest/export
A comprehensive list of file exports available in the system. Paging functionality is supported.
Required Permissions
- All Users with Timepiece access can access a comprehensive list of their own file exports within the system. 
Request
GET <service_url>/rest/exportParameters
| Parameter | Description | Required | 
|---|---|---|
| pageNumber | The page index to start at, when paging is employed. Works with zero-based index so pageNumber for the first page is 0. The default value is 0. | No | 
| pageSize | The maximum number of items in a page. The default is 100 and values greater than 100 will be processed as 100 | No | 
Example Requests
GET https://tis.obss.io/rest/export
GET https://tis.obss.io/rest/export?pageNumber=10&pageSize=5Response
Example Response Body
{
    "pageNumber": 0,
    "pageSize": 100,
    "total": 3,
    "isLast": true,
    "exports": [
        {
            "exportId": "3f70d7bb-e05d-4658-9d2f-a9f9fac27396",
            "status": "Successful",
            "created": 1584536558826,
            "completed": 2,
            "total": 2,
            "message": null,
            "downloadLink": "https://tis.obss.io/rest/export/3f70d7bb-e05d-4658-9d2f-a9f9fac27396/download"
        },
        {
            "exportId": "461d1869-866b-488e-baee-bda342aecc67",
            "status": "Aborted",
            "created": 1584540713594,
            "completed": 22,
            "total": 237,
            "message": "Report processing was cancelled by the user"
        },
        {
            "exportId": "532dad94-6776-4f02-9002-534c31563e9d",
            "status": "Aborted",
            "created": 1584607355618,
            "completed": 1,
            "total": 237,
            "message": "Report processing was cancelled by the user"
        }
    ]
}Response Codes
- 200 OK: Returns a JSON that contains all file exports of your instance, running or completed. 
- 400 Invalid Paging Parameters: When at least one of the providedg pagin parameters contain an invalid value. 
