openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREX_PHY_DEINDEX_DOC:
    post:
      tags:
      - STREX_INDEX
      operationId: /rfc/STREX_PHY_DEINDEX_DOC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOCUMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LAISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      DOC_ID:
                        type: string
                        description: ''
                INDEX_ID:
                  type: string
                  maxLength: 32
              required:
              - DOCUMENTS
              - INDEX_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CALL_RETURN_CODE:
                    type: object
                    properties:
                      RETURN_CODE:
                        type: integer
                        format: int32
                        description: ''
                      ERROR_TEXT:
                        type: string
                        description: ''
                  DOC_RETURN_CODES:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_ID:
                          type: string
                          description: Document ID
                        RETURN_CODE:
                          type: integer
                          format: int32
                          description: Return Code
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
