openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SHOW_UPD_STAT:
    post:
      tags:
      - SADA_A1S
      summary: Display Update Statists MaxDB
      operationId: /rfc/SHOW_UPD_STAT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BTYPE:
                  type: string
                  default: UPD1
                  maxLength: 5
                  description: Type of DBA action
                DATE_FROM:
                  type: string
                  maxLength: 14
                  description: Start of the DBA action
                SYSID:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      BTYPE:
                        type: string
                        maxLength: 5
                        description: Type of DBA action
                      STARTTSTMP:
                        type: string
                        maxLength: 14
                        description: Timestamp for first run of DBA action
                      PERIOD:
                        type: integer
                        format: int64
                        description: Duration (in days) of DBA action
                      RC:
                        type: string
                        maxLength: 4
                        description: Return code
                      EXT1:
                        type: string
                        maxLength: 200
                        description: Text field length 200
              required:
              - BTYPE
              - SYSID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        BTYPE:
                          type: string
                          maxLength: 5
                          description: Type of DBA action
                        STARTTSTMP:
                          type: string
                          maxLength: 14
                          description: Timestamp for first run of DBA action
                        PERIOD:
                          type: integer
                          format: int64
                          description: Duration (in days) of DBA action
                        RC:
                          type: string
                          maxLength: 4
                          description: Return code
                        EXT1:
                          type: string
                          maxLength: 200
                          description: Text field length 200
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
