openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRET_INDEX_STORAGE_ADMINCALL:
    post:
      tags:
      - SRAD
      operationId: /rfc/SRET_INDEX_STORAGE_ADMINCALL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: string
                  format: byte
                CODEPAGE:
                  type: string
                  format: byte
                DATAPATH:
                  type: string
                  format: byte
                IDSTORID:
                  type: string
                  format: byte
                IDSTORID_NEW:
                  type: string
                  format: byte
                SEARCHENG:
                  type: string
                  format: byte
                INFOTAB:
                  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
              required:
              - ACTION
              - CODEPAGE
              - DATAPATH
              - IDSTORID
              - IDSTORID_NEW
              - SEARCHENG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  GET_PATH:
                    type: string
                    format: byte
                  RCODE:
                    type: string
                    maxLength: 4
                  INFOTAB:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
