Update prediction model by model docstore ID
put
/s1-recipe-svc/rest/v1.0/predictionmodel/{predictionModelId}
Updates the existing prediction model based on the specific model docstore ID. Use PredictionModelRequest to update. Restricted to the Intake Designer role.
Request
Path Parameters
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Request Object to create prediction model
Show Source
-
attributeModelJson: object
AttributeModelJson
Attribute Model JSON
-
extractionModels: array
extractionModels
-
modelDmsId: number
Model DMS IDExample:
14532
-
modelName: string
Model NameExample:
Social Media
-
modelVersion: number
Model versionExample:
1
-
relationship: string
RelationshipExample:
dosage-drug
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : PredictionModel
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
enterpriseId: number
-
extractionModels: string
-
id: string
(uuid)
-
modelAttributeJson: string
-
modelDmsId: integer
(int64)
-
modelName: string
-
modelVersion: number
-
objectVersionNumber: number
-
operationType: string
Minimum Length:
1
Maximum Length:16
-
reason: string
Minimum Length:
0
Maximum Length:255
-
relationship: string
-
softwareVersionNumber: number
-
userId: number
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
400 Response
Bad Request
Root Schema : ErrorResponseData
Type:
object
Response object for error
Show Source
-
details: object
details
Error Details
-
errorCode: string
Error CodeExample:
Exception
-
errorMessage: string
Error MessageExample:
Please see the server log for details
Nested Schema : details
Type:
object
Error Details
401 Response
Unauthorized User
Root Schema : ErrorResponseData
Type:
object
Response object for error
Show Source
-
details: object
details
Error Details
-
errorCode: string
Error CodeExample:
Exception
-
errorMessage: string
Error MessageExample:
Please see the server log for details
Nested Schema : details
Type:
object
Error Details
500 Response
Internal Server Error
Root Schema : ErrorResponseData
Type:
object
Response object for error
Show Source
-
details: object
details
Error Details
-
errorCode: string
Error CodeExample:
Exception
-
errorMessage: string
Error MessageExample:
Please see the server log for details
Nested Schema : details
Type:
object
Error Details