openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CME_API_CHAR_CONV_INT_EXT:
    post:
      tags:
      - CME_API_CHAR
      summary: CME Characteristic - Convert GUID into External Key
      operationId: /rfc/CME_API_CHAR_CONV_INT_EXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ERROR_TYPE:
                  type: string
                  default: E
                  maxLength: 1
                  description: Type of error handling
                ET_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                IET_EXTERNAL_KEY:
                  type: array
                  items:
                    type: object
                    properties:
                      CHARACT_ID:
                        type: string
                        maxLength: 100
                        description: 'CME Characteristic: External Name'
                      CHARACT_VERSION:
                        type: integer
                        format: int64
                        description: Version
                      CHARACT_OWNER_ID:
                        type: string
                        maxLength: 100
                        description: 'CME Owner: External Name'
                      DSCOPE_ID:
                        type: string
                        maxLength: 100
                        description: 'CME Definition Scope: External Name'
                      DSCOPE_VERSION:
                        type: integer
                        format: int64
                        description: Version
                      DSCOPE_OWNER_ID:
                        type: string
                        maxLength: 100
                        description: 'CME Owner: External Name'
                      CHARACT_GUID:
                        type: string
                        format: byte
                        description: 'CME Characteristic: GUID'
                      CHARACT_OBJ_GUID:
                        type: string
                        format: byte
                        description: 'CME Characteristic: Object GUID'
                      CHARACT_OWNER_GUID:
                        type: string
                        format: byte
                        description: Owner
                      DSCOPE_GUID:
                        type: string
                        format: byte
                        description: CME Definition Scope - GUID
                      DSCOPE_OBJ_GUID:
                        type: string
                        format: byte
                        description: CME Definition Scope - Object GUID
                      DSCOPE_OWNER_GUID:
                        type: string
                        format: byte
                        description: CME Definition Scope - GUID
              required:
              - I_ERROR_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
                  IET_EXTERNAL_KEY:
                    type: array
                    items:
                      type: object
                      properties:
                        CHARACT_ID:
                          type: string
                          maxLength: 100
                          description: 'CME Characteristic: External Name'
                        CHARACT_VERSION:
                          type: integer
                          format: int64
                          description: Version
                        CHARACT_OWNER_ID:
                          type: string
                          maxLength: 100
                          description: 'CME Owner: External Name'
                        DSCOPE_ID:
                          type: string
                          maxLength: 100
                          description: 'CME Definition Scope: External Name'
                        DSCOPE_VERSION:
                          type: integer
                          format: int64
                          description: Version
                        DSCOPE_OWNER_ID:
                          type: string
                          maxLength: 100
                          description: 'CME Owner: External Name'
                        CHARACT_GUID:
                          type: string
                          format: byte
                          description: 'CME Characteristic: GUID'
                        CHARACT_OBJ_GUID:
                          type: string
                          format: byte
                          description: 'CME Characteristic: Object GUID'
                        CHARACT_OWNER_GUID:
                          type: string
                          format: byte
                          description: Owner
                        DSCOPE_GUID:
                          type: string
                          format: byte
                          description: CME Definition Scope - GUID
                        DSCOPE_OBJ_GUID:
                          type: string
                          format: byte
                          description: CME Definition Scope - Object GUID
                        DSCOPE_OWNER_GUID:
                          type: string
                          format: byte
                          description: CME Definition Scope - GUID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
