openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SOTR_IDX_SEARCH:
    post:
      tags:
      - SOTR_IDX_1
      summary: Search Long Text Index Contents
      operationId: /rfc/SOTR_IDX_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGE_DATE:
                  type: object
                  properties:
                    OPERATOR:
                      type: string
                      maxLength: 5
                      description: Operator
                    VALUE_FROM:
                      type: string
                      maxLength: 255
                      description: Value of an attribute, term or operator in the search
                    VALUE_TO:
                      type: string
                      maxLength: 255
                      description: Value of an attribute, term or operator in the search
                CREATE_DATE:
                  type: object
                  properties:
                    OPERATOR:
                      type: string
                      maxLength: 5
                      description: Operator
                    VALUE_FROM:
                      type: string
                      maxLength: 255
                      description: Value of an attribute, term or operator in the search
                    VALUE_TO:
                      type: string
                      maxLength: 255
                      description: Value of an attribute, term or operator in the search
                HITLIST_FROM:
                  type: integer
                  format: int64
                  default: 1
                HITLIST_TO:
                  type: integer
                  format: int64
                  default: 50
                LANG:
                  type: string
                  maxLength: 1
                STRING:
                  type: string
                  maxLength: 80
                CHANGE_RELTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      VALUE:
                        type: string
                        maxLength: 255
                        description: Value of an attribute, term or operator in the search
                CHANGE_USERTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      VALUE:
                        type: string
                        maxLength: 255
                        description: Value of an attribute, term or operator in the search
                DEVTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      VALUE:
                        type: string
                        maxLength: 255
                        description: Value of an attribute, term or operator in the search
                DOKIDTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      VALUE:
                        type: string
                        maxLength: 255
                        description: Value of an attribute, term or operator in the search
                RESULT_DOCTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCID:
                        type: string
                        maxLength: 64
                        description: Document ID
                      LAISO:
                        type: string
                        maxLength: 2
                        description: Language According to ISO 639 (2 Character)
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      ID:
                        type: string
                        maxLength: 2
                        description: Document class
                      OBJECT:
                        type: string
                        maxLength: 60
                        description: Documentation Object
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Documentation language
                      TYP:
                        type: string
                        maxLength: 1
                        description: Documentation type
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Original Language in Repository objects
                      DOKFUSER:
                        type: string
                        maxLength: 12
                        description: Created by
                      DOKFRELES:
                        type: string
                        maxLength: 4
                        description: Release
                      DOKFDATE:
                        type: string
                        format: date
                        description: Date created
                      DOKFTIME:
                        type: string
                        maxLength: 6
                        description: Time Created
                      DOKLUSER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      DOKLRELES:
                        type: string
                        maxLength: 4
                        description: Last Changed in Release
                      DOKLDATE:
                        type: string
                        format: date
                        description: Changed On
                      DOKLTIME:
                        type: string
                        maxLength: 6
                        description: Last Changed at
                      TXTLINES:
                        type: integer
                        format: int64
                        description: Number of Text Lines in Line Table
                      SRCSYSTEM:
                        type: string
                        maxLength: 10
                        description: Original System of Object
              required:
              - LANG
              - STRING
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NUMOFHITS:
                    type: integer
                    format: int64
                  RCODE:
                    type: string
                    maxLength: 4
                  CHANGE_RELTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        VALUE:
                          type: string
                          maxLength: 255
                          description: Value of an attribute, term or operator in the search
                  CHANGE_USERTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        VALUE:
                          type: string
                          maxLength: 255
                          description: Value of an attribute, term or operator in the search
                  DEVTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        VALUE:
                          type: string
                          maxLength: 255
                          description: Value of an attribute, term or operator in the search
                  DOKIDTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        VALUE:
                          type: string
                          maxLength: 255
                          description: Value of an attribute, term or operator in the search
                  RESULT_DOCTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCID:
                          type: string
                          maxLength: 64
                          description: Document ID
                        LAISO:
                          type: string
                          maxLength: 2
                          description: Language According to ISO 639 (2 Character)
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        ID:
                          type: string
                          maxLength: 2
                          description: Document class
                        OBJECT:
                          type: string
                          maxLength: 60
                          description: Documentation Object
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Documentation language
                        TYP:
                          type: string
                          maxLength: 1
                          description: Documentation type
                        MASTERLANG:
                          type: string
                          maxLength: 1
                          description: Original Language in Repository objects
                        DOKFUSER:
                          type: string
                          maxLength: 12
                          description: Created by
                        DOKFRELES:
                          type: string
                          maxLength: 4
                          description: Release
                        DOKFDATE:
                          type: string
                          format: date
                          description: Date created
                        DOKFTIME:
                          type: string
                          maxLength: 6
                          description: Time Created
                        DOKLUSER:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        DOKLRELES:
                          type: string
                          maxLength: 4
                          description: Last Changed in Release
                        DOKLDATE:
                          type: string
                          format: date
                          description: Changed On
                        DOKLTIME:
                          type: string
                          maxLength: 6
                          description: Last Changed at
                        TXTLINES:
                          type: integer
                          format: int64
                          description: Number of Text Lines in Line Table
                        SRCSYSTEM:
                          type: string
                          maxLength: 10
                          description: Original System of Object
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
