openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/W3_GET_FGROUPS_FOR_WEBAPP:
    post:
      tags:
      - W3_API_MINIAPP
      operationId: /rfc/W3_GET_FGROUPS_FOR_WEBAPP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ITS_SERVICE:
                  type: string
                  maxLength: 14
                  description: Service name of Internet Application Component
                WEBAPP:
                  type: string
                  maxLength: 30
                  description: MiniApp Name
                FGROUPS:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      AREA:
                        type: string
                        maxLength: 26
                        description: Function group, to which the function module belongs
                      AREAT:
                        type: string
                        maxLength: 40
                        description: Function group text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FGROUPS:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        AREA:
                          type: string
                          maxLength: 26
                          description: Function group, to which the function module belongs
                        AREAT:
                          type: string
                          maxLength: 40
                          description: Function group text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
