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

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

# MapToUuidOutputDto

Output DTO for legacy ID to UUID mapping.

## OpenAPI definition

```yaml
openapi: 3.0.4
info:
  title: Attribute Api
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    MapToUuidItemOutputDto:
      required:
        - entityType
        - mappings
      type: object
      properties:
        entityType:
          enum:
            - Vehicle
            - Driver
            - PoweredAsset
            - NonPoweredAsset
          type: string
          description: Entity type in uppercase format.
        mappings:
          type: array
          items:
            $ref: "#/components/schemas/MapLegacyIdToUuidMappingOutputDto"
          description: Mapping items for the requested legacy IDs.
      additionalProperties: false
      description: Mapping result group for one entity type.
    MapLegacyIdToUuidMappingOutputDto:
      required:
        - legacyId
      type: object
      properties:
        legacyId:
          type: integer
          description: Legacy integer identifier.
          format: int32
        uuid:
          maxLength: 36
          pattern: ^[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}$
          type: string
          description: Resolved UUID.
          format: uuid
          nullable: true
          example: cc7937a8-f2d3-412f-b89d-26cdd15fc47d
        externalId:
          type: array
          items:
            type: string
          description: External IDs (phase 2). Null for now.
          nullable: true
      additionalProperties: false
      description: Represents one legacy ID mapping.
    MapToUuidOutputDto:
      required:
        - items
      type: object
      properties:
        items:
          type: array
          items:
            $ref: "#/components/schemas/MapToUuidItemOutputDto"
          description: Mapping results grouped by entity type.
      additionalProperties: false
      description: Output DTO for legacy ID to UUID mapping.
```
