openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSAQ_REMOTE_FUNCAREA_CATALOG:
    post:
      tags:
      - AQRC
      summary: Functional Area Directory
      operationId: /rfc/RSAQ_REMOTE_FUNCAREA_CATALOG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GENERIC_FUNCAREA:
                  type: string
                  default: '*'
                  maxLength: 24
                GENERIC_USERGROUP:
                  type: string
                  default: '*'
                  maxLength: 12
                WITH_SYSTEM_OBJECTS:
                  type: string
                  default: ' '
                  maxLength: 1
                WORKSPACE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Work Area
                FUNCAREACATALOG:
                  type: array
                  items:
                    type: object
                    properties:
                      CLAS:
                        type: string
                        maxLength: 24
                        description: 'SAP Query (S): InfoSet'
                      CTEXT:
                        type: string
                        maxLength: 63
                        description: 'SAP Query: InfoSet text'
                      ART:
                        type: string
                        maxLength: 1
                        description: 'SAP Query (S): Flag'
                      LOGDB:
                        type: string
                        maxLength: 20
                        description: 'SAP Query (S): Name of a logical database'
                      TSTRUC:
                        type: string
                        maxLength: 30
                        description: 'SAP Query (S): Table name'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FUNCAREACATALOG:
                    type: array
                    items:
                      type: object
                      properties:
                        CLAS:
                          type: string
                          maxLength: 24
                          description: 'SAP Query (S): InfoSet'
                        CTEXT:
                          type: string
                          maxLength: 63
                          description: 'SAP Query: InfoSet text'
                        ART:
                          type: string
                          maxLength: 1
                          description: 'SAP Query (S): Flag'
                        LOGDB:
                          type: string
                          maxLength: 20
                          description: 'SAP Query (S): Name of a logical database'
                        TSTRUC:
                          type: string
                          maxLength: 30
                          description: 'SAP Query (S): Table name'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
