Exports

Get Async Exports

Returns a paginated list of export jobs of the given category and type created for the given user.

GET
/exports/async

Authorization

appToken read
AuthorizationBearer <token>

App access token issued by POST /tokens (client credentials). Full-access Apps hold the read and write scopes, read-only Apps hold read only. Send it as Authorization: Bearer <token>.

In: header

Scope: read

Query Parameters

external_user_id*string
category*string

Value in

  • "trades"
  • "payments"
  • "groups"
type*string

Value in

  • "trades"
  • "trades_by_client"
  • "trades_by_partner"
  • "trades_by_account"
  • "trades_by_role"
  • "payments"
  • "payments_by_partner"
  • "payments_by_program"
  • "groups"
page?integer
Range1 <= value
Default1
per_page?integer
Range1 <= value <= 100
Default10

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/exports/async?external_user_id=string&category=trades&type=trades"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "external_user_id": "string",      "category": "trades",      "type": "trades",      "status": "pending",      "query": {},      "total_records": 0,      "sneak_peak": [        [          null        ]      ],      "error_message": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "links": {    "first": "string",    "last": "string",    "prev": "string",    "next": "string"  },  "meta": {    "current_page": 0,    "from": 0,    "last_page": 0,    "path": "string",    "per_page": 0,    "to": 0,    "total": 0  }}
{  "message": "string",  "code": "string",  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "details": [    {      "field": "string",      "issue": "string"    }  ]}
{  "message": "string",  "code": "string",  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "details": [    {      "field": "string",      "issue": "string"    }  ]}
{  "message": "string",  "code": "string",  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "details": [    {      "field": "string",      "issue": "string"    }  ]}
{  "message": "string",  "code": "string",  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "details": [    {      "field": "string",      "issue": "string"    }  ]}