openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRET_INDEX_STORAGE_CREATE:
    post:
      tags:
      - SRAD
      operationId: /rfc/SRET_INDEX_STORAGE_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CODEPAGE:
                  type: string
                  format: byte
                FILTER_FLAG:
                  type: string
                  format: byte
                SEARCHENG:
                  type: string
                  format: byte
                TEXTMINING_FLAG:
                  type: string
                  format: byte
                XUSECLASS:
                  type: string
                  format: byte
                  description: Flag for classification for RFC transfer
                DOCATTRTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRNAME:
                        type: string
                        format: byte
                        description: Name of a Document Attribute
                      ATTRTYPE:
                        type: string
                        format: byte
                        description: Document attribute type (binary representation)
                      CLASS_FLAG:
                        type: string
                        format: byte
                        description: Document attribute type (binary representation)
                IDXSTORAGETAB:
                  type: array
                  items:
                    type: object
                    properties:
                      IDSTORID:
                        type: string
                        format: byte
                        description: Logical index key (hexadecimal)
                      LANGU:
                        type: string
                        format: byte
                        description: Language Acc. to ISO 639 - for RFC Type RAW
                      STATUSID:
                        type: integer
                        format: int64
                        description: Return code
                      COUNTER:
                        type: integer
                        format: int64
                        description: IndexStorageID counter (Index)
                TECHNICALATTR:
                  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
              - SEARCHENG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RCODE:
                    type: string
                    maxLength: 4
                  DOCATTRTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRNAME:
                          type: string
                          format: byte
                          description: Name of a Document Attribute
                        ATTRTYPE:
                          type: string
                          format: byte
                          description: Document attribute type (binary representation)
                        CLASS_FLAG:
                          type: string
                          format: byte
                          description: Document attribute type (binary representation)
                  IDXSTORAGETAB:
                    type: array
                    items:
                      type: object
                      properties:
                        IDSTORID:
                          type: string
                          format: byte
                          description: Logical index key (hexadecimal)
                        LANGU:
                          type: string
                          format: byte
                          description: Language Acc. to ISO 639 - for RFC Type RAW
                        STATUSID:
                          type: integer
                          format: int64
                          description: Return code
                        COUNTER:
                          type: integer
                          format: int64
                          description: IndexStorageID counter (Index)
                  TECHNICALATTR:
                    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.
