You are here: Home > API Reference > Platform > Bulk Tasks > Get list of bulkTask

Get list of bulkTask

Required Permission: base.bulk.management.list

Get list of bulkTask

GET
https://api.applivery.io/v1/organizations/{organizationId}/bulk-tasks

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

organizationId string
required
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$

page string
optional
limit string
optional
sort string
optional
status string
optional
pendingcreatedinProgresscompletedfailed
action string
optional
import-inventory-itemsimport-mdm-users

Responses

200 Response application/json
status boolean required
data object required
items array [object] required
id string optional
Match pattern: ^[a-fA-F0-9]{24}$
status string optional
pending created inProgress completed failed
config object optional
file object optional
action string optional
≤ 1000 characters
report object optional
error string optional
createdBy object optional
updatedAt string optional
createdAt string optional
totalDocs integer required
≥ -9007199254740991 · ≤ 9007199254740991
limit integer required
≥ -9007199254740991 · ≤ 9007199254740991
hasPrevPage boolean required
hasNextPage boolean required
page integer required
≥ -9007199254740991 · ≤ 9007199254740991
totalPages integer required
≥ -9007199254740991 · ≤ 9007199254740991
prevPage integer required
≥ -9007199254740991 · ≤ 9007199254740991
nextPage integer required
≥ -9007199254740991 · ≤ 9007199254740991
{
    "status": true,
    "data": {
        "items": [
            {
                "id": "string",
                "status": "pending",
                "config": {
                    "override": true
                },
                "file": {
                    "originalName": "string",
                    "mimetype": "string",
                    "size": 0,
                    "bucket": "string",
                    "key": "string",
                    "location": "string",
                    "region": "string",
                    "storageProviderId": "string",
                    "checksum": "string"
                },
                "action": "string",
                "report": {
                    "numItems": 0,
                    "numInserts": 0,
                    "numUpdates": 0,
                    "numSkips": 0,
                    "numErrors": 0,
                    "skippedLines": [
                        {
                            "line": 0
                        }
                    ],
                    "erroredLines": [
                        {
                            "line": 0,
                            "reason": "string"
                        }
                    ]
                },
                "error": "string",
                "createdBy": {
                    "id": "string",
                    "email": "[email protected]",
                    "firstName": "string",
                    "lastName": "string",
                    "fullName": "string",
                    "picture": "string"
                },
                "updatedAt": "string",
                "createdAt": "string"
            }
        ],
        "totalDocs": 0,
        "limit": 0,
        "hasPrevPage": true,
        "hasNextPage": true,
        "page": 0,
        "totalPages": 0,
        "prevPage": 0,
        "nextPage": 0
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}
Was this page helpful?