openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_ARW_UPDATE_DOC_ATTRIBUTES:
    post:
      tags:
      - TREX_ARW_INDEX
      summary: update
      operationId: /rfc/TREX_ARW_UPDATE_DOC_ATTRIBUTES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDEX_ID:
                  type: string
                  format: byte
                  description: RFC Destination
                LANGUAGE:
                  type: string
                  format: byte
                  description: Language
                RFC_DESTINATION:
                  type: string
                  format: byte
                  description: RFC Destination
                COMPONENT_RUNTIME:
                  type: array
                  items:
                    type: object
                    properties:
                      RFC_SERVER_TIME:
                        type: integer
                        format: int64
                        description: ''
                      TREX_CLIENT_TIME:
                        type: integer
                        format: int64
                        description: ''
                      TREX_KERNEL_TIME:
                        type: integer
                        format: int64
                        description: ''
                      ABAP_RFC_TIME:
                        type: integer
                        format: int64
                        description: ''
                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
              - RFC_DESTINATION
      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
                  COMPONENT_RUNTIME:
                    type: array
                    items:
                      type: object
                      properties:
                        RFC_SERVER_TIME:
                          type: integer
                          format: int64
                          description: ''
                        TREX_CLIENT_TIME:
                          type: integer
                          format: int64
                          description: ''
                        TREX_KERNEL_TIME:
                          type: integer
                          format: int64
                          description: ''
                        ABAP_RFC_TIME:
                          type: integer
                          format: int64
                          description: ''
                  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.
