openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GWY_READ_CONNECTED_SYSTEMS:
    post:
      tags:
      - SGWY
      operationId: /rfc/GWY_READ_CONNECTED_SYSTEMS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DISCONNECT:
                  type: string
                  maxLength: 1
                  description: Terminate connection
                GWHOST:
                  type: string
                  maxLength: 255
                GWSERV:
                  type: string
                  maxLength: 20
                CONNECTED_SYSTEMS:
                  type: array
                  items:
                    type: object
                    properties:
                      LUNAME:
                        type: string
                        maxLength: 128
                        description: Longer Logical Unit Name
                      TPNAME:
                        type: string
                        maxLength: 128
                        description: Longer transaction program name
                      CONVID:
                        type: string
                        maxLength: 8
                        description: Conversation ID
                      APPCHDR:
                        type: string
                        maxLength: 10
                        description: Appc header version
                      SYSTYPE:
                        type: string
                        maxLength: 16
                        description: Type of Gateway Client
                      REGSTATE:
                        type: string
                        maxLength: 16
                        description: Register status of a gateway client
                      ACCPTINFO:
                        type: string
                        maxLength: 16
                        description: Status and error information can be edited
                      LINE:
                        type: string
                        maxLength: 16
                        description: Fast or slow connection
                      HOST1:
                        type: string
                        maxLength: 20
                        description: Host
                      ADDR1:
                        type: string
                        maxLength: 16
                        description: Gateway Host Address
                      HOST2:
                        type: string
                        maxLength: 20
                        description: Host
                      ADDR2:
                        type: string
                        maxLength: 16
                        description: Gateway Host Address
                      HOST3:
                        type: string
                        maxLength: 20
                        description: Host
                      ADDR3:
                        type: string
                        maxLength: 16
                        description: Gateway Host Address
                      HOST4:
                        type: string
                        maxLength: 20
                        description: Host
                      ADDR4:
                        type: string
                        maxLength: 16
                        description: Gateway Host Address
                      HOST5:
                        type: string
                        maxLength: 20
                        description: Host
                      ADDR5:
                        type: string
                        maxLength: 16
                        description: Gateway Host Address
                      LAST_REQ:
                        type: string
                        maxLength: 16
                        description: Time of Last Request
                      NOCONN:
                        type: string
                        maxLength: 10
                        description: Number of logical connections
                      FILLER:
                        type: string
                        maxLength: 1
                        description: Fill byte for gateway structures
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONNECTED_SYSTEMS:
                    type: array
                    items:
                      type: object
                      properties:
                        LUNAME:
                          type: string
                          maxLength: 128
                          description: Longer Logical Unit Name
                        TPNAME:
                          type: string
                          maxLength: 128
                          description: Longer transaction program name
                        CONVID:
                          type: string
                          maxLength: 8
                          description: Conversation ID
                        APPCHDR:
                          type: string
                          maxLength: 10
                          description: Appc header version
                        SYSTYPE:
                          type: string
                          maxLength: 16
                          description: Type of Gateway Client
                        REGSTATE:
                          type: string
                          maxLength: 16
                          description: Register status of a gateway client
                        ACCPTINFO:
                          type: string
                          maxLength: 16
                          description: Status and error information can be edited
                        LINE:
                          type: string
                          maxLength: 16
                          description: Fast or slow connection
                        HOST1:
                          type: string
                          maxLength: 20
                          description: Host
                        ADDR1:
                          type: string
                          maxLength: 16
                          description: Gateway Host Address
                        HOST2:
                          type: string
                          maxLength: 20
                          description: Host
                        ADDR2:
                          type: string
                          maxLength: 16
                          description: Gateway Host Address
                        HOST3:
                          type: string
                          maxLength: 20
                          description: Host
                        ADDR3:
                          type: string
                          maxLength: 16
                          description: Gateway Host Address
                        HOST4:
                          type: string
                          maxLength: 20
                          description: Host
                        ADDR4:
                          type: string
                          maxLength: 16
                          description: Gateway Host Address
                        HOST5:
                          type: string
                          maxLength: 20
                          description: Host
                        ADDR5:
                          type: string
                          maxLength: 16
                          description: Gateway Host Address
                        LAST_REQ:
                          type: string
                          maxLength: 16
                          description: Time of Last Request
                        NOCONN:
                          type: string
                          maxLength: 10
                          description: Number of logical connections
                        FILLER:
                          type: string
                          maxLength: 1
                          description: Fill byte for gateway structures
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
