Retrieve a list of data export requests

Retrieve a list of data export requests.

SecuritySecretApiKey or JWT
Request
query Parameters
limit
integer [ 0 .. 1000 ]

Limits the number of collection items to be returned.

offset
integer >= 0

Specifies the starting point within the collection of items to be returned.

sort
Array of strings

Sorts and orders the collection of items. To sort in descending order, prefix with -.

expand
string

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 Expand to include embedded objects.

filter
string

Filters the collection items. This field requires a special format. Use , for multiple allowed values. Use ; for multiple fields.

For more information, see Using filter with collections.

q
string

Use this field to perform a partial search of text fields.

criteria
string

Criteria parameter for requesting a collection.

Responses
200

A list of data export requests was retrieved.

Response Headers
Pagination-Total
integer

Total number of items.

Example: 332
Pagination-Limit
integer

Maximum number of items per page.

Example: 100
Pagination-Offset
integer

Specifies the starting point within the collection of resource results. For example, a request with limit=20 retrieves and displays the first 20 results on a page. A following request with limit=20 and offset=20, retrieves the next page of 20 results.

Example: 2
Response Schema: application/json
Array
name
required
string

Export name.

format
required
string

Export result format.

Enum: "csv" "json" "json-api" "xml" "pdf"
resource
required
string

The type of resource being exported (e.g. transactions).

id
string <= 50 characters

The export identifier string.

object

Export request arguments that can be passed to filter and/or sort the result set. See the arguments guide for more options and examples.

filter
string

The collection items filter requires a special format. Use "," for multiple allowed values. Use ";" for multiple fields.

sort
string

The collection items sort field and order (prefix with "-" for descending sort).

q
string

The partial search of the text fields.

emailNotification
Array of strings <email>

List of emails to be notified when export is completed.

fields
Array of strings

List of fields to include in the export. See supporting documentation for more info. If omitted, default fields will be included.

object

Exports can reoccur according to your own schedule.

instruction
required
string

RRule RFC 5545 formatted string used for recurring exports.

start
string <date-time>

The date and time when the first recurring scheduled export will occur. Defaults to now.

userId
string

The ID of the User who requested the data export.

recordCount
integer

The number of records in the export (excluding the header row).

scheduledTime
string <date-time>

The date and time this data export is scheduled to generate a file.

createdTime
string <date-time>

The time the data export was requested.

updatedTime
string <date-time> (UpdatedTime)

Read-only timestamp. This value updates when the resource is updated.

status
string

Status of export request.

Enum: "pending" "queued" "processing" "completed"
Array of LinkSelf (object) or LinkUser (object) or LinkFileDownload (object) or LinkSignedLink (object) [ 1 .. 4 ] items

Related resource links.

Array ([ 1 .. 4 ] items)
Any of:
rel
required
string

Type of link.

Value: "self"
href
required
string

Link URL.

object

The date range (can be in relative formats). If omitted, all time will be included. See the Date Range guide for more options and examples.

start
required
string

Any valid datetime arguments including relative datetime arguments.

end
required
string

Any valid datetime arguments including relative datetime arguments.

field
string
Default: "createdTime"

The field to apply date range to.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

404

Resource not found.

get/data-exports
Request samples
// all parameters are optional
const firstCollection = await api.exports.getAll();

// alternatively you can specify one or more of them
const params = {limit: 20, offset: 100, sort: '-createdTime'}; 
const secondCollection = await api.exports.getAll(params);

// access the collection items, each item is a Member
secondCollection.items.forEach(file => console.log(exports.fields.status));
Response samples
application/json
[
  • {
    }
]