openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWR_QUEUE_ENTRIES_GET:
    post:
      tags:
      - SKWR_INDEX
      operationId: /rfc/SKWR_QUEUE_ENTRIES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOC_STATE_FILTER:
                  type: string
                  maxLength: 2
                INDEX_ID:
                  type: string
                  maxLength: 32
                  description: GUID in 'CHAR' Format in Uppercase
                RETRY_LEVEL_FILTER:
                  type: integer
                  format: int32
              required:
              - INDEX_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  QUEUED_DOCS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYPE:
                          type: string
                          maxLength: 1
                          description: 'KW Framework: IO type'
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        LAISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        RETURN_CODE:
                          type: integer
                          format: int32
                          description: ''
                        TM_RETURN_CODE:
                          type: integer
                          format: int32
                          description: ''
                        DOC_STATE:
                          type: string
                          maxLength: 2
                          description: Possible Document Status for Index Queue Documents
                        RETRY_LEVEL:
                          type: integer
                          format: int32
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
