Manage

List bulk operations

Returns the individual operations that make up the bulk process identified by the bulk_id parameter.

Use this to find out what happened inside a run, in particular which operations failed after a process ended PARTIALLY_COMPLETED or FAILED.

Filter with status (SUBMITTED, RUNNING, COMPLETED, FAILED, CANCELLED) to isolate the failures, and with sequence to look up a specific position in the batch. Page through results with offset and limit.

get/bulks/{bulk_id}/operations

Request

  • Base URL: https://sandbox.weavr.io/multi
  • URL: https://sandbox.weavr.io/multi/bulks/{bulk_id}/operations
  • Auth: HTTP bearer and API key in header api-key

Path parameters

bulk_idstring required
Example:2468013579

The bulk id of the bulk process.

Query parameters

offsetinteger

The offset value for paging, indicating the initial item number to be returned from the data set satisfying the given criteria. Leave out to fetch the first page of results.

limitinteger
Example:25

The limit of the results for paging, starting at the offset. Limit is always capped at 100.

sequenceinteger

Return bulk process operations at or after this sequence number.

status'SUBMITTED' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELLED'

Filter by the bulk process operation status.

Response

Success

countinteger

Total number of records (excluding limit)

responseCountinteger

Total number of records returned in this response

Example response

{
  "count": 42,
  "operations": [
    {
      "operationId": "1",
      "sequence": 1,
      "method": "POST",
      "path": "/multi/managed_cards",
      "requestPayload": "{\"profileId\":\"10001\",\"friendlyName\":\"Travel card\"}",
      "responsePayload": "{\"id\":\"234567890\",\"state\":\"ACTIVE\"}"
    }
  ],
  "responseCount": 10
}

Changes

No recorded changes to this operation across all 1 revision of this API.