Create a new recipe configuration
post
/s1-intake-svc/rest/v1.0/recipeconfig
Configures recipes for Safety One Intake to perform OCR extraction and AI prediction on ingested documents. Make sure that the recipes are available for inclusion in the recipe configuration. To create the AI prediction model, refer to Tasks > Recipe > Prediction Model > V1 > Create a new prediction model. To create the OCR extraction recipe, refer to Tasks > Recipe > Recipes > V1 > Create a new recipe with valid recipe JSON. Restricted to the Intake Designer role.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
enterpriseId: number
-
objectVersionNumber: number
-
operationType: string
Minimum Length:
1
Maximum Length:16
-
reason: string
Minimum Length:
0
Maximum Length:255
-
recipeId: string
(uuid)
-
recipeVersion: number
-
softwareVersionNumber: number
-
userId: number
-
versionEnd: string
(date-time)
Response
Supported Media Types
- application/json
201 Response
Created
Root Schema : schema
Type:
string
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