Update recipe by recipe ID with valid recipe JSON
put
/s1-recipe-svc/rest/v1.0/recipes/{recipeId}
Updates a recipe for a given recipe ID with valid recipe JSON. Restricted to the Intake Designer role.
Request
Path Parameters
-
recipeId(required): string(uuid)
Recipe ID
Supported Media Types
- application/json
Root Schema : schema
Type:
stringResponse
Supported Media Types
- application/json
200 Response
Success
Root Schema : Recipe
Type:
Show Source
object-
comment: string
Minimum Length:
0Maximum Length:2048 -
enterpriseId: number
-
id: string
(uuid)
-
objectVersionNumber: number
-
operationType: string
Minimum Length:
1Maximum Length:16 -
reason: string
Minimum Length:
0Maximum Length:255 -
recipeJson: string
-
softwareVersionNumber: number
-
userId: number
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
400 Response
Bad Request
Root Schema : ErrorResponseData
Type:
objectResponse 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:
objectError Details
401 Response
Unauthorized User
Root Schema : ErrorResponseData
Type:
objectResponse 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:
objectError Details
500 Response
Internal Server Error
Root Schema : ErrorResponseData
Type:
objectResponse 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:
objectError Details