Retrieves a data export request.
Expands a request to include embedded objects within the _embedded property of the response. This field accepts a comma-separated list of objects.
For more information, see Embedded resources.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/experimental/data-exports/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/experimental/data-exports/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/experimental/data-exports/{id}
- SecretApiKey
- JWT
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/experimental/data-exports/{id}?expand=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Data export request.
Export request arguments used to filter and sort the result set. For more information, see Arguments.
List of email addresses to notify when an export is completed.
List of fields to include in the export. For more information, see Fields.
ID of the user who requested the data export.
ID of the data export file. If the export contains more than 1,000,000 records, the file is a ZIP archive. The archive contains numbered part files, such as example-part1.csv and example-part2.csv, each with a maximum of 1,000,000 records. Each part file can be processed independently:
csvanddetailed-csvpart files repeat the header row.jsonandjson-apipart files contain a complete array.xmlpart files contain their own root element.
pdf exports are always a ZIP archive that contains one PDF per record, and are never split into part files.
Date and time when the data export is scheduled to generate a file.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
Reason the export failed, if the export status is failed.
| Enum Value | Description |
|---|---|
| record-limit-exceeded | Export exceeded the maximum number of records allowed for a single export. |
| max-retries-reached | Export failed after the maximum number of retry attempts. |
Date range of the data export. If this value is not set, all data is included. For more information, see Date ranges.
- customers
- subscriptions
- transactions
- invoices
- invoiceItems
- amlChecks
- disputes
- journalRecords
- payoutRequests
- payoutRequestAllocations
- users
{ "id": "exp_0YVCNQ2C1AD1RA3HXKP492GNZB", "name": "string", "resource": "customers", "format": "csv", "arguments": { "filter": "string", "sort": "string", "q": "string" }, "emailNotification": [ "user@example.com" ], "fields": [ "string" ], "recurring": { "instruction": "string", "start": "2019-08-24T14:15:22Z" }, "userId": "usr_0YVCEENYJ3D7Q9EN6BN16HA0G4", "fileId": "file_0YV7HZ7KDCC5WBV9Q7WRKG1H6N", "recordCount": 0, "scheduledTime": "2019-08-24T14:15:22Z", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "status": "pending", "failureReason": "record-limit-exceeded", "dateRange": { "start": "yesterday", "end": "today", "field": "createdTime" }, "_links": [ { … } ], "_embedded": { "file": {}, "user": {} } }