openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSOD_BIRM_QUERY:
    post:
      tags:
      - RSOD_BIRM
      operationId: /rfc/RSOD_BIRM_QUERY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DOC_CLASS:
                  type: string
                  maxLength: 4
                  description: Document Class
                I_STRICT:
                  type: string
                  default: RS_C_TRUE
                  maxLength: 1
                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_DOC_CLASS
              - 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
                  E_TS_IO_PROP:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
