---
title: "SearchAssignmentsOutputDto"
url: "https://developers.vzconnect.com/apis/attribute-api/versions/5171af26-732a-43bc-84a1-1d89d361a339/schemas/SearchAssignmentsOutputDto"
---

> Full API specification: https://developers.vzconnect.com/apis/attribute-api/versions/5171af26-732a-43bc-84a1-1d89d361a339.md

# SearchAssignmentsOutputDto

Output DTO for the search assignments endpoint.

## OpenAPI definition

```yaml
openapi: 3.0.4
info:
  title: Attribute Api
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    SearchAssignmentItemDto:
      required:
        - accountId
        - assignmentId
        - attributeId
        - attributeName
        - entityId
        - entityType
        - stringValue
      type: object
      properties:
        accountId:
          type: integer
          description: The account identifier that owns this assignment.
          format: int32
          example: 12345
        assignmentId:
          maxLength: 36
          pattern: ^[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}$
          type: string
          description: Unique identifier for the assignment (UUID v7).
          format: uuid
          example: 019462a1-d9e5-7bcd-ac34-6a7b8c9d0e1f
        entityType:
          enum:
            - Vehicle
            - Driver
            - PoweredAsset
            - NonPoweredAsset
          type: string
          description: The type of entity assigned.
          example: Vehicle
        entityId:
          maxLength: 36
          pattern: ^[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}$
          type: string
          description: The identifier of the assigned entity.
          format: uuid
          example: 019462a1-d9e5-7bcd-ac34-6a7b8c9d0e1f
        stringValue:
          minLength: 1
          type: string
          description: The attribute value string associated with this assignment.
          example: North
        attributeId:
          maxLength: 36
          pattern: ^[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}$
          type: string
          description: The attribute identifier this assignment belongs to.
          format: uuid
          example: 019462a1-d9e5-7bcd-ac34-6a7b8c9d0e1f
        attributeName:
          minLength: 1
          type: string
          description: The name of the attribute this assignment belongs to.
          example: Region
      additionalProperties: false
      description: Represents a single assignment item in the search assignments response.
    SearchAssignmentsOutputDto:
      required:
        - items
      type: object
      properties:
        items:
          type: array
          items:
            $ref: "#/components/schemas/SearchAssignmentItemDto"
          description: The paginated list of items.
        totalPages:
          type: integer
          description: The number of pages available based on the total count and query
            limit.
          format: int32
          nullable: true
          example: 4
        totalCount:
          type: integer
          description: Total count of matching items. Populated only when TotalRequired is
            true.
          format: int32
          nullable: true
          example: 87
      additionalProperties: false
      description: Output DTO for the search assignments endpoint.
```
