openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GWY_READ_CONNECTIONS:
    post:
      tags:
      - SGWY
      operationId: /rfc/GWY_READ_CONNECTIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DISCONNECT:
                  type: string
                  maxLength: 1
                  description: Terminate connection
                GWHOST:
                  type: string
                  maxLength: 255
                GWSERV:
                  type: string
                  maxLength: 20
                CONNECTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      CONN:
                        type: string
                        maxLength: 10
                        description: Number of connection
                      LU:
                        type: string
                        maxLength: 8
                        description: Logical Unit
                      TP:
                        type: string
                        maxLength: 8
                        description: Transaction program name
                      GWUSER:
                        type: string
                        maxLength: 12
                        description: Gateway user
                      STATE:
                        type: string
                        maxLength: 16
                        description: Connection status
                      SYMDEST:
                        type: string
                        maxLength: 8
                        description: Symbolic destination
                      CONVID:
                        type: string
                        maxLength: 8
                        description: Conversation ID
                      PROT:
                        type: string
                        maxLength: 16
                        description: Client log
                      TRACE:
                        type: string
                        maxLength: 16
                        description: Fast or slow connection
                      WP_NO:
                        type: string
                        maxLength: 10
                        description: Number of the work process
                      REQ_BLOCK:
                        type: string
                        maxLength: 10
                        description: General Counter
                      APPCRC:
                        type: string
                        maxLength: 10
                        description: CPIC Return Value
                      SAPRC:
                        type: string
                        maxLength: 10
                        description: SAP Gateway und CPIC return value
                      LAST_REQ:
                        type: string
                        maxLength: 16
                        description: Time of Last Request
                      FILLER:
                        type: string
                        maxLength: 1
                        description: Fill byte for gateway structures
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONNECTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        CONN:
                          type: string
                          maxLength: 10
                          description: Number of connection
                        LU:
                          type: string
                          maxLength: 8
                          description: Logical Unit
                        TP:
                          type: string
                          maxLength: 8
                          description: Transaction program name
                        GWUSER:
                          type: string
                          maxLength: 12
                          description: Gateway user
                        STATE:
                          type: string
                          maxLength: 16
                          description: Connection status
                        SYMDEST:
                          type: string
                          maxLength: 8
                          description: Symbolic destination
                        CONVID:
                          type: string
                          maxLength: 8
                          description: Conversation ID
                        PROT:
                          type: string
                          maxLength: 16
                          description: Client log
                        TRACE:
                          type: string
                          maxLength: 16
                          description: Fast or slow connection
                        WP_NO:
                          type: string
                          maxLength: 10
                          description: Number of the work process
                        REQ_BLOCK:
                          type: string
                          maxLength: 10
                          description: General Counter
                        APPCRC:
                          type: string
                          maxLength: 10
                          description: CPIC Return Value
                        SAPRC:
                          type: string
                          maxLength: 10
                          description: SAP Gateway und CPIC return value
                        LAST_REQ:
                          type: string
                          maxLength: 16
                          description: Time of Last Request
                        FILLER:
                          type: string
                          maxLength: 1
                          description: Fill byte for gateway structures
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
