---
title: "DocumentData"
url: "https://stage-api-docs.centraldispatch.com/apis/stage-dispatch-document-api-1-0-0/versions/37a28be1-2b73-47a5-9171-d6fcf5977ad4/schemas/DocumentData"
---

> Full API specification: https://stage-api-docs.centraldispatch.com/apis/stage-dispatch-document-api-1-0-0/versions/37a28be1-2b73-47a5-9171-d6fcf5977ad4.md

# DocumentData

Details of a document.

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Dispatch Document API
  version: 1.0.0
servers:
  - url: https://document-api.centraldispatch.com
    description: Production server
components:
  schemas:
    DocumentCollection:
      type: object
      properties:
        documents:
          type: array
          items:
            $ref: "#/components/schemas/DocumentResponse"
          description: A collection of documents.
      description: Details of the dispatch documents.
    DocumentResponse:
      type: object
      properties:
        href:
          type: string
          description: The fully qualified URL of the dispatch document.
          example: https://document-api.centraldispatch.com/dispatch-documents/id/d0c00000-e89b-12d3-a456-426614174000
        dispatchDocumentId:
          type: string
          description: The ID of the dispatch document.
          format: uuid
          example: d0c00000-e89b-12d3-a456-426614174000
        dispatchId:
          type: string
          description: If the document is linked to a dispatch, this is the associated
            dispatch ID.
          format: uuid
          nullable: true
          example: d159acc0-e89b-12d3-a456-426614174000
        listingId:
          type: string
          description: If the document is linked to a listing, this is the associated
            listing ID.
          nullable: true
          example: "42220470"
        marketplaceId:
          type: integer
          description: "The ID of the Central Dispatch Marketplace. There are three types
            of Marketplaces:\r

            \r

            - **Public**: The public Marketplace ID is `10000`.\r

            - **Test**: Test Marketplace IDs will be provided to you by Central
            Dispatch.\r

            - **Private**: Private Marketplace IDs will be provided to you by
            Central Dispatch, if necessary."
          format: int32
          nullable: true
          example: 10000
        parentId:
          type: string
          description: The parent resource of the document if not only the dispatch ID or
            listing ID. If the document pertains to a vehicle (bill, inspection
            document, etc.) it will be the vehicle ID.
          format: uuid
          nullable: true
          example: dad00000-e89b-12d3-a456-426614174000
        parentType:
          type: string
          description: "The type of record the document belongs to. Values: `DISPATCH`,
            `EXPENSE`, `LISTING`, `STOP`, `VEHICLE`."
          example: DISPATCH
        ownerAccountId:
          type: string
          description: The ID of the owner's account.
          format: uuid
          example: ce000000-e89b-12d3-a456-426614174000
        fileName:
          type: string
          description: The actual file name of the document including the file extension.
          example: example.txt
        displayName:
          type: string
          description: The display name of the document.
          example: Example document
        documentDownloadUrl:
          type: string
          description: The URL that may be used to download the document. This will not be
            populated until the virus scan passes.
          nullable: true
          example: https://dispatch-scan.amazonaws.com/7085e98e-b05a-4385-b181-853fbd09ac5b/07529f23-b716-4666-9049-b97631e57fe2?X-Amz-Expires=86400&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEL7%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCICVzxbaz7GORTbE1eiw%2BMQOyx3atvEcsO1fG%2FyejTlKbAiEA7J9xO3uUJZYAGbQD5EwAocX%2FXfysldJc0MjL%2FZtsuJQqggQIx%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARACGgwyNzcyODQxNDY5NTUiDM3cnPJIy7yKuZfdGCrWA4palrdInlKU6u51SUWOKhiJQKKDdYOPaHpQcd24ufZuDXw%2F%2F%2FpsPmtI8Tot3Dnr5MSoaX4aRYlR5jSipRi9OTx36JLBZjEsDRl4STkeKj%2BCHuEYvYwiFprmLbzGmjD3qgeHsIwjGl2CyGTeKrxl65CHqSLv%2FWTMBaqwZG%2FGkydazKz9Vd8dq6%2BIlhOZtxZKM%2Bp79Pw2Wx9mWqQkRmZTS05FU5sSBcFN77Q9GPWB1lxpIrZRnVRLrhik3CjsdoLYRCdyHonvPRH0Ur7hGnLb%2BDbpGZkF5NnDKtwLvF8SWOt%2Fn020iEvnSPW6OKAaYt9dvHeTtxVQbeEehZD%2FC8AeLDG2RaJpJedstvYTmG3Vf7iknYwy82Ls4o3g8tVWVSvjMM%2FA0Wo2ent%2BVQg9qXJSN57iKMyo13gFcnqw1syc1SuydJ5YnbM%2Fsfr39CBnx7A6Oqs0JYv8wSfjMtafEJvmNIR6iW9G9YXmDABYNolKcW05sSO1jxaoogZm0X1N%2By0VRwbc0Vjv8AmHGh09EPEyhND6cYDMB7mmLyPi05FsyqwwYlH%2FtpgsNFqPJYEjyrlhN%2FD5jnMy%2BrUjwgrIjQBhTPUTEehB%2Fpt%2B%2BH8Fh6Fqs1WSAnvEm4TJMPuB9bwGOqUBpVOtGdAVIb3YHJxQI3k3hQtkDnA4pc%2BiL9u43W8BSxrxDSkFuSps8m%2BMdtvLwVIaXZPAWfxvMSSCudqwqRmx%2FFYz5WE78kfp0B6UueN9brj8OZYjmExtwkMEC0Iizjdfzqlki1RELIthscG9BlXy9knuxkYXxsjAnddYB4RvC%2FbiEoyl6t2%2BEHhJde5h8TFv8ddsABQr3Jwt%2Bc4kU5RYPM10OEAO&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAUBD3MJ4FRIRV4X5Y/20250131/us-east-1/s3/aws4_request&X-Amz-Date=20250131T234732Z&X-Amz-SignedHeaders=host&X-Amz-Signature=9a96b4cfb57c70f1bb1d90a2854e9332c88a4c8b330d3f223d5c80b5bddd57a5
        profileType:
          type: string
          description: "The type of user that uploaded the document. Values: `CARRIER`,
            `SHIPPER`."
          example: SHIPPER
        createdDateTime:
          type: string
          description: The date and time the document was created, in UTC/ISO 8601 format.
          example: 2024-10-31T00:00:00Z
        updateByUserId:
          type: string
          description: The Central Dispatch user ID of the user who last updated the
            document.
          format: uuid
          example: d71b5750-e89b-12d3-a456-426614174000
        scanStatus:
          $ref: "#/components/schemas/ScanStatus"
      description: Details of a dispatch document.
    ScanStatus:
      enum:
        - SCAN_NOT_SUPPORTED
        - NOT_SCANNED
        - SUCCESS
        - FAILED
      description: The status of the virus scan on the document. This list is not
        exhaustive and additional values may be added at any time.
      example: SUCCESS
    DocumentData:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/DocumentCollection"
      description: Details of a document.
```
