openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_CLASS_INFO:
    post:
      tags:
      - STAP
      summary: 'Class: Read Attributes and Superior Classes'
      operationId: /rfc/GET_CLASS_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGE_NO:
                  type: string
                  maxLength: 12
                  description: Change Number
                CLASS:
                  type: string
                  maxLength: 18
                  description: Class
                CLASS_TYPE:
                  type: string
                  maxLength: 3
                  description: Class Type
                DATE:
                  type: string
                  maxLength: 10
                  description: Date (validity period, engineering change management)
                LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Language for transferring language-dependent texts
                WITH_CLASS_LIST:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Flag: Read Superior Classes'
                WITH_DESCRIPTION:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Flag: Show Class Descriptions'
                CLASS_CATCHWORD:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DESCRIPT:
                        type: string
                        maxLength: 40
                        description: Description
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                CLASS_DESCRIPTION:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DESCRIPT:
                        type: string
                        maxLength: 40
                        description: Description
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                CLASS_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      CLINT:
                        type: integer
                        format: int64
                        description: Internal Class Number
                      KLART:
                        type: string
                        maxLength: 3
                        description: Class Type
                      CLASS:
                        type: string
                        maxLength: 18
                        description: Class number
              required:
              - CLASS
              - CLASS_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ADDITIONAL_DATA:
                    type: object
                    properties:
                      BOM_ALLOWD:
                        type: string
                        maxLength: 1
                        description: 'Can Be Used in Bills of Material  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      BASE_UNIT:
                        type: string
                        maxLength: 3
                        description: Base Unit of Measure
                      RES_ITM_CT:
                        type: string
                        maxLength: 1
                        description: Resulting item category
                      ORG_AR_ITM:
                        type: string
                        maxLength: 10
                        description: Organizational Area
                      REQ_COMP:
                        type: string
                        maxLength: 1
                        description: 'Required Component  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MULT_SELEC:
                        type: string
                        maxLength: 1
                        description: 'Multiple Selection Allowed  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                  BASIC_DATA:
                    type: object
                    properties:
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Class status
                      GROUP:
                        type: string
                        maxLength: 10
                        description: Class Group
                      ORG_AREA:
                        type: string
                        maxLength: 10
                        description: Organizational Area
                      VAL_FROM:
                        type: string
                        maxLength: 10
                        description: Valid-from date
                      VAL_TO:
                        type: string
                        maxLength: 10
                        description: Valid-to date
                      AUTH_MAINT:
                        type: string
                        maxLength: 3
                        description: Class maintenance authorization group
                      AUTH_CLASI:
                        type: string
                        maxLength: 3
                        description: Classification authorization group
                      AUTH_SEL:
                        type: string
                        maxLength: 3
                        description: Authorization group for finding objects
                      CHECK_NO:
                        type: string
                        maxLength: 1
                        description: 'No Check for Same Classification  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CHECK_WARN:
                        type: string
                        maxLength: 1
                        description: 'Check for Same Classification with Warning  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CHECK_ERRO:
                        type: string
                        maxLength: 1
                        description: 'Check for Same Classification with Error Message  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      LOCLA:
                        type: string
                        maxLength: 1
                        description: 'Local class  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      KATALOG:
                        type: string
                        maxLength: 30
                        description: Name of External Catalog
                  DOCUMENT_IDENT:
                    type: object
                    properties:
                      DOCUMENT:
                        type: string
                        maxLength: 25
                        description: Document number
                      DOC_TYPE:
                        type: string
                        maxLength: 3
                        description: Document Type
                      DOC_PART:
                        type: string
                        maxLength: 3
                        description: Document part
                      DOC_VERS:
                        type: string
                        maxLength: 2
                        description: Document version
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      CODE:
                        type: string
                        maxLength: 5
                        description: Message code
                      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
                  STANDARD_DATA:
                    type: object
                    properties:
                      STANDARD:
                        type: string
                        maxLength: 10
                        description: Name of standards organization
                      STAND_NO:
                        type: string
                        maxLength: 20
                        description: Standard Number
                      ISSUE_DATE:
                        type: string
                        format: date
                        description: Issue date
                      VERS_DATE:
                        type: string
                        format: date
                        description: Version date
                      VERS_NO:
                        type: integer
                        format: int64
                        description: Version Number
                      CHAR_TABLE:
                        type: string
                        maxLength: 20
                        description: Characteristics table
                  CLASS_CATCHWORD:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DESCRIPT:
                          type: string
                          maxLength: 40
                          description: Description
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                  CLASS_DESCRIPTION:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DESCRIPT:
                          type: string
                          maxLength: 40
                          description: Description
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                  CLASS_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        CLINT:
                          type: integer
                          format: int64
                          description: Internal Class Number
                        KLART:
                          type: string
                          maxLength: 3
                          description: Class Type
                        CLASS:
                          type: string
                          maxLength: 18
                          description: Class number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
