openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCOV_FILL_PB_REMOTE:
    post:
      tags:
      - SCVA_DETAIL
      operationId: /rfc/SCOV_FILL_PB_REMOTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROGRAM:
                  type: string
                  maxLength: 40
                  description: Program Name
              required:
              - PROGRAM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PB:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 4
                          description: Type of Processing Block
                        NAME:
                          type: string
                          maxLength: 61
                          description: Name of Processing Block
                        CLASS:
                          type: string
                          maxLength: 30
                          description: Class of Processing Block
                        COUNT1:
                          type: integer
                          format: int64
                          description: Accumulated Executions (Absolute)
                        RABAX1:
                          type: integer
                          format: int64
                          description: Accumulated Runtime Errors (Absolute)
                        RESET1:
                          type: integer
                          format: int64
                          description: Accumulated Changes (Absolute)
                        RESET2:
                          type: integer
                          format: int64
                          description: Reset2 Absolute Value
                        COUNT2:
                          type: integer
                          format: int64
                          description: Current Executions (Absolute)
                        RABAX2:
                          type: integer
                          format: int64
                          description: Current Runtime Errors (Absolute)
                        UNICODE:
                          type: integer
                          format: int64
                          description: Unicode Flag Absolute Value
                        LED:
                          type: string
                          maxLength: 1
                          description: Field for LED Display
                        TESTED:
                          type: integer
                          format: int64
                          description: 'Absolute Value: Watch Unit is Tested'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
