openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/QIWK_CHECK_REGISTER:
    post:
      tags:
      - QIWK
      operationId: /rfc/QIWK_CHECK_REGISTER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                  description: Queue Name
                QNAME:
                  type: string
                  maxLength: 24
                  description: Queue Name
              required:
              - QNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AVAILABLE:
                    type: integer
                    format: int32
                  QREGPARAM:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Internal ABAP System Field
                      QNAME:
                        type: string
                        maxLength: 24
                        description: Name of tRFC Queue
                      EXEMODE:
                        type: string
                        maxLength: 1
                        description: Internal ABAP System Field
                      WKSTATE:
                        type: string
                        maxLength: 1
                        description: Internal ABAP System Field
                      MAXTIME:
                        type: integer
                        format: int32
                        description: Internal ABAP System Field
                      DATUM:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      UZEIT:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      RFCMESS:
                        type: string
                        maxLength: 72
                        description: Internal ABAP System Field
                      USERDEST:
                        type: string
                        maxLength: 32
                        description: '"Local" RFC destination with LOGON details'
                      GROUPDEST:
                        type: string
                        maxLength: 20
                        description: Logon/Server Group Name
                      TDELAY:
                        type: integer
                        format: int32
                        description: Internal ABAP System Field
                      NRETRY:
                        type: integer
                        format: int64
                        description: No. of attempts
                      USERID:
                        type: string
                        maxLength: 12
                        description: User Name
                      NACTIVE:
                        type: integer
                        format: int64
                        description: No. of attempts
                      HOSTID:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                  REGISTER:
                    type: integer
                    format: int32
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
