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

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

# Result_ExecuteOwnedAssetImportCommand

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: tesma
  version: v1
servers:
  - url: https://api.tesma.com
components:
  schemas:
    ResultItem:
      additionalProperties: false
      properties:
        details:
          additionalProperties:
            type: "null"
          readOnly: true
          type:
            - "null"
            - object
        message:
          type:
            - "null"
            - string
        messageKey:
          type:
            - "null"
            - string
        responseCode:
          format: int32
          type:
            - "null"
            - integer
        sourceObjectId:
          type: "null"
      type: object
    ExecuteOwnedAssetImportCommand:
      additionalProperties: false
      properties:
        corporateGroup:
          $ref: "#/components/schemas/CorporateGroupResponse"
        customerContextKeys:
          items:
            $ref: "#/components/schemas/CustomerContextKey"
          type:
            - "null"
            - array
        customerNumber:
          format: int32
          type: integer
        importId:
          format: int32
          type: integer
        importInfo:
          $ref: "#/components/schemas/ImportInfo"
        successfullyImportedAssets:
          format: int32
          type: integer
        user:
          $ref: "#/components/schemas/User"
      type: object
    CorporateGroupResponse:
      additionalProperties: false
      properties:
        apiName:
          type:
            - "null"
            - string
        creationDate:
          format: date-time
          type: string
        fieldConfiguration:
          items:
            $ref: "#/components/schemas/ConfigurableFieldResponse"
          type:
            - "null"
            - array
        functions:
          $ref: "#/components/schemas/CorporateGroupFunction"
        id:
          format: int32
          type: integer
        isActive:
          type: boolean
        name:
          type:
            - "null"
            - string
      type: object
    CustomerContextKey:
      additionalProperties: false
      properties:
        customerNumber:
          format: int32
          type: integer
        leaseCompany:
          format: int32
          type: integer
      type: object
    ImportInfo:
      additionalProperties: false
      properties:
        detectedCulture:
          type:
            - "null"
            - string
        endRow:
          format: int32
          type: integer
        headerRow:
          format: int32
          type: integer
        ignoreBlankFields:
          type: boolean
        importColumnInfos:
          items:
            $ref: "#/components/schemas/ImportColumnInfo"
          type:
            - "null"
            - array
        notImportRelevantColumnInfos:
          items:
            $ref: "#/components/schemas/ImportColumnInfo"
          type:
            - "null"
            - array
        preferredCulture:
          type:
            - "null"
            - string
        sheetName:
          type:
            - "null"
            - string
        startRow:
          format: int32
          type: integer
        useLocalization:
          type: boolean
        userEmail:
          type:
            - "null"
            - string
      type: object
    User:
      additionalProperties: false
      properties:
        activeDirectoryId:
          type:
            - "null"
            - string
        createDate:
          format: date-time
          type: string
        culture:
          type:
            - "null"
            - string
        department:
          type:
            - "null"
            - string
        email:
          type:
            - "null"
            - string
        firstName:
          type:
            - "null"
            - string
        id:
          format: int32
          type: integer
        identityProviderId:
          type:
            - "null"
            - string
        isChgEmployee:
          type:
            - "null"
            - boolean
        isExternalUser:
          readOnly: true
          type: boolean
        isInternalUser:
          readOnly: true
          type: boolean
        language:
          type:
            - "null"
            - string
        lastName:
          type:
            - "null"
            - string
        phoneNumber:
          type:
            - "null"
            - string
        status:
          $ref: "#/components/schemas/UserStatus"
        timezone:
          type:
            - "null"
            - string
        type:
          $ref: "#/components/schemas/UserType"
      type: object
    ConfigurableFieldResponse:
      additionalProperties: false
      properties:
        corporateGroupId:
          format: int32
          type: integer
        customerFieldName:
          type:
            - "null"
            - string
        defaultInvoiceGroupNumber:
          format: int32
          type:
            - "null"
            - integer
        externalTechnicalFieldName:
          type:
            - "null"
            - string
        fieldType:
          $ref: "#/components/schemas/FieldConfiguration4CorporateGroupType"
        isReferenceValueEnabled:
          type: boolean
        referenceValues:
          items:
            $ref: "#/components/schemas/ReferenceValueResponse"
          type:
            - "null"
            - array
        technicalFieldName:
          type:
            - "null"
            - string
      type: object
    CorporateGroupFunction:
      enum:
        - supplierInvoiceDocuments
        - ownedAssets
        - acquisitionCosts
        - requestForBuyout
        - requestForExtension
        - applicationConfirmationsForcedFilters
        - applicationAssetsForcedFilters
        - leaseAssetMultiUpdate
        - buyoutPrice
        - extension
        - automation
        - extensionPrice
        - collectionVerification
        - collectionProcessedVerification
        - requestedAssets
        - orderedAssets
        - extensionForecast
      type: string
    ImportColumnInfo:
      additionalProperties: false
      properties:
        canBeLocalized:
          type: boolean
        columnHeader:
          type:
            - "null"
            - string
        columnIndex:
          format: int32
          type: integer
        columnLocalizationKey:
          type:
            - "null"
            - string
        isAvailable:
          type: boolean
        isIdentifier:
          type: boolean
        isNotImportRelevantColumn:
          type: boolean
        isRequired:
          type: boolean
        propertyName:
          type:
            - "null"
            - string
        propertyType:
          type:
            - "null"
            - string
        propertyTypeName:
          type:
            - "null"
            - string
      type: object
    UserStatus:
      enum:
        - deactivated
        - inProgress
        - active
      type: string
    UserType:
      enum:
        - chg
        - customer
        - afterSales
      type: string
    FieldConfiguration4CorporateGroupType:
      enum:
        - text
        - date
        - state
        - undefined
      type: string
    ReferenceValueResponse:
      additionalProperties: false
      properties:
        id:
          format: int32
          type: integer
        invoiceGroupNumber:
          format: int32
          type:
            - "null"
            - integer
        text:
          minLength: 1
          type: string
      required:
        - text
      type: object
    Result_ExecuteOwnedAssetImportCommand:
      additionalProperties: false
      properties:
        details:
          items:
            $ref: "#/components/schemas/ResultItem"
          readOnly: true
          type:
            - "null"
            - array
        isFailed:
          readOnly: true
          type: boolean
        isOk:
          readOnly: true
          type: boolean
        rootDetail:
          $ref: "#/components/schemas/ResultItem"
        value:
          $ref: "#/components/schemas/ExecuteOwnedAssetImportCommand"
      type: object
```
