openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_ARW_DELETE_ENTRIES:
    post:
      tags:
      - TREX_ARW_QS_ADMIN
      summary: delete entries
      operationId: /rfc/TREX_ARW_DELETE_ENTRIES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOC_STATE:
                  type: integer
                  format: int64
                  description: IndexId
                INDEX_ID:
                  type: string
                  format: byte
                  description: IndexId
                QUEUE_ENTRY_CHOICE:
                  type: integer
                  format: int64
                  description: IndexId
                RETRY_COUNT:
                  type: integer
                  format: int64
                  description: IndexId
                RFC_DESTINATION:
                  type: string
                  format: byte
                  description: RFC Destination
                DOC_KEY:
                  type: array
                  items:
                    type: object
                    properties:
                      DOC_KEY:
                        type: string
                        format: byte
                        description: ''
                      DOC_COUNTER:
                        type: integer
                        format: int64
                        description: ''
                QUEUE_DOC_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      DOC_KEY:
                        type: string
                        format: byte
                        description: ''
                      RETURN_CODE:
                        type: integer
                        format: int64
                        description: ''
                      DOC_COUNTER:
                        type: integer
                        format: int64
                        description: ''
              required:
              - DOC_STATE
              - INDEX_ID
              - QUEUE_ENTRY_CHOICE
              - RETRY_COUNT
              - 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
                  DOC_KEY:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_KEY:
                          type: string
                          format: byte
                          description: ''
                        DOC_COUNTER:
                          type: integer
                          format: int64
                          description: ''
                  QUEUE_DOC_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_KEY:
                          type: string
                          format: byte
                          description: ''
                        RETURN_CODE:
                          type: integer
                          format: int64
                          description: ''
                        DOC_COUNTER:
                          type: integer
                          format: int64
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
