openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BGRFC_CHECK_UNIT_STATE:
    post:
      tags:
      - BGRFC_EXTERN
      operationId: /rfc/BGRFC_CHECK_UNIT_STATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTEXT_ID:
                  type: string
                  maxLength: 40
                TID:
                  type: object
                  properties:
                    ARFCIPID:
                      type: string
                      maxLength: 8
                      description: Host ID (IP ID
                    ARFCPID:
                      type: string
                      maxLength: 4
                      description: Process ID
                    ARFCTIME:
                      type: string
                      maxLength: 8
                      description: Time Stamp
                    ARFCTIDCNT:
                      type: string
                      maxLength: 4
                      description: Transaction ID (LUW -> COMMIT WORK)
                UNIT_ID:
                  type: string
                  format: byte
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COMMUNICATION_FAILURE:
                    type: string
                    maxLength: 255
                  MAX_WPRUN_TIME:
                    type: integer
                    format: int32
                  STATE:
                    type: integer
                    format: int32
                  SYSTEM_FAILURE:
                    type: string
                    maxLength: 255
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
