Invoking Keep Action in Response to an Alert
This section describes the App Broker REST API endpoints to invoke a keep action in both a system administrator context and in a user context.
System Administrator Context
This section describes the App Broker REST API endpoint to invoke a keep action as a system administrator in response to an alert.
Endpoint Example (Input)
URI Example:
[PUT] http://localhost/esd/api/alerts/22185
Request Body Example:
{
"response":"keep","questions":
[
{"questionId":7,"answers":
[
{"answer":"I use this software occasionally."
}
]
},
{"questionId":9,"answers":
[
{"answer":"Weekly"
}
]
}
]
}
Response Body Example (Output)
Status code of 200 with empty body.
User Context
This section describes the App Broker REST API endpoint to invoke a keep action in a user context in response to an alert.
Endpoint Example (Input)
URI Example:
[PUT] http://localhost/esd/api/alerts/22185?dn=appportal&un=jsmith
Request Body Example:
{
"response":"keep","questions":
[
{"questionId":7,"answers":
[
{"answer":"I use this software occasionally."
}
]
},
{"questionId":9,"answers":
[
{"answer":"Weekly"
}
]
}
]
}
Response Body Example (Output)
Status code of 200 with empty body.