openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CME_API_CHAR_SEARCH:
    post:
      tags:
      - CME_API_CHAR
      summary: CME Characteristic - Find
      operationId: /rfc/CME_API_CHAR_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_KEY:
                  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
                IS_LANGUAGE_CODE:
                  type: object
                  properties:
                    LANGUAGE:
                      type: string
                      maxLength: 2
                      description: Language
                    COUNTRY:
                      type: string
                      maxLength: 2
                      description: Country Key
                IS_SHORT_TEXTS:
                  type: object
                  properties:
                    LANGUAGE:
                      type: string
                      maxLength: 2
                      description: Language
                    COUNTRY:
                      type: string
                      maxLength: 2
                      description: Country Key
                    CHARACTER_DESC:
                      type: string
                      maxLength: 255
                      description: 'CME Characteristic: Short Text'
                    DEFSCOPE_DESC:
                      type: string
                      maxLength: 255
                      description: 'CME Definition Scope: Short Text'
                    DTYPE_DESC:
                      type: string
                      maxLength: 255
                      description: 'CME Data Type: Short Text'
                    OWNER_DESC:
                      type: string
                      maxLength: 255
                      description: 'CME Owner: Short Text'
                    SYNONYM:
                      type: string
                      maxLength: 255
                      description: CME Synonym
                    CATCHWORD:
                      type: string
                      maxLength: 255
                      description: CME Keyword
                IT_TEXT_TYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXT_TYPE:
                        type: string
                        maxLength: 10
                        description: MDF Text Type
                      ELEMENT:
                        type: string
                        maxLength: 30
                        description: MDF Text Element, like Set Type
                I_CASE_SENSITIVE:
                  type: string
                  default: CL_DML_CONST=>FALSE
                  maxLength: 1
                  description: Inclusion of Lowercase
                I_GROUP:
                  type: string
                  maxLength: 10
                  description: CME Characteristic -Group-
                I_MAX_HITS:
                  type: integer
                  format: int64
                  default: 99999
                  description: Maximum Number of Hits
                I_ONLY_KEYS:
                  type: string
                  default: CL_DML_CONST=>TRUE
                  maxLength: 1
                  description: Read Only Key Data
                I_STATUS:
                  type: string
                  maxLength: 5
                  description: CME Characteristic -Status-
                I_USER:
                  type: string
                  maxLength: 12
                  description: User Creating the Characteristic
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_CHARACTERISTICS:
                    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
                        TEXT:
                          type: array
                          items:
                            type: object
                            properties:
                              TEXT_TYPE:
                                type: string
                                maxLength: 10
                                description: MDF Text Type
                              LANGUAGE:
                                type: string
                                maxLength: 2
                                description: Language
                              COUNTRY:
                                type: string
                                maxLength: 2
                                description: Country Key
                              POS_COUNT:
                                type: integer
                                format: int64
                                description: Sort Order
                              SHORT:
                                type: string
                                description: Description
                              LONG_ID:
                                type: string
                                format: byte
                                description: Long Text Key
                              DELETE:
                                type: string
                                maxLength: 1
                                description: Delete
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
