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

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

# TesmaLoadResult_CollectedAssetResponse

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: tesma
  version: v1
servers:
  - url: https://api.tesma.com
components:
  schemas:
    CollectedAssetResponse:
      additionalProperties: false
      properties:
        assetClass:
          type:
            - "null"
            - string
        assetId:
          format: int64
          type:
            - "null"
            - integer
        assetType:
          $ref: "#/components/schemas/CollectedAssetType"
        collectionNumber:
          format: int32
          type: integer
        customerContext:
          $ref: "#/components/schemas/CustomerContextResponse"
        description:
          type:
            - "null"
            - string
        effectiveCollection:
          format: date-time
          type:
            - "null"
            - string
        erasureDate:
          format: date-time
          type:
            - "null"
            - string
        erasureProtocolMetadata:
          $ref: "#/components/schemas/DocumentMetadataResponse"
        erasureState:
          $ref: "#/components/schemas/CollectedAssetErasureState"
        erasureType:
          $ref: "#/components/schemas/CollectedAssetErasureType"
        grading:
          $ref: "#/components/schemas/CollectedAssetGrading"
        hasErasureCertificate:
          format: int64
          type:
            - "null"
            - integer
        id:
          format: int64
          type: integer
        leaseScheduleId:
          format: int32
          type:
            - "null"
            - integer
        manufacturer:
          type:
            - "null"
            - string
        numberOfDestroyedItems:
          format: int32
          type:
            - "null"
            - integer
        numberOfErasedItems:
          format: int32
          type:
            - "null"
            - integer
        plannedAssetId:
          format: int32
          type:
            - "null"
            - integer
        processingDate:
          format: date-time
          type:
            - "null"
            - string
        serialNumber:
          type:
            - "null"
            - string
        serialNumberLAS:
          type:
            - "null"
            - string
        state:
          $ref: "#/components/schemas/CollectedAssetState"
        testState:
          $ref: "#/components/schemas/CollectedAssetTestState"
        transportOrderId:
          format: int32
          type: integer
        transportOrderNumber:
          type:
            - "null"
            - string
      type: object
    CollectedAssetType:
      enum:
        - leasing
        - tradingGoods
        - customerabandonment
      type: string
    CustomerContextResponse:
      additionalProperties: false
      properties:
        customerName:
          type:
            - "null"
            - string
        customerNumber:
          format: int32
          type: integer
        leaseCompany:
          format: int32
          type: integer
        leaseCompanyName:
          type:
            - "null"
            - string
      type: object
    DocumentMetadataResponse:
      additionalProperties: false
      properties:
        acceptanceCertificateId:
          format: int32
          type:
            - "null"
            - integer
        assetId:
          format: int64
          type:
            - "null"
            - integer
        collectionNumber:
          format: int32
          type:
            - "null"
            - integer
        customerContext:
          $ref: "#/components/schemas/CustomerContextResponse"
        documentCategory:
          $ref: "#/components/schemas/DocumentCategory"
        documentId:
          type:
            - "null"
            - string
        documentNumber:
          type:
            - "null"
            - string
        documentType:
          type:
            - "null"
            - string
        fileDate:
          format: date-time
          type:
            - "null"
            - string
        invoiceNumber:
          format: int32
          type:
            - "null"
            - integer
        isDeletable:
          type: boolean
        leaseScheduleId:
          format: int32
          type:
            - "null"
            - integer
        mimeType:
          type:
            - "null"
            - string
        serialNumber:
          type:
            - "null"
            - string
        shortName:
          type:
            - "null"
            - string
        stockId:
          format: int64
          type:
            - "null"
            - integer
      type: object
    CollectedAssetErasureState:
      enum:
        - destroyed
        - erased
        - noVolumePresent
        - noDataErasure
        - planned
      type: string
    CollectedAssetErasureType:
      enum:
        - eraSurePlus
        - eraSure
        - doDCompliant
        - noErasure
      type: string
    CollectedAssetGrading:
      enum:
        - a
        - b
        - c
        - d
      type: string
    CollectedAssetState:
      enum:
        - reserved
        - ok
        - yellowed
        - littleDamage
        - missingParts
        - damaged
        - scrap
        - heavyDamageAndMissingParts
        - notFound
        - untested
        - others
      type: string
    CollectedAssetTestState:
      enum:
        - tested
        - testPlanned
        - onlyAudit
      type: string
    DocumentCategory:
      enum:
        - masterLeaseAgreement
        - supplementalAgreement
        - leaseSchedule
        - carbonZeroCertificate
        - collection
        - erasureProtocol
        - invoice
        - credit
        - additionalDocument
        - report
        - ownDocument
        - scheduledExport
        - oneTimeExport
      type: string
    TesmaLoadResult_CollectedAssetResponse:
      additionalProperties: false
      properties:
        data:
          items:
            $ref: "#/components/schemas/CollectedAssetResponse"
          type:
            - "null"
            - array
          x-is-public: true
        groupCount:
          default: -1
          format: int32
          type: integer
        summary:
          items: {}
          type:
            - "null"
            - array
        totalCount:
          default: -1
          format: int32
          type: integer
      type: object
```
