younifyd
Menu

Get a status of a bulk operation

Get a status of a bulk operation.

GET/bulk-requests/{requestKey}/operations/{operationKey}/status

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get a status of a bulk operation action (under BulkRequests).
  3. Fill in the fields below, then reference the result from later steps as {{getAStatusOfABulkOperation.response.data}}.

Request

Path parameters

operationKeystringrequired

The key of a bulk operation.

Query parameters

witharray<string>

Comma-separated list of additional properties that should be included in the response.

Response

Returns 200 with an object. Read it in later steps with {{getAStatusOfABulkOperation.response.data.<field>}}.

keystring

Operation key, that is unique within the given bulk request

statusstring

Status of the bulk operation

One ofnewprocessingprocessedfailed

responseobject

Operation response data. Can be null if operation hasn't been processed yet

bodyobjectrequired

Operation response body. Can be null if operation doesn't return any response (e.g. 204 status code)

statusCodeintegerrequired

Operation response status code.

bulkRequestobject
keyintegerrequired

Bulk request identifier

statusstringrequired

Status of the bulk request

One ofnewpendingprocessingprocessedfailedcancelledaborted

progressobject3 fields

Current progress of the bulk request

json
{
  "key": "add-product",
  "status": "processed",
  "response": {
    "body": {
      "referenceKey": "M0001-black",
      "name": {
        "de_DE": "Blaues Shirt",
        "en_GB": "Blue Shirt"
      },
      "state": "draft",
      "master": {
        "referenceKey": "M0001",
        "categories": {
          "paths": [
            [
              "Fashion",
              "Men",
              "Shirts"
            ]
          ]
        }
      }
    },
    "statusCode": 201
  },
  "bulkRequest": {
    "key": 123,
    "status": "cancelled",
    "progress": {
      "totalOperations": 13636,
      "processedOperations": 4987,
      "failedOperations": 41
    }
  }
}

Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.

Get a status of a bulk operation — SCAYLE Admin — Documentation