---
title: "CHGResultOfUdmClass"
url: "https://developer.tesma.com/apis/logistics-api-26/versions/484d1e1b-3201-4f8b-800b-867280d5b6a4/schemas/CHGResultOfUdmClass"
---

> Full API specification: https://developer.tesma.com/apis/logistics-api-26/versions/484d1e1b-3201-4f8b-800b-867280d5b6a4.md

# CHGResultOfUdmClass

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: " API v1"
  version: 26.13.0.0
components:
  schemas:
    CHGMessage:
      anyOf:
        - $ref: "#/components/schemas/CHGMessageTextMessage"
        - $ref: "#/components/schemas/CHGMessageExternalMessage"
        - $ref: "#/components/schemas/CHGMessageCHGExceptionMessage"
        - $ref: "#/components/schemas/CHGMessageBase"
      type: object
    UdmClass:
      properties:
        _changedProperties:
          type:
            - "null"
            - object
        _changedPropertyNames:
          items:
            type: string
          type:
            - "null"
            - array
        _internalReferenceID:
          type:
            - "null"
            - string
        additionalProperties:
          type:
            - "null"
            - object
        attributes:
          items:
            $ref: "#/components/schemas/UdmClass2Attribute"
          type:
            - "null"
            - array
        autoId:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        category:
          type:
            - "null"
            - string
        classKey:
          type:
            - "null"
            - string
        dataState:
          $ref: "#/components/schemas/BusinessObjectState"
        id:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        techArea:
          oneOf:
            - type: "null"
            - $ref: "#/components/schemas/UdmTechArea"
      type: object
    CHGMessageTextMessage:
      properties:
        $type:
          enum:
            - CHG.iCLASSFW.Base.Foundation.TextMessage,
              CHG.iCLASSFW.Base.Foundation
          type: string
        _additionalInfos:
          type:
            - "null"
            - string
        _message:
          type:
            - "null"
            - string
        _messageLogId:
          type:
            - "null"
            - string
        _messageType:
          $ref: "#/components/schemas/MessageType"
        _traceId:
          type:
            - "null"
            - string
        errorCategory:
          type:
            - "null"
            - string
        errorCode:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        formatArguments:
          type:
            - "null"
            - array
        messageKey:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        messageLogId:
          type:
            - "null"
            - string
        source:
          type:
            - "null"
            - string
        sourceObjectIdentifier:
          $ref: "#/components/schemas/ObjectInstanceIdentifier"
        traceId:
          type:
            - "null"
            - string
      required:
        - $type
        - _messageType
    CHGMessageExternalMessage:
      properties:
        $type:
          enum:
            - CHG.iCLASSFW.Base.Foundation.ExternalMessage,
              CHG.iCLASSFW.Base.Foundation
          type: string
        _additionalInfos:
          type:
            - "null"
            - string
        _message:
          type:
            - "null"
            - string
        _messageLogId:
          type:
            - "null"
            - string
        _messageType:
          $ref: "#/components/schemas/MessageType"
        _traceId:
          type:
            - "null"
            - string
        errorCategory:
          type:
            - "null"
            - string
        errorCode:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        formatArguments:
          type:
            - "null"
            - array
        messageKey:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        messageLogId:
          type:
            - "null"
            - string
        source:
          type:
            - "null"
            - string
        sourceObjectIdentifier:
          $ref: "#/components/schemas/ObjectInstanceIdentifier"
        traceId:
          type:
            - "null"
            - string
      required:
        - $type
        - _messageType
    CHGMessageCHGExceptionMessage:
      properties:
        $type:
          enum:
            - CHG.iCLASSFW.Base.Foundation.CHGExceptionMessage,
              CHG.iCLASSFW.Base.Foundation
          type: string
        _additionalInfos:
          type:
            - "null"
            - string
        _messageLogId:
          type:
            - "null"
            - string
        _messageType:
          $ref: "#/components/schemas/MessageType"
        _traceId:
          type:
            - "null"
            - string
        additionalInfos:
          type:
            - "null"
            - string
        errorCategory:
          type:
            - "null"
            - string
        errorCode:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        formatArguments:
          type:
            - "null"
            - array
        message:
          type:
            - "null"
            - string
        messageKey:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        messageLogId:
          type:
            - "null"
            - string
        source:
          type:
            - "null"
            - string
        sourceObjectIdentifier:
          $ref: "#/components/schemas/ObjectInstanceIdentifier"
        traceId:
          type:
            - "null"
            - string
      required:
        - $type
        - _messageType
    CHGMessageBase:
      properties:
        _additionalInfos:
          type:
            - "null"
            - string
        _messageLogId:
          type:
            - "null"
            - string
        _messageType:
          $ref: "#/components/schemas/MessageType"
        _traceId:
          type:
            - "null"
            - string
        errorCategory:
          type:
            - "null"
            - string
        errorCode:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        formatArguments:
          type:
            - "null"
            - array
        messageKey:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        messageLogId:
          type:
            - "null"
            - string
        source:
          type:
            - "null"
            - string
        sourceObjectIdentifier:
          $ref: "#/components/schemas/ObjectInstanceIdentifier"
        traceId:
          type:
            - "null"
            - string
      required:
        - _messageType
    UdmClass2Attribute:
      properties:
        _changedProperties:
          type:
            - "null"
            - object
        _changedPropertyNames:
          items:
            type: string
          type:
            - "null"
            - array
        _internalReferenceID:
          type:
            - "null"
            - string
        additionalProperties:
          type:
            - "null"
            - object
        attribute:
          $ref: "#/components/schemas/UdmAttribute"
        attributeId:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        autoId:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        classId:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        dataState:
          $ref: "#/components/schemas/BusinessObjectState"
        dbValueFormat:
          type:
            - "null"
            - string
        defaultUnit:
          type:
            - "null"
            - string
        defaultUnitInteger:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        defaultValue:
          type:
            - "null"
            - string
        doPrint:
          $ref: "#/components/schemas/GeneralYesNo"
        isDefault:
          $ref: "#/components/schemas/GeneralYesNo"
        isMandatory:
          $ref: "#/components/schemas/GeneralYesNo"
        isSingle:
          $ref: "#/components/schemas/GeneralYesNo"
        linearField:
          type:
            - "null"
            - string
        listId:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        lookUpKey:
          type:
            - "null"
            - string
        lookupValues:
          items:
            $ref: "#/components/schemas/UdmAllRef"
          type:
            - "null"
            - array
        orderPos:
          format: int16
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        valueType:
          $ref: "#/components/schemas/FeatureType"
      type: object
    BusinessObjectState:
      type: integer
    UdmTechArea:
      type: integer
    MessageType:
      type: integer
    ObjectInstanceIdentifier:
      properties:
        keyValues:
          type:
            - "null"
            - object
        referenceID:
          type:
            - "null"
            - string
        typeName:
          type:
            - "null"
            - string
      type: object
    UdmAttribute:
      properties:
        _changedProperties:
          type:
            - "null"
            - object
        _changedPropertyNames:
          items:
            type: string
          type:
            - "null"
            - array
        _internalReferenceID:
          type:
            - "null"
            - string
        additionalProperties:
          type:
            - "null"
            - object
        autoId:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        dataState:
          $ref: "#/components/schemas/BusinessObjectState"
        description:
          type:
            - "null"
            - string
        format:
          $ref: "#/components/schemas/FeatureFormat"
        id:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        length:
          format: int16
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        numberOfDecimals:
          format: int16
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        units:
          items:
            $ref: "#/components/schemas/UdmUnit"
          type:
            - "null"
            - array
      type: object
    GeneralYesNo:
      type: integer
    UdmAllRef:
      properties:
        _changedProperties:
          type:
            - "null"
            - object
        _changedPropertyNames:
          items:
            type: string
          type:
            - "null"
            - array
        _internalReferenceID:
          type:
            - "null"
            - string
        additionalProperties:
          type:
            - "null"
            - object
        dataState:
          $ref: "#/components/schemas/BusinessObjectState"
        dbValue:
          type:
            - "null"
            - string
        description:
          type:
            - "null"
            - string
        id:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        langId:
          format: int16
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        theme:
          type:
            - "null"
            - string
      type: object
    FeatureType:
      type: integer
    FeatureFormat:
      type: integer
    UdmUnit:
      properties:
        _changedProperties:
          type:
            - "null"
            - object
        _changedPropertyNames:
          items:
            type: string
          type:
            - "null"
            - array
        _internalReferenceID:
          type:
            - "null"
            - string
        additionalProperties:
          type:
            - "null"
            - object
        attributeId:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        autoId:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        caption:
          type:
            - "null"
            - string
        dataState:
          $ref: "#/components/schemas/BusinessObjectState"
        factor:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        isDefault:
          type:
            - "null"
            - string
        key:
          type:
            - "null"
            - string
      type: object
    CHGResultOfUdmClass:
      properties:
        messages:
          items:
            $ref: "#/components/schemas/CHGMessage"
          type:
            - "null"
            - array
        response:
          $ref: "#/components/schemas/UdmClass"
      type: object
```
