openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SIW_INFO_OBJECTS_FT_SEARCH:
    post:
      tags:
      - SI17
      operationId: /rfc/SIW_INFO_OBJECTS_FT_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASS:
                  type: string
                  maxLength: 10
                  description: Info category
                EXECUTE_COMBI_SEARCH:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                NO_MAX_HIT:
                  type: integer
                  format: int32
                CATATTRIBUTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRNAME:
                        type: string
                        maxLength: 25
                        description: Category attribute name
                      ATTRVAL:
                        type: string
                        maxLength: 64
                        description: Category attribute value
                CONTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                DOCATTRTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRNAME:
                        type: string
                        maxLength: 25
                        description: Document attribute name of an index category
                      ATTRTYPE:
                        type: string
                        maxLength: 1
                        description: Document Attribute Type
                      CLASSREL:
                        type: string
                        maxLength: 1
                        description: 'Indicates whether Document Attribute is Class Hierarchy  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                IWBRESULTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      PHIO_ID:
                        type: string
                        maxLength: 32
                        description: Physical document
                      PH_CLASS:
                        type: string
                        maxLength: 10
                        description: Physical document class
                      LOIO_ID:
                        type: string
                        maxLength: 32
                        description: Logical document
                      LO_CLASS:
                        type: string
                        maxLength: 10
                        description: Class of logical document
                      RANKV:
                        type: integer
                        format: int64
                        description: Rank in the hit list
                      DOCREFER:
                        type: integer
                        format: int64
                        description: Reference of a Document Attribute to a Document
                      DESCR:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                      LOIOURL:
                        type: string
                        maxLength: 4096
                        description: 'SAP ArchiveLink: Data Element for Absolute URI'
                QUERYPARAMTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute Name
                      VALUE1:
                        type: string
                        maxLength: 25
                        description: Attribute Value
                      VALUE2:
                        type: string
                        maxLength: 25
                        description: Attribute Value
                      OPERATOR:
                        type: string
                        maxLength: 5
                        description: Operator
                QUERYTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SECOUNT:
                        type: integer
                        format: int64
                        description: Search Term Counter
                      LOCATION:
                        type: string
                        maxLength: 25
                        description: Document attribute name of an index category
                      VALUE1:
                        type: string
                        maxLength: 255
                        description: Value of an attribute, term or operator in the search
                      VALUE2:
                        type: string
                        maxLength: 255
                        description: Value of an attribute, term or operator in the search
                      OPERATOR:
                        type: string
                        maxLength: 5
                        description: Operator
                      ROWTYPE:
                        type: string
                        maxLength: 2
                        description: Row Type of a Search Request
                RESULTATTRTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRNAME:
                        type: string
                        maxLength: 25
                        description: Document attribute name of an index category
                      MULTATRCNT:
                        type: integer
                        format: int64
                        description: Multi-document Attribute Counter
                      ATTRTYPE:
                        type: string
                        maxLength: 1
                        description: Document Attribute Type
                      VALUE1:
                        type: string
                        maxLength: 64
                        description: Value of a Document Attribute
                      VALUE2:
                        type: string
                        maxLength: 64
                        description: Value of a Document Attribute
                      OPERATOR:
                        type: string
                        maxLength: 5
                        description: Operator
                      DOCREFER:
                        type: integer
                        format: int64
                        description: Reference of a Document Attribute to a Document
                SEARCH_AREAS:
                  type: array
                  items:
                    type: object
                    properties:
                      AREA:
                        type: string
                        maxLength: 10
                        description: Area
                TERMATTRTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute Name
                      VALUE1:
                        type: string
                        maxLength: 25
                        description: Attribute Value
                      VALUE2:
                        type: string
                        maxLength: 25
                        description: Attribute Value
                      OPERATOR:
                        type: string
                        maxLength: 5
                        description: Operator
                      QTREFER:
                        type: integer
                        format: int64
                        description: Assignment of term attribute to search term
              required:
              - CLASS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_MSG:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  CATATTRIBUTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRNAME:
                          type: string
                          maxLength: 25
                          description: Category attribute name
                        ATTRVAL:
                          type: string
                          maxLength: 64
                          description: Category attribute value
                  CONTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  DOCATTRTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRNAME:
                          type: string
                          maxLength: 25
                          description: Document attribute name of an index category
                        ATTRTYPE:
                          type: string
                          maxLength: 1
                          description: Document Attribute Type
                        CLASSREL:
                          type: string
                          maxLength: 1
                          description: 'Indicates whether Document Attribute is Class Hierarchy  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  IWBRESULTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        PHIO_ID:
                          type: string
                          maxLength: 32
                          description: Physical document
                        PH_CLASS:
                          type: string
                          maxLength: 10
                          description: Physical document class
                        LOIO_ID:
                          type: string
                          maxLength: 32
                          description: Logical document
                        LO_CLASS:
                          type: string
                          maxLength: 10
                          description: Class of logical document
                        RANKV:
                          type: integer
                          format: int64
                          description: Rank in the hit list
                        DOCREFER:
                          type: integer
                          format: int64
                          description: Reference of a Document Attribute to a Document
                        DESCR:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                        LOIOURL:
                          type: string
                          maxLength: 4096
                          description: 'SAP ArchiveLink: Data Element for Absolute URI'
                  QUERYPARAMTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute Name
                        VALUE1:
                          type: string
                          maxLength: 25
                          description: Attribute Value
                        VALUE2:
                          type: string
                          maxLength: 25
                          description: Attribute Value
                        OPERATOR:
                          type: string
                          maxLength: 5
                          description: Operator
                  QUERYTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SECOUNT:
                          type: integer
                          format: int64
                          description: Search Term Counter
                        LOCATION:
                          type: string
                          maxLength: 25
                          description: Document attribute name of an index category
                        VALUE1:
                          type: string
                          maxLength: 255
                          description: Value of an attribute, term or operator in the search
                        VALUE2:
                          type: string
                          maxLength: 255
                          description: Value of an attribute, term or operator in the search
                        OPERATOR:
                          type: string
                          maxLength: 5
                          description: Operator
                        ROWTYPE:
                          type: string
                          maxLength: 2
                          description: Row Type of a Search Request
                  RESULTATTRTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRNAME:
                          type: string
                          maxLength: 25
                          description: Document attribute name of an index category
                        MULTATRCNT:
                          type: integer
                          format: int64
                          description: Multi-document Attribute Counter
                        ATTRTYPE:
                          type: string
                          maxLength: 1
                          description: Document Attribute Type
                        VALUE1:
                          type: string
                          maxLength: 64
                          description: Value of a Document Attribute
                        VALUE2:
                          type: string
                          maxLength: 64
                          description: Value of a Document Attribute
                        OPERATOR:
                          type: string
                          maxLength: 5
                          description: Operator
                        DOCREFER:
                          type: integer
                          format: int64
                          description: Reference of a Document Attribute to a Document
                  SEARCH_AREAS:
                    type: array
                    items:
                      type: object
                      properties:
                        AREA:
                          type: string
                          maxLength: 10
                          description: Area
                  TERMATTRTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute Name
                        VALUE1:
                          type: string
                          maxLength: 25
                          description: Attribute Value
                        VALUE2:
                          type: string
                          maxLength: 25
                          description: Attribute Value
                        OPERATOR:
                          type: string
                          maxLength: 5
                          description: Operator
                        QTREFER:
                          type: integer
                          format: int64
                          description: Assignment of term attribute to search term
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
