openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRET_C_GET_DOCUMENT_FEATURES:
    post:
      tags:
      - SRQU
      operationId: /rfc/SRET_C_GET_DOCUMENT_FEATURES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CODEPAGE:
                  type: string
                  format: byte
                  description: Code Page
                IDSTORID:
                  type: string
                  format: byte
                  description: Logical index key (hexadecimal)
                MAX_FEATURES:
                  type: integer
                  format: int64
                SEARCHENG:
                  type: string
                  format: byte
                  description: Search engine
                BDOCLISTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      REFERENCE:
                        type: integer
                        format: int64
                        description: Reference of a text data stream line to a document
                      CONTFLAG:
                        type: string
                        format: byte
                        description: Content Flag
                      BINLEN:
                        type: integer
                        format: int64
                        description: Length of a binary document
                      BROW:
                        type: string
                        format: byte
                        description: Binary data stream
                RESULTATTRTAB:
                  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
                TDOCLISTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      REFERENCE:
                        type: integer
                        format: int64
                        description: Reference of a text data stream line to a document
                      CONTFLAG:
                        type: string
                        format: byte
                        description: Content Flag
                      TROW:
                        type: string
                        format: byte
                        description: Text as binary data stream (hexadecimal representation)
              required:
              - CODEPAGE
              - IDSTORID
              - MAX_FEATURES
              - SEARCHENG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RCODE:
                    type: string
                    maxLength: 4
                  BDOCLISTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        REFERENCE:
                          type: integer
                          format: int64
                          description: Reference of a text data stream line to a document
                        CONTFLAG:
                          type: string
                          format: byte
                          description: Content Flag
                        BINLEN:
                          type: integer
                          format: int64
                          description: Length of a binary document
                        BROW:
                          type: string
                          format: byte
                          description: Binary data stream
                  RESULTATTRTAB:
                    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
                  TDOCLISTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        REFERENCE:
                          type: integer
                          format: int64
                          description: Reference of a text data stream line to a document
                        CONTFLAG:
                          type: string
                          format: byte
                          description: Content Flag
                        TROW:
                          type: string
                          format: byte
                          description: Text as binary data stream (hexadecimal representation)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
