openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_DOC_FEATURES_GET:
    post:
      tags:
      - SDCE
      operationId: /rfc/SDOK_DOC_FEATURES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                  description: Client
                DOCUSPACE:
                  type: string
                  maxLength: 10
                  description: Document Area
                LAISO:
                  type: string
                  maxLength: 2
                  description: Language According to ISO 639
                NUMBERFE:
                  type: integer
                  format: int64
                  default: 10
                DOCLISTTAB:
                  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
                ITAB_CATPROPTY:
                  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
                RESULTFEATTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      PH_CLASS:
                        type: string
                        maxLength: 10
                        description: Physical document class
                      PHIO_ID:
                        type: string
                        maxLength: 32
                        description: Physical document
                      FEATURE:
                        type: string
                        maxLength: 1022
                        description: Text data stream (line)
                      MULTICNT:
                        type: integer
                        format: int64
                        description: Multi-document Attribute Counter
              required:
              - DOCUSPACE
              - LAISO
              - 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
                    description: Error Number
                  DOCLISTTAB:
                    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
                  ITAB_CATPROPTY:
                    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
                  RESULTFEATTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        PH_CLASS:
                          type: string
                          maxLength: 10
                          description: Physical document class
                        PHIO_ID:
                          type: string
                          maxLength: 32
                          description: Physical document
                        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.
