openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_UPDATE_DOC_ATTRIBUTES:
    post:
      tags:
      - TREX_RFC_INDEX
      summary: update
      operationId: /rfc/TREX_RFC_UPDATE_DOC_ATTRIBUTES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDEX_ID:
                  type: string
                  format: byte
                LANGUAGE:
                  type: string
                  format: byte
                  description: Language
                DOC_ATTR:
                  type: array
                  items:
                    type: object
                    properties:
                      DOC_KEY:
                        type: string
                        format: byte
                        description: ''
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: ''
                      VALUE:
                        type: string
                        format: byte
                        description: ''
                      ATTR_ACTION:
                        type: string
                        format: byte
                        description: ''
                      COUNTER:
                        type: integer
                        format: int64
                        description: ''
                RESULT_ERROR_DOC:
                  type: array
                  items:
                    type: object
                    properties:
                      DOC_KEY:
                        type: string
                        format: byte
                        description: ''
                      DOC_COUNTER:
                        type: integer
                        format: int64
                        description: ''
                      DOC_LANGU:
                        type: string
                        format: byte
                        description: ''
                      DOC_STATUS:
                        type: integer
                        format: int64
                        description: ''
                      CLASS_REL:
                        type: string
                        format: byte
                        description: ''
                      SEARCH_REL:
                        type: string
                        format: byte
                        description: ''
                      MIME_TYPE:
                        type: string
                        format: byte
                        description: ''
                      DOC_TYPE:
                        type: string
                        format: byte
                        description: ''
                      DOC_ACTION:
                        type: string
                        format: byte
                        description: ''
              required:
              - INDEX_ID
              - LANGUAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return Code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return Code
                  DOC_ATTR:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_KEY:
                          type: string
                          format: byte
                          description: ''
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: ''
                        VALUE:
                          type: string
                          format: byte
                          description: ''
                        ATTR_ACTION:
                          type: string
                          format: byte
                          description: ''
                        COUNTER:
                          type: integer
                          format: int64
                          description: ''
                  RESULT_ERROR_DOC:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_KEY:
                          type: string
                          format: byte
                          description: ''
                        DOC_COUNTER:
                          type: integer
                          format: int64
                          description: ''
                        DOC_LANGU:
                          type: string
                          format: byte
                          description: ''
                        DOC_STATUS:
                          type: integer
                          format: int64
                          description: ''
                        CLASS_REL:
                          type: string
                          format: byte
                          description: ''
                        SEARCH_REL:
                          type: string
                          format: byte
                          description: ''
                        MIME_TYPE:
                          type: string
                          format: byte
                          description: ''
                        DOC_TYPE:
                          type: string
                          format: byte
                          description: ''
                        DOC_ACTION:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
