openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PRGN_CHECK_MENU_STATUS_RFC:
    post:
      tags:
      - PRGN_UTILITIES
      operationId: /rfc/PRGN_CHECK_MENU_STATUS_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVITY_GROUP:
                  type: string
                  maxLength: 30
                I_AGR_TCODES:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      TYPE:
                        type: string
                        maxLength: 2
                        description: Report type
                      TCODE:
                        type: string
                        maxLength: 48
                        description: Extended program name
                      EXCLUDE:
                        type: string
                        maxLength: 1
                        description: Exclusive
                      DIRECT:
                        type: string
                        maxLength: 1
                        description: Flag to show that the transaction was input directly
                      INHERITED:
                        type: string
                        maxLength: 1
                        description: Flag to show that the entry was inherited
                      FOLDER:
                        type: integer
                        format: int64
                        description: Counter for menu ID
              required:
              - ACTIVITY_GROUP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LED_COLOR:
                    type: string
                    maxLength: 80
                    description: Menu entry text
                  MESSAGE_TEXT:
                    type: string
                    maxLength: 80
                    description: Menu entry text
                  I_AGR_TCODES:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        TYPE:
                          type: string
                          maxLength: 2
                          description: Report type
                        TCODE:
                          type: string
                          maxLength: 48
                          description: Extended program name
                        EXCLUDE:
                          type: string
                          maxLength: 1
                          description: Exclusive
                        DIRECT:
                          type: string
                          maxLength: 1
                          description: Flag to show that the transaction was input directly
                        INHERITED:
                          type: string
                          maxLength: 1
                          description: Flag to show that the entry was inherited
                        FOLDER:
                          type: integer
                          format: int64
                          description: Counter for menu ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
