openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CLSX_SEARCH_OBJECTS:
    post:
      tags:
      - CLSX
      operationId: /rfc/CLSX_SEARCH_OBJECTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ALL_VALUES:
                  type: string
                  default: ' '
                  maxLength: 1
                I_CLASS:
                  type: string
                  maxLength: 250
                  description: Class
                I_CLASSTYPE:
                  type: string
                  maxLength: 250
                  description: Class Type
                I_EXTERNAL_VIEW:
                  type: string
                  default: X
                  maxLength: 1
                I_KEYDATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Key date for the selection
                I_LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                I_MAFID:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Indicator: Object/Class'
                I_MAXIMUM_NUMBER_OF_HITS:
                  type: integer
                  format: int64
                  default: 999
                  description: Maximum number of hits
                I_NO_AUTH_CHECK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: No authorization check
                I_OBJECTNAME:
                  type: string
                  maxLength: 50
                  description: Class Type
                I_OBJECTTYPE:
                  type: string
                  maxLength: 30
                  description: Class Type
                I_SUBCLASSES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Class Type
                ET_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT:
                        type: string
                        maxLength: 50
                        description: Key of object to be classified
                      CUOBJ:
                        type: integer
                        format: int64
                        description: Configuration (internal object number)
                      MAFID:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Object/Class'
                      OBTAB:
                        type: string
                        maxLength: 30
                        description: Object Type in Classification
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Classification status
                      CLINT:
                        type: integer
                        format: int64
                        description: Internal Class Number
                      MARKED:
                        type: string
                        maxLength: 1
                        description: Boolean type
                      OBJECT_CONV:
                        type: string
                        maxLength: 100
                        description: Long Object Number
                ET_OBJECTS_EXTERNAL_VIEW:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTKEY:
                        type: string
                        maxLength: 250
                        description: Character String (250 Characters)
                      OBJECTTABLE:
                        type: string
                        maxLength: 250
                        description: Character String (250 Characters)
                      OBJECTDESCRIPTION:
                        type: string
                        maxLength: 250
                        description: Character String (250 Characters)
                      OBJECTKEYFIELDS:
                        type: string
                        maxLength: 250
                        description: Character String (250 Characters)
                ET_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      OBJEK:
                        type: string
                        maxLength: 50
                        description: Key of object to be classified
                      ATINN:
                        type: integer
                        format: int64
                        description: Internal characteristic
                      ATZHL:
                        type: integer
                        format: int64
                        description: Characteristic value counter
                      MAFID:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Object/Class'
                      KLART:
                        type: string
                        maxLength: 3
                        description: Class Type
                      ADZHL:
                        type: integer
                        format: int64
                        description: Internal counter for archiving objects via engin. chg. mgmt
                      ATWRT:
                        type: string
                        maxLength: 30
                        description: Characteristic Value
                      ATFLV:
                        type: number
                        description: Internal floating point from
                      ATAWE:
                        type: string
                        maxLength: 3
                        description: Unit of Measurement
                      ATFLB:
                        type: number
                        description: Internal floating point value to
                      ATAW1:
                        type: string
                        maxLength: 3
                        description: Unit of Measurement
                      ATCOD:
                        type: string
                        maxLength: 1
                        description: Code for value dependency
                      ATTLV:
                        type: number
                        description: Tolerance from
                      ATTLB:
                        type: number
                        description: Tolerance to
                      ATPRZ:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Tolerance Shown as a Percentage'
                      ATINC:
                        type: number
                        description: Increment Within a Specified Interval
                      ATAUT:
                        type: string
                        maxLength: 1
                        description: 'Classification: Author'
                      AENNR:
                        type: string
                        maxLength: 12
                        description: Change Number
                      DATUV:
                        type: string
                        format: date
                        description: Valid-From Date
                      LKENZ:
                        type: string
                        maxLength: 1
                        description: Deletion Indicator
                      ATIMB:
                        type: integer
                        format: int64
                        description: Characteristic Number of User-Defined Data Type
                      ATZIS:
                        type: integer
                        format: int64
                        description: Instance counter
                      ATSRT:
                        type: integer
                        format: int64
                        description: Sort field for AUSP char. values
                      ATVGLART:
                        type: string
                        maxLength: 1
                        description: 'Comparison Type for Char. Value: " " .. "7": Incl./Excl.'
                ET_VALUES_EXTERNAL_VIEW:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTKEY:
                        type: string
                        maxLength: 250
                        description: Character String (250 Characters)
                      CHARACTERISTIC:
                        type: string
                        maxLength: 250
                        description: Character String (250 Characters)
                      VALUE:
                        type: string
                        maxLength: 250
                        description: Character String (250 Characters)
                      OBJECTKEYFIELDS:
                        type: string
                        maxLength: 250
                        description: Character String (250 Characters)
                IT_SELECTION_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      CHARACTERISTIC:
                        type: string
                        maxLength: 250
                        description: Characteristic (250 Characters)
                      VALUE:
                        type: string
                        maxLength: 250
                        description: Characteristic Value (250 Characters)
              required:
              - I_CLASS
              - I_CLASSTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT:
                          type: string
                          maxLength: 50
                          description: Key of object to be classified
                        CUOBJ:
                          type: integer
                          format: int64
                          description: Configuration (internal object number)
                        MAFID:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Object/Class'
                        OBTAB:
                          type: string
                          maxLength: 30
                          description: Object Type in Classification
                        STATUS:
                          type: string
                          maxLength: 1
                          description: Classification status
                        CLINT:
                          type: integer
                          format: int64
                          description: Internal Class Number
                        MARKED:
                          type: string
                          maxLength: 1
                          description: Boolean type
                        OBJECT_CONV:
                          type: string
                          maxLength: 100
                          description: Long Object Number
                  ET_OBJECTS_EXTERNAL_VIEW:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTKEY:
                          type: string
                          maxLength: 250
                          description: Character String (250 Characters)
                        OBJECTTABLE:
                          type: string
                          maxLength: 250
                          description: Character String (250 Characters)
                        OBJECTDESCRIPTION:
                          type: string
                          maxLength: 250
                          description: Character String (250 Characters)
                        OBJECTKEYFIELDS:
                          type: string
                          maxLength: 250
                          description: Character String (250 Characters)
                  ET_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        OBJEK:
                          type: string
                          maxLength: 50
                          description: Key of object to be classified
                        ATINN:
                          type: integer
                          format: int64
                          description: Internal characteristic
                        ATZHL:
                          type: integer
                          format: int64
                          description: Characteristic value counter
                        MAFID:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Object/Class'
                        KLART:
                          type: string
                          maxLength: 3
                          description: Class Type
                        ADZHL:
                          type: integer
                          format: int64
                          description: Internal counter for archiving objects via engin. chg. mgmt
                        ATWRT:
                          type: string
                          maxLength: 30
                          description: Characteristic Value
                        ATFLV:
                          type: number
                          description: Internal floating point from
                        ATAWE:
                          type: string
                          maxLength: 3
                          description: Unit of Measurement
                        ATFLB:
                          type: number
                          description: Internal floating point value to
                        ATAW1:
                          type: string
                          maxLength: 3
                          description: Unit of Measurement
                        ATCOD:
                          type: string
                          maxLength: 1
                          description: Code for value dependency
                        ATTLV:
                          type: number
                          description: Tolerance from
                        ATTLB:
                          type: number
                          description: Tolerance to
                        ATPRZ:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Tolerance Shown as a Percentage'
                        ATINC:
                          type: number
                          description: Increment Within a Specified Interval
                        ATAUT:
                          type: string
                          maxLength: 1
                          description: 'Classification: Author'
                        AENNR:
                          type: string
                          maxLength: 12
                          description: Change Number
                        DATUV:
                          type: string
                          format: date
                          description: Valid-From Date
                        LKENZ:
                          type: string
                          maxLength: 1
                          description: Deletion Indicator
                        ATIMB:
                          type: integer
                          format: int64
                          description: Characteristic Number of User-Defined Data Type
                        ATZIS:
                          type: integer
                          format: int64
                          description: Instance counter
                        ATSRT:
                          type: integer
                          format: int64
                          description: Sort field for AUSP char. values
                        ATVGLART:
                          type: string
                          maxLength: 1
                          description: 'Comparison Type for Char. Value: " " .. "7": Incl./Excl.'
                  ET_VALUES_EXTERNAL_VIEW:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTKEY:
                          type: string
                          maxLength: 250
                          description: Character String (250 Characters)
                        CHARACTERISTIC:
                          type: string
                          maxLength: 250
                          description: Character String (250 Characters)
                        VALUE:
                          type: string
                          maxLength: 250
                          description: Character String (250 Characters)
                        OBJECTKEYFIELDS:
                          type: string
                          maxLength: 250
                          description: Character String (250 Characters)
                  IT_SELECTION_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        CHARACTERISTIC:
                          type: string
                          maxLength: 250
                          description: Characteristic (250 Characters)
                        VALUE:
                          type: string
                          maxLength: 250
                          description: Characteristic Value (250 Characters)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
