openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_GET_QUEUES:
    post:
      tags:
      - TREX_RFC_QS_ADMIN
      summary: returns a list of queue states
      operationId: /rfc/TREX_RFC_GET_QUEUES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NAMESPACE:
                  type: string
                  format: byte
                  description: Namespace
                QUEUESERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host:Port
                DOC_STATE_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX_ID:
                        type: string
                        format: byte
                        description: ''
                      DOC_STATE_SUM:
                        type: integer
                        format: int64
                        description: ''
                      DOC_STATE:
                        type: integer
                        format: int64
                        description: ''
                INDEXES:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX_ID:
                        type: string
                        format: byte
                        description: ''
                QUEUE_STATE_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX_ID:
                        type: string
                        format: byte
                        description: ''
                      QUEUE_STATE:
                        type: integer
                        format: int64
                        description: ''
                      TIME_STAMP:
                        type: string
                        format: byte
                        description: ''
                      RETURN_CODE:
                        type: integer
                        format: int64
                        description: ''
      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
                  DOC_STATE_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX_ID:
                          type: string
                          format: byte
                          description: ''
                        DOC_STATE_SUM:
                          type: integer
                          format: int64
                          description: ''
                        DOC_STATE:
                          type: integer
                          format: int64
                          description: ''
                  INDEXES:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX_ID:
                          type: string
                          format: byte
                          description: ''
                  QUEUE_STATE_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX_ID:
                          type: string
                          format: byte
                          description: ''
                        QUEUE_STATE:
                          type: integer
                          format: int64
                          description: ''
                        TIME_STAMP:
                          type: string
                          format: byte
                          description: ''
                        RETURN_CODE:
                          type: integer
                          format: int64
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
