GET
/
v2
/
tasks
curl --request GET \
  --url https://api.procuros.io/v2/tasks \
  --header 'Authorization: Bearer <token>'
{
  "hasMore": false,
  "perPage": 100,
  "count": 3,
  "nextCursor": null,
  "nextPageUrl": null,
  "items": [
    {
      "procurosTaskId": "ac8f4159-c090-43d6-9b17-2653923f4fd8",
      "createdAt": "2022-03-28T11:45:03Z",
      "type": "EXPORT_CUSTOMERS"
    },
    {
      "procurosTaskId": "d74a7e56-2410-46b5-b3a5-3812cb5cbf37",
      "createdAt": "2022-03-29T05:00:27Z",
      "type": "EXPORT_SUPPLIERS"
    },
    {
      "procurosTaskId": "994e61fe-31df-4e87-96e3-84b31bd86e37",
      "createdAt": "2022-03-29T21:16:44Z",
      "type": "SYNC_ENABLED_TRADE_PARTNERS",
      "payload": {
        "customers": [
          "KU-1092",
          "KU-883"
        ],
        "supplier": [
          "SU-1092",
          "SU-883"
        ]
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

The API Token of your ERP Connection.

Query Parameters

filter
object

Filter retrieved tasks.

Response

200
application/json
Success
items
object[]
required
hasMore
boolean
required

Whether or not more tasks can be fetched on the next page.

perPage
integer
required

Amount of tasks returned per page.

count
integer
required

Amount of tasks on the current page.

nextCursor
string | null
required

Supplied to the cursor query parameter. See [Pagination] for more info.

nextPageUrl
string | null
required

Prebuilt URL to retrieve the next page of tasks.