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

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

# GetAttributeAssignmentsOutputDto

Output DTO for the get attribute 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:
    GetAttributeAssignmentItemDto:
      required:
        - assignmentId
        - entityId
        - entityType
        - stringValue
      type: object
      properties:
        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: a1b2c3d4-e5f6-7890-abcd-ef1234567890
        stringValue:
          maxLength: 30
          minLength: 1
          pattern: ^(?=.*[a-zA-Z0-9])[a-zA-Z0-9 \-_:]{1,30}$
          type: string
          description: The attribute value string associated with this assignment.
          example: North
      additionalProperties: false
      description: Represents a single assignment item in the get attribute
        assignments response.
    GetAttributeAssignmentsOutputDto:
      required:
        - items
      type: object
      properties:
        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
        items:
          maxItems: 100
          minItems: 0
          type: array
          items:
            $ref: "#/components/schemas/GetAttributeAssignmentItemDto"
          description: The paginated list of attribute assignments.
      additionalProperties: false
      description: Output DTO for the get attribute assignments endpoint.
```
