openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSOD_SKWF_QUERY:
    post:
      tags:
      - RSOD_SKFW_RM
      operationId: /rfc/RSOD_SKWF_QUERY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_APPL:
                  type: string
                  default: BW
                  maxLength: 15
                  description: Application
                I_DEPTH:
                  type: integer
                  format: int32
                  default: -1
                I_MAX_RESULTS:
                  type: integer
                  format: int32
                  default: -1
                I_S_FOLDER:
                  type: object
                  properties:
                    OBJTYPE:
                      type: string
                      maxLength: 1
                      description: 'KW Framework: IO type  enumValues: R=Relationship,L=LOIO,P=PHIO,""=Undefined (= all),F=Directory'
                      enum:
                      - R
                      - L
                      - P
                      - ''
                      - F
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                I_T_QUPROP:
                  type: array
                  items:
                    type: object
                    properties:
                      PROP_NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Include-exclude attribute in search query
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Relational operator in search query
                      LOW:
                        type: string
                        maxLength: 64
                        description: Lower interval limit for search query
                      HIGH:
                        type: string
                        maxLength: 64
                        description: Upper interval limit for search query
              required:
              - I_S_FOLDER
              - I_T_QUPROP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_TEXT:
                    type: string
                    description: Error Text
                  E_REDUCED_BY_AUTHORITY:
                    type: string
                    maxLength: 1
                  E_TH_IO:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYPE:
                          type: string
                          maxLength: 1
                          description: 'KW Framework: IO type'
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        NAME:
                          type: string
                          maxLength: 64
                          description: 'KW Framework: Description'
                        DESCRIPT:
                          type: string
                          maxLength: 64
                          description: 'KW Framework: Description'
                        URL:
                          type: string
                          description: URL
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
