---
title: "Retrieves the active error code information with all udm classes that are associated with each error code."
url: "https://developer.tesma.com/apis/logistics-api-26/versions/484d1e1b-3201-4f8b-800b-867280d5b6a4/paths/api-v2.0-PartnerAssetData-meta-errorCodes/get"
---

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

# Retrieves the active error code information with all udm classes that are associated with each error code.

`GET` `/api/v2.0/PartnerAssetData/meta/errorCodes`

## Query parameters

- `api-version` (string, optional)

## Responses

- `200` - The refined metadata from manufacturer table
- `400` - Bad request
- `401` - Unauthorized
- `403` - Forbidden
- `404` - Not found
- `500` - An internal server error occurred.

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: " API v1"
  version: 26.13.0.0
paths:
  /api/v2.0/PartnerAssetData/meta/errorCodes:
    get:
      parameters:
        - in: query
          name: api-version
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=full:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=full;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=full;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=full;odata.streaming=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=full;odata.streaming=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=minimal:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=minimal;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=minimal;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=minimal;odata.streaming=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=minimal;odata.streaming=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=none:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=none;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=none;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=none;odata.streaming=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=none;odata.streaming=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.streaming=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.streaming=false;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.streaming=false;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.streaming=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.streaming=true;IEEE754Compatible=false:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/json;odata.streaming=true;IEEE754Compatible=true:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/octet-stream:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            application/xml:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            text/json:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
            text/plain:
              schema:
                $ref: "#/components/schemas/CHGResultOfListOfErrorCodeMetaDataResponse"
          description: The refined metadata from manufacturer table
        "400":
          description: Bad request
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
        "404":
          description: Not found
        "500":
          description: An internal server error occurred.
      security:
        - Bearer:
            - sms_partnerassetdata_process
      summary: Retrieves the active error code information with all udm classes that
        are associated with each error code.
security:
  - Bearer:
      - sms_partnerassetdata_process
components:
  schemas:
    CHGResultOfListOfErrorCodeMetaDataResponse:
      properties:
        messages:
          items:
            $ref: "#/components/schemas/CHGMessage"
          type:
            - "null"
            - array
        response:
          items:
            $ref: "#/components/schemas/ErrorCodeMetaDataResponse"
          type:
            - "null"
            - array
      type: object
    CHGMessage:
      anyOf:
        - $ref: "#/components/schemas/CHGMessageTextMessage"
        - $ref: "#/components/schemas/CHGMessageExternalMessage"
        - $ref: "#/components/schemas/CHGMessageCHGExceptionMessage"
        - $ref: "#/components/schemas/CHGMessageBase"
      type: object
    ErrorCodeMetaDataResponse:
      properties:
        assetClassIds:
          items:
            format: int32
            pattern: ^-?(?:0|[1-9]\d*)$
            type:
              - integer
              - string
          type:
            - "null"
            - array
        description:
          type:
            - "null"
            - string
        errorCode:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
      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
    MessageType:
      type: integer
    ObjectInstanceIdentifier:
      properties:
        keyValues:
          type:
            - "null"
            - object
        referenceID:
          type:
            - "null"
            - string
        typeName:
          type:
            - "null"
            - string
      type: object
  securitySchemes:
    Bearer:
      bearerFormat: JWT
      description: JWT Authorization header using the Bearer scheme.
      scheme: bearer
      type: http
```
