openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_DME_MCI_MODEL_CREATE:
    post:
      tags:
      - RS_DME_MP_CONSUMER_INT
      summary: Create a model
      operationId: /rfc/RS_DME_MCI_MODEL_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_MODEL:
                  type: string
                  maxLength: 30
                  description: Analytical Model
                I_PREV_MODEL:
                  type: string
                  maxLength: 30
                  description: Model Name
                I_SERVICE:
                  type: string
                  maxLength: 30
                  description: Analytical service
                I_USER_ID:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: User name in user master record
                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_COL_PARAM:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Information for shipment of models  enumValues: A=Active,M=Modified,D=Development'
                        enum:
                        - A
                        - M
                        - D
                      COLUMNNAME:
                        type: string
                        maxLength: 30
                        description: Model Field Name
                      VALUE_ID:
                        type: string
                        maxLength: 30
                        description: Parameter Value GUID
                      PARAM:
                        type: string
                        maxLength: 30
                        description: Service Parameter GUID
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Parameter Value SIGN  enumValues: E=Exclude specified values,I=Include specified values'
                        enum:
                        - E
                        - I
                      OPR:
                        type: string
                        maxLength: 2
                        description: 'Operator for Parameter Value  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal >= value in field LOW,BT=Between:
                          Range of values'
                        enum:
                        - EQ
                        - LT
                        - NE
                        - GT
                        - NP
                        - NB
                        - CP
                        - LE
                        - GE
                        - BT
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Parameter Value ( low )
                      HIGH_VALUE:
                        type: string
                        maxLength: 64
                        description: Parameter Value ( High)
                I_T_COL_VALUE:
                  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  enumValues: A=Active,M=Modified,D=Development'
                        enum:
                        - A
                        - M
                        - D
                      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  enumValues: M=Missing,I=Ignore,V=Valid,""=Use'
                        enum:
                        - M
                        - I
                        - V
                        - ''
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Model Field Value SIGN  enumValues: E=Exclude specified values,I=Include specified values'
                        enum:
                        - E
                        - I
                      OPR:
                        type: string
                        maxLength: 2
                        description: 'Operator for Model Field Value  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal >= value in field LOW,BT=Between:
                          Range of values'
                        enum:
                        - EQ
                        - LT
                        - NE
                        - GT
                        - NP
                        - NB
                        - CP
                        - LE
                        - GE
                        - BT
                      MAP_VALUE:
                        type: string
                        maxLength: 64
                        description: Mapped value
                I_T_MODEL_COLUMN:
                  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  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
                        - ''
                I_T_MODEL_DESC:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Information for shipment of models  enumValues: A=Active,M=Modified,D=Development'
                        enum:
                        - A
                        - M
                        - D
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language ID
                      DESCRIPTION:
                        type: string
                        maxLength: 50
                        description: Description
                I_T_MODEL_PARAM:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Information for shipment of models  enumValues: A=Active,M=Modified,D=Development'
                        enum:
                        - A
                        - M
                        - D
                      VALUE_ID:
                        type: string
                        maxLength: 30
                        description: Parameter Value GUID
                      PARAM:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      INSTANCE:
                        type: integer
                        format: int32
                        description: Instance ID
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Parameter Value SIGN  enumValues: E=Exclude specified values,I=Include specified values'
                        enum:
                        - E
                        - I
                      OPR:
                        type: string
                        maxLength: 2
                        description: 'Operator for Parameter Value  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal >= value in field LOW,BT=Between:
                          Range of values'
                        enum:
                        - EQ
                        - LT
                        - NE
                        - GT
                        - NP
                        - NB
                        - CP
                        - LE
                        - GE
                        - BT
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Parameter Value ( low )
                      HIGH_VALUE:
                        type: string
                        maxLength: 64
                        description: Parameter Value ( High)
              required:
              - I_MODEL
              - I_SERVICE
      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_COL_PARAM:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Information for shipment of models  enumValues: A=Active,M=Modified,D=Development'
                          enum:
                          - A
                          - M
                          - D
                        COLUMNNAME:
                          type: string
                          maxLength: 30
                          description: Model Field Name
                        VALUE_ID:
                          type: string
                          maxLength: 30
                          description: Parameter Value GUID
                        PARAM:
                          type: string
                          maxLength: 30
                          description: Service Parameter GUID
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Parameter Value SIGN  enumValues: E=Exclude specified values,I=Include specified values'
                          enum:
                          - E
                          - I
                        OPR:
                          type: string
                          maxLength: 2
                          description: 'Operator for Parameter Value  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal >= value in field LOW,BT=Between:
                            Range of values'
                          enum:
                          - EQ
                          - LT
                          - NE
                          - GT
                          - NP
                          - NB
                          - CP
                          - LE
                          - GE
                          - BT
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Parameter Value ( low )
                        HIGH_VALUE:
                          type: string
                          maxLength: 64
                          description: Parameter Value ( High)
                  I_T_COL_VALUE:
                    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  enumValues: A=Active,M=Modified,D=Development'
                          enum:
                          - A
                          - M
                          - D
                        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  enumValues: M=Missing,I=Ignore,V=Valid,""=Use'
                          enum:
                          - M
                          - I
                          - V
                          - ''
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Model Field Value SIGN  enumValues: E=Exclude specified values,I=Include specified values'
                          enum:
                          - E
                          - I
                        OPR:
                          type: string
                          maxLength: 2
                          description: 'Operator for Model Field Value  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal >= value in field LOW,BT=Between:
                            Range of values'
                          enum:
                          - EQ
                          - LT
                          - NE
                          - GT
                          - NP
                          - NB
                          - CP
                          - LE
                          - GE
                          - BT
                        MAP_VALUE:
                          type: string
                          maxLength: 64
                          description: Mapped value
                  I_T_MODEL_COLUMN:
                    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  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
                          - ''
                  I_T_MODEL_DESC:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Information for shipment of models  enumValues: A=Active,M=Modified,D=Development'
                          enum:
                          - A
                          - M
                          - D
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language ID
                        DESCRIPTION:
                          type: string
                          maxLength: 50
                          description: Description
                  I_T_MODEL_PARAM:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Information for shipment of models  enumValues: A=Active,M=Modified,D=Development'
                          enum:
                          - A
                          - M
                          - D
                        VALUE_ID:
                          type: string
                          maxLength: 30
                          description: Parameter Value GUID
                        PARAM:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        INSTANCE:
                          type: integer
                          format: int32
                          description: Instance ID
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Parameter Value SIGN  enumValues: E=Exclude specified values,I=Include specified values'
                          enum:
                          - E
                          - I
                        OPR:
                          type: string
                          maxLength: 2
                          description: 'Operator for Parameter Value  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal >= value in field LOW,BT=Between:
                            Range of values'
                          enum:
                          - EQ
                          - LT
                          - NE
                          - GT
                          - NP
                          - NB
                          - CP
                          - LE
                          - GE
                          - BT
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Parameter Value ( low )
                        HIGH_VALUE:
                          type: string
                          maxLength: 64
                          description: Parameter Value ( High)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
