openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GWY_READ_CONNECTION_ATTRIBUTES:
    post:
      tags:
      - SGWY
      operationId: /rfc/GWY_READ_CONNECTION_ATTRIBUTES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONN:
                  type: integer
                  format: int32
                  description: Number of connection
                DISCONNECT:
                  type: string
                  maxLength: 1
                  description: Terminate connection
                GWHOST:
                  type: string
                  maxLength: 255
                GWSERV:
                  type: string
                  maxLength: 20
              required:
              - CONN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONN_ATTR:
                    type: object
                    properties:
                      LOC_LU:
                        type: string
                        maxLength: 128
                        description: Longer Logical Unit Name
                      LOC_TP:
                        type: string
                        maxLength: 128
                        description: Longer transaction program name
                      REM_LU:
                        type: string
                        maxLength: 128
                        description: Longer Logical Unit Name
                      REM_TP:
                        type: string
                        maxLength: 128
                        description: Longer transaction program name
                      LOC_VERS:
                        type: string
                        maxLength: 10
                        description: General Counter
                      REM_VERS:
                        type: string
                        maxLength: 10
                        description: General Counter
                      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
                      PROTOCOL:
                        type: string
                        maxLength: 16
                        description: Client log
                      TRACE:
                        type: string
                        maxLength: 16
                        description: Connection trace level
                      APPCRC:
                        type: string
                        maxLength: 10
                        description: CPIC Return Value
                      SAPRC:
                        type: string
                        maxLength: 10
                        description: SAP Gateway und CPIC return value
                      REQ_BUF:
                        type: string
                        maxLength: 10
                        description: General Counter
                      REQ_RCV:
                        type: string
                        maxLength: 10
                        description: General Counter
                      REQ_TRANS:
                        type: string
                        maxLength: 10
                        description: General Counter
                      LOC_HOST:
                        type: string
                        maxLength: 20
                        description: Host
                      LOC_ADDR:
                        type: string
                        maxLength: 16
                        description: Gateway Host Address
                      REM_HOST:
                        type: string
                        maxLength: 20
                        description: Partner's host name
                      REM_ADDR:
                        type: string
                        maxLength: 16
                        description: Partner's host address
                      REQ_BLOCK:
                        type: string
                        maxLength: 10
                        description: General Counter
                      LAST_REQ:
                        type: string
                        maxLength: 16
                        description: Time of Last Request
                      FILLER:
                        type: string
                        maxLength: 1
                        description: Fill byte for gateway structures
                  IN_USE:
                    type: integer
                    format: int32
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
