openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ALINK_KPRO_SUBDIR_GET_RFC:
    post:
      tags:
      - ALINK_KPRO_QUERY
      operationId: /rfc/ALINK_KPRO_SUBDIR_GET_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_HIT:
                  type: object
                  properties:
                    DOCSP:
                      type: string
                      maxLength: 10
                      description: Document Area
                    X_FOLDER:
                      type: string
                      maxLength: 1
                      description: 'SAP ArchiveLink: Status (X = active, otherwise inactive)  enumValues: X=Active,""=Inactive'
                      enum:
                      - X
                      - ''
                    DOCID:
                      type: string
                      maxLength: 100
                      description: 'ArchiveLink: Kpro : Doc ID for Document Finder'
                    CONTREP_ID:
                      type: string
                      maxLength: 30
                      description: Storage Repository for Physical Objects
                    MIME_TYPE:
                      type: string
                      maxLength: 128
                      description: HTML content type
                    DESCR:
                      type: string
                      maxLength: 128
                      description: 'SAP ArchiveLink: KPRO: Hit Description'
                    AR_DATE:
                      type: string
                      format: date
                      description: 'SAP ArchiveLink: Storage date'
                    RANKV:
                      type: integer
                      format: int64
                      description: Rank in the hit list
                    LANGU:
                      type: string
                      maxLength: 2
                      description: Language According to ISO 639 (2 Character)
                    COUNTER:
                      type: integer
                      format: int64
                      description: Document counter
                    NODE:
                      type: integer
                      format: int64
                      description: Document counter
                EX_RESULTATTR_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCSP:
                        type: string
                        maxLength: 10
                        description: Document Area
                      NAME:
                        type: string
                        maxLength: 64
                        description: 'SAP ArchiveLink: Name of Document Attribute'
                      DESCR:
                        type: string
                        maxLength: 64
                        description: Short Description
                      MULTATRCNT:
                        type: integer
                        format: int64
                        description: Multi-document Attribute Counter
                      TYPE:
                        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
                EX_RESULTDOC_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCSP:
                        type: string
                        maxLength: 10
                        description: Document Area
                      X_FOLDER:
                        type: string
                        maxLength: 1
                        description: 'SAP ArchiveLink: Status (X = active, otherwise inactive)  enumValues: X=Active,""=Inactive'
                        enum:
                        - X
                        - ''
                      DOCID:
                        type: string
                        maxLength: 100
                        description: 'ArchiveLink: Kpro : Doc ID for Document Finder'
                      CONTREP_ID:
                        type: string
                        maxLength: 30
                        description: Storage Repository for Physical Objects
                      MIME_TYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      DESCR:
                        type: string
                        maxLength: 128
                        description: 'SAP ArchiveLink: KPRO: Hit Description'
                      AR_DATE:
                        type: string
                        format: date
                        description: 'SAP ArchiveLink: Storage date'
                      RANKV:
                        type: integer
                        format: int64
                        description: Rank in the hit list
                      LANGU:
                        type: string
                        maxLength: 2
                        description: Language According to ISO 639 (2 Character)
                      COUNTER:
                        type: integer
                        format: int64
                        description: Document counter
                      NODE:
                        type: integer
                        format: int64
                        description: Document counter
              required:
              - IM_HIT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_NUMBER_OF_HITS:
                    type: integer
                    format: int64
                  EX_RESULTATTR_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCSP:
                          type: string
                          maxLength: 10
                          description: Document Area
                        NAME:
                          type: string
                          maxLength: 64
                          description: 'SAP ArchiveLink: Name of Document Attribute'
                        DESCR:
                          type: string
                          maxLength: 64
                          description: Short Description
                        MULTATRCNT:
                          type: integer
                          format: int64
                          description: Multi-document Attribute Counter
                        TYPE:
                          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
                  EX_RESULTDOC_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCSP:
                          type: string
                          maxLength: 10
                          description: Document Area
                        X_FOLDER:
                          type: string
                          maxLength: 1
                          description: 'SAP ArchiveLink: Status (X = active, otherwise inactive)  enumValues: X=Active,""=Inactive'
                          enum:
                          - X
                          - ''
                        DOCID:
                          type: string
                          maxLength: 100
                          description: 'ArchiveLink: Kpro : Doc ID for Document Finder'
                        CONTREP_ID:
                          type: string
                          maxLength: 30
                          description: Storage Repository for Physical Objects
                        MIME_TYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        DESCR:
                          type: string
                          maxLength: 128
                          description: 'SAP ArchiveLink: KPRO: Hit Description'
                        AR_DATE:
                          type: string
                          format: date
                          description: 'SAP ArchiveLink: Storage date'
                        RANKV:
                          type: integer
                          format: int64
                          description: Rank in the hit list
                        LANGU:
                          type: string
                          maxLength: 2
                          description: Language According to ISO 639 (2 Character)
                        COUNTER:
                          type: integer
                          format: int64
                          description: Document counter
                        NODE:
                          type: integer
                          format: int64
                          description: Document counter
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
