openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GWY_READ_CONNECTIONS2:
    post:
      tags:
      - SGWY
      operationId: /rfc/GWY_READ_CONNECTIONS2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DISCONNECT:
                  type: string
                  maxLength: 1
                GWHOST:
                  type: string
                  maxLength: 255
                GWSERV:
                  type: string
                  maxLength: 20
                CONNECTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      CONN:
                        type: integer
                        format: int32
                        description: Number of the Gateway Connection
                      CLIENT_LU:
                        type: string
                        maxLength: 128
                        description: Longer Logical Unit Name
                      SERVER_LU:
                        type: string
                        maxLength: 128
                        description: Longer Logical Unit Name
                      CLIENT_TP:
                        type: string
                        maxLength: 128
                        description: Longer transaction program name
                      SERVER_TP:
                        type: string
                        maxLength: 128
                        description: Longer transaction program name
                      GWUSER:
                        type: string
                        maxLength: 12
                        description: Gateway user
                      STATE:
                        type: integer
                        format: int32
                        description: Status of Gateway Connection
                      SYMDEST:
                        type: string
                        maxLength: 8
                        description: Symbolic destination
                      CONVID:
                        type: string
                        maxLength: 8
                        description: Conversation ID
                      PROT:
                        type: integer
                        format: int32
                        description: Protocol of Gateway Connection
                      TRACE:
                        type: integer
                        format: int32
                        description: Trace Level of Gateway Connection
                      WP_NO:
                        type: integer
                        format: int32
                        description: Number of Gateway Work Process
                      BLKS:
                        type: integer
                        format: int32
                        description: Number of Blocks Used
                      APPCRC:
                        type: integer
                        format: int32
                        description: APPC Error Number
                      SAPRC:
                        type: integer
                        format: int32
                        description: SAP Error Number
                      CLIENT_FRAG:
                        type: integer
                        format: int32
                        description: Fragmentation with Network Calls
                      SERVER_FRAG:
                        type: integer
                        format: int32
                        description: Fragmentation with Network Calls
                      CLIENT_ADDR:
                        type: string
                        maxLength: 45
                        description: IP Address
                      SERVER_ADDR:
                        type: string
                        maxLength: 45
                        description: IP Address
                      RECEIVED_REQ:
                        type: integer
                        format: int32
                        description: Number of Requests in the Gateway Connection
                      TRANSMITTED_REQ:
                        type: integer
                        format: int32
                        description: Number of Requests in the Gateway Connection
                      LAST_REQ_TS:
                        type: string
                        maxLength: 24
                        description: Time Stamp of Last Action
                      LAST_REQ_TIME_T:
                        type: string
                        maxLength: 16
                        description: Time Stamp in UNIX Format
                      RESERVE1:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      RESERVE2:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      RESERVE3:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      RESERVE4:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      RESERVE5:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      RESERVE6:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      RESERVE7:
                        type: integer
                        format: int32
                        description: Natural number
                      RESERVE8:
                        type: integer
                        format: int32
                        description: Natural number
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONNECTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        CONN:
                          type: integer
                          format: int32
                          description: Number of the Gateway Connection
                        CLIENT_LU:
                          type: string
                          maxLength: 128
                          description: Longer Logical Unit Name
                        SERVER_LU:
                          type: string
                          maxLength: 128
                          description: Longer Logical Unit Name
                        CLIENT_TP:
                          type: string
                          maxLength: 128
                          description: Longer transaction program name
                        SERVER_TP:
                          type: string
                          maxLength: 128
                          description: Longer transaction program name
                        GWUSER:
                          type: string
                          maxLength: 12
                          description: Gateway user
                        STATE:
                          type: integer
                          format: int32
                          description: Status of Gateway Connection
                        SYMDEST:
                          type: string
                          maxLength: 8
                          description: Symbolic destination
                        CONVID:
                          type: string
                          maxLength: 8
                          description: Conversation ID
                        PROT:
                          type: integer
                          format: int32
                          description: Protocol of Gateway Connection
                        TRACE:
                          type: integer
                          format: int32
                          description: Trace Level of Gateway Connection
                        WP_NO:
                          type: integer
                          format: int32
                          description: Number of Gateway Work Process
                        BLKS:
                          type: integer
                          format: int32
                          description: Number of Blocks Used
                        APPCRC:
                          type: integer
                          format: int32
                          description: APPC Error Number
                        SAPRC:
                          type: integer
                          format: int32
                          description: SAP Error Number
                        CLIENT_FRAG:
                          type: integer
                          format: int32
                          description: Fragmentation with Network Calls
                        SERVER_FRAG:
                          type: integer
                          format: int32
                          description: Fragmentation with Network Calls
                        CLIENT_ADDR:
                          type: string
                          maxLength: 45
                          description: IP Address
                        SERVER_ADDR:
                          type: string
                          maxLength: 45
                          description: IP Address
                        RECEIVED_REQ:
                          type: integer
                          format: int32
                          description: Number of Requests in the Gateway Connection
                        TRANSMITTED_REQ:
                          type: integer
                          format: int32
                          description: Number of Requests in the Gateway Connection
                        LAST_REQ_TS:
                          type: string
                          maxLength: 24
                          description: Time Stamp of Last Action
                        LAST_REQ_TIME_T:
                          type: string
                          maxLength: 16
                          description: Time Stamp in UNIX Format
                        RESERVE1:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        RESERVE2:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        RESERVE3:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        RESERVE4:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        RESERVE5:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        RESERVE6:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        RESERVE7:
                          type: integer
                          format: int32
                          description: Natural number
                        RESERVE8:
                          type: integer
                          format: int32
                          description: Natural number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
