openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRET_FEATURES_FOR_DOC_GET:
    post:
      tags:
      - SRQU
      operationId: /rfc/SRET_FEATURES_FOR_DOC_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CATID:
                  type: string
                  maxLength: 32
                  description: Index category ID
                LAISO:
                  type: string
                  maxLength: 2
                  description: Language According to ISO 639
                LANGU:
                  type: string
                  maxLength: 1
                NUMBERFE:
                  type: integer
                  format: int64
                DOCLISTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      COUNTER:
                        type: integer
                        format: int64
                        description: Reference of a text data stream line to a document
                      DOCID:
                        type: string
                        maxLength: 64
                        description: Document ID
                RESULTDOCTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCID:
                        type: string
                        maxLength: 64
                        description: Document ID
                      COUNTER:
                        type: integer
                        format: int64
                        description: Document counter
                      FEATURE:
                        type: string
                        maxLength: 1022
                        description: Text data stream (line)
                      MULTICNT:
                        type: integer
                        format: int64
                        description: Multi-document Attribute Counter
              required:
              - CATID
              - NUMBERFE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_ERRORCODE:
                    type: object
                    properties:
                      ERROCODE:
                        type: integer
                        format: int64
                        description: Search Engine Error Code
                      APPERRORCATEGORY:
                        type: string
                        maxLength: 2
                        description: 'Error Code: Significance of Error for Application  enumValues: PI=Process: Information,PW=Process: Warning,AI=General: Information,AA=General: Error, Cancel,PA=Process: Error, Cancel,AW=General: Warning'
                        enum:
                        - PI
                        - PW
                        - AI
                        - AA
                        - PA
                        - AW
                      MESSAGEID:
                        type: string
                        maxLength: 20
                        description: Application Area
                      MESSAGENO:
                        type: string
                        maxLength: 3
                        description: Message Number
                  RCODE:
                    type: string
                    maxLength: 4
                  DOCLISTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        COUNTER:
                          type: integer
                          format: int64
                          description: Reference of a text data stream line to a document
                        DOCID:
                          type: string
                          maxLength: 64
                          description: Document ID
                  RESULTDOCTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCID:
                          type: string
                          maxLength: 64
                          description: Document ID
                        COUNTER:
                          type: integer
                          format: int64
                          description: Document counter
                        FEATURE:
                          type: string
                          maxLength: 1022
                          description: Text data stream (line)
                        MULTICNT:
                          type: integer
                          format: int64
                          description: Multi-document Attribute Counter
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
