openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_DME_MCI_SEARCH_LIST:
    post:
      tags:
      - RS_DME_MP_CONSUMER_INT
      summary: List used for search
      operationId: /rfc/RS_DME_MCI_SEARCH_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_SEARCH_INPUT:
                  type: object
                  properties:
                    SEARCH_STR:
                      type: string
                      maxLength: 50
                      description: Search Stirng
                    SEARCH_IN:
                      type: string
                      maxLength: 3
                      description: 'Search in which field  enumValues: DSC=Description,TCH=Technical name'
                      enum:
                      - DSC
                      - TCH
                    SEARCH_WHAT:
                      type: string
                      maxLength: 2
                      description: 'Indicates what search has to be done  enumValues: AS=Analytical Source,AM=Analytical Model'
                      enum:
                      - AS
                      - AM
                    OBJVERS:
                      type: string
                      maxLength: 1
                      description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                      enum:
                      - N
                      - A
                      - M
                      - D
                      - H
                      - T
                    SERVICE:
                      type: string
                      maxLength: 30
                      description: Analytical Method
                    MODEL:
                      type: string
                      maxLength: 30
                      description: Analytical Model
                    SOURCE_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Indicating Training, Prediction or Evaluation  enumValues: T=Training,A=All,E=Evaluation,P=Prediction'
                      enum:
                      - T
                      - A
                      - E
                      - P
                    DS_NAME:
                      type: string
                      maxLength: 72
                      description: Source Name
                    STATE:
                      type: string
                      maxLength: 1
                      description: 'Status of Model and Source  enumValues: I=In Process,S=Scheduled,N=New,P=Predicted,V=Evaluated,E=Error,T=Trained,X=Extracted'
                      enum:
                      - I
                      - S
                      - N
                      - P
                      - V
                      - E
                      - T
                      - X
                    CREATED_BY:
                      type: string
                      maxLength: 12
                      description: User who has created the model
                    MODIFIED_BY:
                      type: string
                      maxLength: 12
                      description: User who has modified the model
                    CREATED_DATE_FROM:
                      type: string
                      maxLength: 14
                      description: Time Stamp of model creation
                    CREATED_DATE_TO:
                      type: string
                      maxLength: 14
                      description: Time Stamp of model creation
                    MODIFIED_DATE_FROM:
                      type: string
                      maxLength: 14
                      description: Time Stamp of model modification
                    MODIFIED_DATE_TO:
                      type: string
                      maxLength: 14
                      description: Time Stamp of model modification
                    LANGU:
                      type: string
                      maxLength: 1
                      description: Language ID
                E_T_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                E_T_SEARCH_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      SRV_TYPE:
                        type: string
                        maxLength: 30
                        description: Analytical service type Name
                      SRV_TYPE_DESC:
                        type: string
                        maxLength: 50
                        description: Description
                      SERVICE_ID:
                        type: string
                        maxLength: 30
                        description: Analytical Method
                      SERVICE_DESC:
                        type: string
                        maxLength: 50
                        description: Description
                      MODEL:
                        type: string
                        maxLength: 30
                        description: Analytical Model
                      REF_NAME:
                        type: string
                        maxLength: 30
                        description: Short text
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      DESCRIPTION:
                        type: string
                        maxLength: 50
                        description: Description
                      TORP:
                        type: string
                        maxLength: 1
                        description: 'Indicating Training, Prediction or Evaluation  enumValues: T=Training,A=All,E=Evaluation,P=Prediction'
                        enum:
                        - T
                        - A
                        - E
                        - P
                      DS_NAME:
                        type: string
                        maxLength: 72
                        description: Source Name
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Source Type  enumValues: Q=OLAP Query,I=InfoSet Query,V=Query View,E=External Input,C=InfoCube'
                        enum:
                        - Q
                        - I
                        - V
                        - E
                        - C
                      CREATED_BY:
                        type: string
                        maxLength: 12
                        description: User who has created the model
                      LAST_MODIFIED_BY:
                        type: string
                        maxLength: 12
                        description: User who has modified the model
                      CREATED_ON:
                        type: string
                        maxLength: 14
                        description: Time Stamp of model creation
                      MODIFIED_ON:
                        type: string
                        maxLength: 14
                        description: Time Stamp of model modification
                      STATE:
                        type: string
                        maxLength: 1
                        description: 'Status of Model and Source  enumValues: I=In Process,S=Scheduled,N=New,P=Predicted,V=Evaluated,E=Error,T=Trained,X=Extracted'
                        enum:
                        - I
                        - S
                        - N
                        - P
                        - V
                        - E
                        - T
                        - X
              required:
              - I_SEARCH_INPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_TOT_LINES:
                    type: integer
                    format: int64
                    description: Total
                  E_T_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
                  E_T_SEARCH_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        SRV_TYPE:
                          type: string
                          maxLength: 30
                          description: Analytical service type Name
                        SRV_TYPE_DESC:
                          type: string
                          maxLength: 50
                          description: Description
                        SERVICE_ID:
                          type: string
                          maxLength: 30
                          description: Analytical Method
                        SERVICE_DESC:
                          type: string
                          maxLength: 50
                          description: Description
                        MODEL:
                          type: string
                          maxLength: 30
                          description: Analytical Model
                        REF_NAME:
                          type: string
                          maxLength: 30
                          description: Short text
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        DESCRIPTION:
                          type: string
                          maxLength: 50
                          description: Description
                        TORP:
                          type: string
                          maxLength: 1
                          description: 'Indicating Training, Prediction or Evaluation  enumValues: T=Training,A=All,E=Evaluation,P=Prediction'
                          enum:
                          - T
                          - A
                          - E
                          - P
                        DS_NAME:
                          type: string
                          maxLength: 72
                          description: Source Name
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Source Type  enumValues: Q=OLAP Query,I=InfoSet Query,V=Query View,E=External Input,C=InfoCube'
                          enum:
                          - Q
                          - I
                          - V
                          - E
                          - C
                        CREATED_BY:
                          type: string
                          maxLength: 12
                          description: User who has created the model
                        LAST_MODIFIED_BY:
                          type: string
                          maxLength: 12
                          description: User who has modified the model
                        CREATED_ON:
                          type: string
                          maxLength: 14
                          description: Time Stamp of model creation
                        MODIFIED_ON:
                          type: string
                          maxLength: 14
                          description: Time Stamp of model modification
                        STATE:
                          type: string
                          maxLength: 1
                          description: 'Status of Model and Source  enumValues: I=In Process,S=Scheduled,N=New,P=Predicted,V=Evaluated,E=Error,T=Trained,X=Extracted'
                          enum:
                          - I
                          - S
                          - N
                          - P
                          - V
                          - E
                          - T
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
