openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRET_INDEX_STORAGE_INDEXING:
    post:
      tags:
      - SRIN
      operationId: /rfc/SRET_INDEX_STORAGE_INDEXING
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CODEPAGE:
                  type: string
                  format: byte
                IDXSTORAGEID:
                  type: string
                  format: byte
                SEARCHENG:
                  type: string
                  format: byte
                BINCONTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      REFERENCE:
                        type: integer
                        format: int64
                        description: Reference of a binary data stream line to a document
                      BROW:
                        type: string
                        format: byte
                        description: Binary data stream
                DOCATTRVTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRNAME:
                        type: string
                        format: byte
                        description: Name of a Document Attribute
                      MULTATRCNT:
                        type: integer
                        format: int64
                        description: Multi-document Attribute Counter
                      ATTRTYPE:
                        type: string
                        format: byte
                        description: Document attribute type (binary representation)
                      VALUE1:
                        type: string
                        format: byte
                        description: Value of a document attribute (hexadecimal representation)
                      VALUE2:
                        type: string
                        format: byte
                        description: Value of a document attribute (hexadecimal representation)
                      OPERATOR:
                        type: string
                        format: byte
                        description: Operator (hexadecimal representation)
                      DOCREFER:
                        type: integer
                        format: int64
                        description: Reference of a Document Attribute to a Document
                DOCCONTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      REFERENCE:
                        type: integer
                        format: int64
                        description: Reference of a text data stream line to a document
                      TROW:
                        type: string
                        format: byte
                        description: Text as binary data stream (hexadecimal representation)
                DOCUMENTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCID:
                        type: string
                        format: byte
                        description: Document key type RAW (hexadecimal representation)
                      BINLEN:
                        type: integer
                        format: int64
                        description: Length of a binary document
                      COUNTER:
                        type: integer
                        format: int64
                        description: Document counter
                      STATUSID:
                        type: integer
                        format: int64
                        description: Return code
                TECHATTRTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        format: byte
                        description: Attribute name for hexadecimal representation
                      VALUE1:
                        type: string
                        format: byte
                        description: Attribute Value for Hexadecimal Representation
                      VALUE2:
                        type: string
                        format: byte
                        description: Attribute Value for Hexadecimal Representation
                      OPERATOR:
                        type: string
                        format: byte
                        description: Operator (hexadecimal representation)
                      REFERENCE:
                        type: integer
                        format: int64
                        description: Reference of a technical attribute to an index ID
              required:
              - CODEPAGE
              - IDXSTORAGEID
              - SEARCHENG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RCODE:
                    type: string
                    maxLength: 4
                  BINCONTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        REFERENCE:
                          type: integer
                          format: int64
                          description: Reference of a binary data stream line to a document
                        BROW:
                          type: string
                          format: byte
                          description: Binary data stream
                  DOCATTRVTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRNAME:
                          type: string
                          format: byte
                          description: Name of a Document Attribute
                        MULTATRCNT:
                          type: integer
                          format: int64
                          description: Multi-document Attribute Counter
                        ATTRTYPE:
                          type: string
                          format: byte
                          description: Document attribute type (binary representation)
                        VALUE1:
                          type: string
                          format: byte
                          description: Value of a document attribute (hexadecimal representation)
                        VALUE2:
                          type: string
                          format: byte
                          description: Value of a document attribute (hexadecimal representation)
                        OPERATOR:
                          type: string
                          format: byte
                          description: Operator (hexadecimal representation)
                        DOCREFER:
                          type: integer
                          format: int64
                          description: Reference of a Document Attribute to a Document
                  DOCCONTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        REFERENCE:
                          type: integer
                          format: int64
                          description: Reference of a text data stream line to a document
                        TROW:
                          type: string
                          format: byte
                          description: Text as binary data stream (hexadecimal representation)
                  DOCUMENTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCID:
                          type: string
                          format: byte
                          description: Document key type RAW (hexadecimal representation)
                        BINLEN:
                          type: integer
                          format: int64
                          description: Length of a binary document
                        COUNTER:
                          type: integer
                          format: int64
                          description: Document counter
                        STATUSID:
                          type: integer
                          format: int64
                          description: Return code
                  TECHATTRTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          format: byte
                          description: Attribute name for hexadecimal representation
                        VALUE1:
                          type: string
                          format: byte
                          description: Attribute Value for Hexadecimal Representation
                        VALUE2:
                          type: string
                          format: byte
                          description: Attribute Value for Hexadecimal Representation
                        OPERATOR:
                          type: string
                          format: byte
                          description: Operator (hexadecimal representation)
                        REFERENCE:
                          type: integer
                          format: int64
                          description: Reference of a technical attribute to an index ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
