openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_DME_RFC_MD_FLD_VAL_CHECK:
    post:
      tags:
      - RS_DME_RFC_MODELLING
      summary: Check Field Values
      operationId: /rfc/RS_DME_RFC_MD_FLD_VAL_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ENGINE:
                  type: string
                  maxLength: 30
                  description: Analytical service
                I_MODEL:
                  type: string
                  maxLength: 30
                  description: Analytical Model
                I_S_MOD_FIELD:
                  type: object
                  properties:
                    COLUMNNAME:
                      type: string
                      maxLength: 30
                      description: Model Field Name
                    OBJVERS:
                      type: string
                      maxLength: 1
                      description: 'Information for shipment of models  enumValues: A=Active,M=Modified,D=Development'
                      enum:
                      - A
                      - M
                      - D
                    DATA_TYPE:
                      type: string
                      maxLength: 4
                      description: 'Data Type  enumValues: TIMS=Time Field,CURR=Currency Type Field,NUMC=Character String with only Numeric Digits,INT=Integer Type Fields,CHAR=Character String,DEC=Decimal Type fields,DATS=Date Field,UNIT=Unit,QUAN=Quantity Type fields'
                      enum:
                      - TIMS
                      - CURR
                      - NUMC
                      - INT
                      - CHAR
                      - DEC
                      - DATS
                      - UNIT
                      - QUAN
                    CHAR_MAX_LENGTH:
                      type: integer
                      format: int64
                      description: Maximum length of the char field
                    NUM_PRECISION:
                      type: integer
                      format: int64
                      description: 'Total Length of Numeric Field  enumValues: 00='
                      enum:
                      - '00'
                    NUM_SCALE:
                      type: integer
                      format: int64
                      description: 'Number of digits to the right of the decimal point  enumValues: 00='
                      enum:
                      - '00'
                    DATE_PRECISION:
                      type: integer
                      format: int64
                      description: 'Date Precision  enumValues: 00='
                      enum:
                      - '00'
                    CONTENT_TYPE:
                      type: string
                      maxLength: 3
                      description: 'Content Type ID  enumValues: ORE=Order,KEY=Key Field,PBV=Probability Variance,CNT=Continuous,ORD=Ordered,PRB=Probability,WHT=Transaction weight,PBS=Probability Standard Deviation,SQT=Sequence Time,ITM=Item,TRN=Transaction,CYC=Cyclical,GRP=Grouping Attribute,DIZ=Discretized,DST=Discrete'
                      enum:
                      - ORE
                      - KEY
                      - PBV
                      - CNT
                      - ORD
                      - PRB
                      - WHT
                      - PBS
                      - SQT
                      - ITM
                      - TRN
                      - CYC
                      - GRP
                      - DIZ
                      - DST
                    DISTR_TYPE:
                      type: string
                      maxLength: 3
                      description: 'Distribution Type ID  enumValues: POS=Poisson,LOG=Log Normal,TDB=T Distribution,UNI=Uniform,MUN=Mulitnomial,NOR=Normal,BIN=Binomial'
                      enum:
                      - POS
                      - LOG
                      - TDB
                      - UNI
                      - MUN
                      - NOR
                      - BIN
                    DESCRIPTION:
                      type: string
                      maxLength: 50
                      description: Description
                    IS_RELATED_TO:
                      type: string
                      maxLength: 30
                      description: Model Field Name
                    OBJ_TYPE:
                      type: string
                      maxLength: 1
                      description: Type of Object in the Source
                    IS_PREDICTABLE:
                      type: string
                      maxLength: 1
                      description: 'Model field is predictable  enumValues: X=TRUE,""=FALSE'
                      enum:
                      - X
                      - ''
                    IOBJNM:
                      type: string
                      maxLength: 30
                      description: InfoObject
                    DATA_ELEMENT:
                      type: string
                      maxLength: 30
                      description: Data element (semantic domain)
                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
                I_T_CONN_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAM_NAME:
                        type: string
                        maxLength: 40
                        description: Name of Data Mining Vendor specific connection parameter
                      PARAM_DESC:
                        type: string
                        maxLength: 50
                        description: Description
                      PARAM_VALUE:
                        type: string
                        maxLength: 40
                        description: Value of a Data Mining Vendor specific connection parameter
                I_T_FLD_VAL:
                  type: array
                  items:
                    type: object
                    properties:
                      COLUMNNAME:
                        type: string
                        maxLength: 30
                        description: Model Field Name
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: Information for shipment of models
                      PROC_TYPE:
                        type: string
                        maxLength: 10
                        description: Value processing type
                      VALID:
                        type: string
                        maxLength: 30
                        description: Model Field Value GUID
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Model Field Value (low)
                      HIGH_VALUE:
                        type: string
                        maxLength: 64
                        description: Model Field Value (High)
                      WEIGHT:
                        type: integer
                        format: int64
                        description: Individual Weights
                      USE_VALUE_AS:
                        type: string
                        maxLength: 1
                        description: Use of the Model Field Values
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Model Field Value SIGN
                      OPR:
                        type: string
                        maxLength: 2
                        description: Operator for Model Field Value
                      MAP_VALUE:
                        type: string
                        maxLength: 64
                        description: Mapped value
                      BORDER:
                        type: string
                        maxLength: 2
                        description: Border Range
                      TEXT:
                        type: string
                        maxLength: 50
                        description: Description
              required:
              - I_ENGINE
              - I_MODEL
              - I_S_MOD_FIELD
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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
                  I_T_CONN_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAM_NAME:
                          type: string
                          maxLength: 40
                          description: Name of Data Mining Vendor specific connection parameter
                        PARAM_DESC:
                          type: string
                          maxLength: 50
                          description: Description
                        PARAM_VALUE:
                          type: string
                          maxLength: 40
                          description: Value of a Data Mining Vendor specific connection parameter
                  I_T_FLD_VAL:
                    type: array
                    items:
                      type: object
                      properties:
                        COLUMNNAME:
                          type: string
                          maxLength: 30
                          description: Model Field Name
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: Information for shipment of models
                        PROC_TYPE:
                          type: string
                          maxLength: 10
                          description: Value processing type
                        VALID:
                          type: string
                          maxLength: 30
                          description: Model Field Value GUID
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Model Field Value (low)
                        HIGH_VALUE:
                          type: string
                          maxLength: 64
                          description: Model Field Value (High)
                        WEIGHT:
                          type: integer
                          format: int64
                          description: Individual Weights
                        USE_VALUE_AS:
                          type: string
                          maxLength: 1
                          description: Use of the Model Field Values
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Model Field Value SIGN
                        OPR:
                          type: string
                          maxLength: 2
                          description: Operator for Model Field Value
                        MAP_VALUE:
                          type: string
                          maxLength: 64
                          description: Mapped value
                        BORDER:
                          type: string
                          maxLength: 2
                          description: Border Range
                        TEXT:
                          type: string
                          maxLength: 50
                          description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
