openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRET_DEINDEX_DOCS_ASYNC:
    post:
      tags:
      - SRQM
      operationId: /rfc/SRET_DEINDEX_DOCS_ASYNC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MANDT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                  description: Client
                BAD_DOCS:
                  type: array
                  items:
                    type: object
                    properties:
                      CATID:
                        type: string
                        maxLength: 32
                        description: Index category identification
                      DOCID:
                        type: string
                        maxLength: 64
                        description: Document ID
                      LAISO:
                        type: string
                        maxLength: 2
                        description: Language According to ISO 639 (2 Character)
                      RCODE:
                        type: integer
                        format: int64
                        description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                        enum:
                        - '03'
                        - '04'
                        - '02'
                        - '06'
                        - '00'
                        - '01'
                        - '05'
                DOCTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      CATID:
                        type: string
                        maxLength: 32
                        description: Index category identification
                      DOCID:
                        type: string
                        maxLength: 64
                        description: Document ID
                      LAISO:
                        type: string
                        maxLength: 2
                        description: Language According to ISO 639 (2 Character)
                      SAPCP:
                        type: integer
                        format: int64
                        description: SAP internal code page
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RCODE:
                    type: integer
                    format: int64
                    description: Return Code
                  BAD_DOCS:
                    type: array
                    items:
                      type: object
                      properties:
                        CATID:
                          type: string
                          maxLength: 32
                          description: Index category identification
                        DOCID:
                          type: string
                          maxLength: 64
                          description: Document ID
                        LAISO:
                          type: string
                          maxLength: 2
                          description: Language According to ISO 639 (2 Character)
                        RCODE:
                          type: integer
                          format: int64
                          description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                          enum:
                          - '03'
                          - '04'
                          - '02'
                          - '06'
                          - '00'
                          - '01'
                          - '05'
                  DOCTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        CATID:
                          type: string
                          maxLength: 32
                          description: Index category identification
                        DOCID:
                          type: string
                          maxLength: 64
                          description: Document ID
                        LAISO:
                          type: string
                          maxLength: 2
                          description: Language According to ISO 639 (2 Character)
                        SAPCP:
                          type: integer
                          format: int64
                          description: SAP internal code page
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
