openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_ARW_SUSPEND_QUEUES:
    post:
      tags:
      - TREX_ARW_QS_ADMIN
      summary: suspend queues
      operationId: /rfc/TREX_ARW_SUSPEND_QUEUES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                QUEUESERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host:Port
                RFC_DESTINATION:
                  type: string
                  format: byte
                  description: RFC Destination
                INDEXES:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX_ID:
                        type: string
                        format: byte
                        description: ''
                QUEUE_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX_ID:
                        type: string
                        format: byte
                        description: ''
                      RETURN_CODE:
                        type: integer
                        format: int64
                        description: ''
              required:
              - QUEUESERVER_LOCATION
              - RFC_DESTINATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Returncode
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Returntext
                  INDEXES:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX_ID:
                          type: string
                          format: byte
                          description: ''
                  QUEUE_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX_ID:
                          type: string
                          format: byte
                          description: ''
                        RETURN_CODE:
                          type: integer
                          format: int64
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
