openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSBB_WORKBOOK_AGR_GET:
    post:
      tags:
      - RSMENU
      operationId: /rfc/RSBB_WORKBOOK_AGR_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ACCESSIBLE_ONLY:
                  type: string
                  maxLength: 1
                I_ACTIVE_ONLY:
                  type: string
                  maxLength: 1
                I_PROHIBITED_ONLY:
                  type: string
                  maxLength: 1
                I_SHOW_TEXT:
                  type: string
                  maxLength: 1
                I_WORKBOOKID:
                  type: string
                  maxLength: 25
                  description: 'BW Generation Tool: GUID in Compressed Form (CHAR25)'
                E_T_AGR:
                  type: array
                  items:
                    type: object
                    properties:
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
              required:
              - I_WORKBOOKID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  E_T_AGR:
                    type: array
                    items:
                      type: object
                      properties:
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
