PUT https://{hostname}:{port}
/cli/applicationProcessRequest/request
{
"application": "Application name or ID",
"applicationProcess": "Application process name or ID",
"date": "Date and time to schedule the process for.
(Optional) Supports unix timecodes or the format yyyy-mm-
dd HH:mm",
"description": "Description for the request (Optional)",
"environment": "Environment name or ID",
"onlyChanged": "Specify false to force deployment of
versions that are already in the inventory (Optional)",
"post-deploy-message": "The body of the PUT message. You
can use the variable ${p:finalStatus}, which holds the
value 'success' or 'failure' depending on whether the
process succeeded or failed. (Optional)",
"post-deploy-put-url": "The URL that the post-deploy-
message is PUT to. (Optional)",
"properties": {"Property name": "Property value
(Optional)"},
"recurrencePattern": "To make a scheduled process recur,
specify 'D' (daily), 'W' (weekly), or 'M' (monthly).
(Optional)",
"snapshot": "Snapshot name or ID (Optional)",
"versions": [{
"component": "Component name or ID for the version, if
you are using version name instead of ID.",
"version": "Version name or ID (Repeat as necessary.
Not used with snapshots)"
}]
}
{
"application": "JPetStore",
"description": "Requesting deployment",
"applicationProcess": "Deploy JPetStore",
"environment": "Tutorial environment 1",
"onlyChanged": "false",
"properties": {
"Prop1": "value1"
},
"versions": [
{
"version": "1.0",
"component": "JPetStore-APP"
},
{
"version": "1.0",
"component": "JPetStore-WEB"
},
{
"version": "1.0",
"component": "JPetStore-DB"
}
]
}
{
"application": "JPetStore",
"description": "Deploying newest versions",
"applicationProcess": "Deploy JPetStore",
"environment": "Tutorial environment 1",
"onlyChanged": "false",
"properties": {
"Prop1": "value1"
},
"versions": [
{
"version": "newest",
"component": "JPetStore-APP"
},
{
"version": "latest",
"component": "JPetStore-WEB"
},
{
"version": "latestVersion",
"component": "JPetStore-DB"
}
]
}
{
"requestId": "f7e7b00d-8ea6-4a95-ad74-0ff853125232"
}
Related CLI command: requestApplicationProcess.