---
title: "BulkUpdateRequest"
url: "https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c/schemas/BulkUpdateRequest"
---

> Full API specification: https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c.md

# BulkUpdateRequest

Schema for bulk update requests.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Video Event API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    JsonPatchDocument:
      title: A JSON Patch document as defined by RFC 6902
      maxItems: 10
      minItems: 0
      uniqueItems: true
      type: array
      description: Represents a list of operations to apply to a resource for partial
        updates
      items:
        title: A JSON Patch operation as defined by RFC 6902
        required:
          - op
          - path
        type: object
        properties:
          value:
            oneOf:
              - maxLength: 2000
                minLength: 1
                pattern: ^[^\n]+$
                type: string
                description: The value to be used within the operations
              - type: object
                additionalProperties: true
                description: The value to be used within the operations
          path:
            title: A JSON-Pointer
            maxLength: 2000
            minLength: 1
            pattern: ^\/[^\n]+$
            type: string
            description: A string containing a [RFC
              6901](https://www.rfc-editor.org/rfc/rfc6901.html) JSON Pointer
              value that references the target location where the operation is
              performed
          from:
            title: A string containing a JSON Pointer value
            maxLength: 2000
            minLength: 0
            pattern: ^(\/[^\n]+)*$
            type: string
            description: A string containing a [RFC
              6901](https://www.rfc-editor.org/rfc/rfc6901.html) JSON Pointer
              value that references the source location where the operation is
              applied
          op:
            title: The operation to be performed
            maxLength: 120
            minLength: 1
            pattern: ^(add|remove|replace|move|copy|test)$
            type: string
            description: Indicates the operaton to be performed,as per RFC 6902
        additionalProperties: false
        description: Defines an individual operation within a JsonPatchDocument
    Conditions:
      maxItems: 15
      minItems: 1
      type: array
      description: Group of conditions to filter by the resource representation.
      example:
        - field: occurredAt
          values:
            - 2024-12-08 05:43:32
            - 2024-12-08 21:27:44.333
          operator: BETWEEN
        - field: classification
          values:
            - MINOR
            - MODERATE
            - MAJOR
            - CRITICAL
          operator: CONTAINS_ANY
        - field: coachingStatus
          values:
            - REVIEW_PENDING
          operator: CONTAINS_ANY
        - field: activities
          values:
            - VIDEO_WATCHED
            - VIDEO_STARRED
          operator: CONTAINS_ALL
        - field: tagCategory
          values:
            - HDE
            - REQUESTED
            - ADAS
            - DMS
          operator: CONTAINS_ANY
      items:
        required:
          - field
          - operator
          - values
        type: object
        properties:
          field:
            maxLength: 100
            minLength: 1
            pattern: ^(occurredAt|driverId|vehicleId|fleetItemId|address|classification|tags|coachingStatus|activities|videoEventId|createdAt|tagCategory)$
            type: string
            description: Name of the property to be evaluated.
          values:
            maxItems: 8000
            minItems: 1
            type: array
            description: Value to evaluate.
            items:
              maxLength: 500
              minLength: 1
              pattern: ^[a-zA-Z0-9\s_\W]+$
              type: string
          operator:
            type: string
            description: Operator to use to compare between property values and a defined
              set of values. The available operators include 'BETWEEN',
              'CONTAINS_ANY', 'CONTAINS_NONE', 'CONTAINS_ALL', "EQUALS".
            enum:
              - BETWEEN
              - CONTAINS_ANY
              - CONTAINS_NONE
              - CONTAINS_ALL
              - EQUALS
            default: BETWEEN
        additionalProperties: false
    BulkUpdateRequest:
      type: object
      properties:
        operations:
          $ref: "#/components/schemas/JsonPatchDocument"
        conditions:
          $ref: "#/components/schemas/Conditions"
      additionalProperties: false
      description: Schema for bulk update requests.
      writeOnly: true
```
