Create and Update Trigger
POST/createUpdateTrigger
This API call can be used to create and update a trigger for a particular "jobgroup" in SSM.
The Authorization must have Bearer followed by Token.
Mandatory params:
jobname
triggername
jobgroup
cronexpression
Optional params:
valueMap - sample for triggerChainJob -
{
"savtriggerorderform": "TESTCONN,WSRETRY",
"onFailureForm": "Stop"
}
To know more on list of parameters that can be passed in valueMap, see Parameters for Job Trigger APIs
Request
Path Parameters
path stringrequired
- application/json
Body
- Array [ 
- ] 
triggers
object[]
cronexpression string
jobgroup string
jobname string
triggername string
valueMap
object
onFailureForm string
savtriggerorderform string
Responses
- 200
Create and Update Trigger
Response Headers
- Connection - string 
- Date - string 
- Set-Cookie - string 
- Strict-Transport-Security - string 
- Transfer-Encoding - string 
- Vary - string 
- X-Content-Type-Options - string 
- X-Frame-Options - string 
- X-XSS-Protection - string 
- application/json
- Schema
- Example (from schema)
- Create and Update Trigger
Schema
errorCode string
msg string
{
  "errorCode": "0",
  "msg": "Success"
}
{
  "errorCode": "0",
  "msg": "Success"
}
Loading...