openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_GET_PROJECT_STATISTICS:
    post:
      tags:
      - S_HIER_STAT
      summary: Display project statistics
      operationId: /rfc/BAPI_GET_PROJECT_STATISTICS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROJECTID:
                  type: string
                  maxLength: 10
                  description: Project name
              required:
              - PROJECTID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NR_ANSWERS_QA:
                    type: integer
                    format: int32
                    description: Natural Number
                  NR_QUESTIONS_IA:
                    type: integer
                    format: int32
                    description: Natural Number
                  NR_QUESTIONS_QA:
                    type: integer
                    format: int32
                    description: Natural Number
                  PERCENT_READY:
                    type: integer
                    format: int64
                    description: Project name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
