openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SIW_MODE_CLASSES_GET:
    post:
      tags:
      - SI16
      summary: Gets Info Workbench info classes
      operationId: /rfc/SIW_MODE_CLASSES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GET_COMPLEX_EDIT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'KW: Mode for web authoring'
                MODE:
                  type: string
                  default: CREATE
                  maxLength: 10
                  description: 'KW: Mode for web authoring'
                STRUCT_OR_FOLDER:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                CONTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                TOPIC_CLASSES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      DESCR:
                        type: string
                        maxLength: 64
                        description: Short Description
                      SRC_FORMAT:
                        type: string
                        maxLength: 4
                        description: 'Source format  enumValues: CSS=CSS,ITM=ITM,GIF=GIF,VSD=VSD,HTML=HTML,PU=PD,PPT=PPT,TST=TEST,XML=XML,JS=Javascript,DOC=DOC,<ST>=Structure,THTM=HTML Business'
                        enum:
                        - CSS
                        - ITM
                        - GIF
                        - VSD
                        - HTML
                        - PU
                        - PPT
                        - TST
                        - XML
                        - JS
                        - DOC
                        - <ST>
                        - THTM
              required:
              - STRUCT_OR_FOLDER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_MSG:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  CONTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  TOPIC_CLASSES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        DESCR:
                          type: string
                          maxLength: 64
                          description: Short Description
                        SRC_FORMAT:
                          type: string
                          maxLength: 4
                          description: 'Source format  enumValues: CSS=CSS,ITM=ITM,GIF=GIF,VSD=VSD,HTML=HTML,PU=PD,PPT=PPT,TST=TEST,XML=XML,JS=Javascript,DOC=DOC,<ST>=Structure,THTM=HTML Business'
                          enum:
                          - CSS
                          - ITM
                          - GIF
                          - VSD
                          - HTML
                          - PU
                          - PPT
                          - TST
                          - XML
                          - JS
                          - DOC
                          - <ST>
                          - THTM
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
