---
title: "UserDocumentResponse"
url: "https://developer.tesma.com/apis/tesma-platform-api-v1/versions/333907fb-f0a7-4e20-b01e-c9915c73321a/schemas/UserDocumentResponse"
---

> Full API specification: https://developer.tesma.com/apis/tesma-platform-api-v1/versions/333907fb-f0a7-4e20-b01e-c9915c73321a.md

# UserDocumentResponse

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: tesma
  version: v1
servers:
  - url: https://api.tesma.com
components:
  schemas:
    DocumentCategory:
      enum:
        - masterLeaseAgreement
        - supplementalAgreement
        - leaseSchedule
        - carbonZeroCertificate
        - collection
        - erasureProtocol
        - invoice
        - credit
        - additionalDocument
        - report
        - ownDocument
        - scheduledExport
        - oneTimeExport
      type: string
    UserDocumentResponse:
      additionalProperties: false
      properties:
        corporateGroupId:
          format: int32
          type: integer
        createDate:
          format: date-time
          type: string
        documentCategory:
          $ref: "#/components/schemas/DocumentCategory"
        documentId:
          format: int32
          type: integer
        fileSize:
          format: int64
          type: integer
        mimeType:
          type:
            - "null"
            - string
        shortName:
          type:
            - "null"
            - string
        userId:
          format: int32
          type: integer
      type: object
```
