Create a new prediction model
post
/s1-recipe-svc/rest/v1.0/predictionmodel
Creates a new prediction model using PredictionModelRequest. Restricted to the Intake Designer role.
Request
There are no request parameters for this operation.
There's no request body for this operation.
Back to TopResponse
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