Skip to main content

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)Response Body Example (Output)
URI Example [PUT] http://localhost/esd/api/alerts/22185Status code of 200 with empty body.
Request Body Example { "response":"keep","questions": [ {"questionId":7,"answers": [ {"answer":"I use this software occasionally." } ] }, {"questionId":9,"answers": [ {"answer":"Weekly" } ] } ] }

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)Response Body Example (Output)
URI Example [PUT] http://localhost/esd/api/alerts/22185?dn=appportal&un=jsmithStatus code of 200 with empty body.
Request Body Example { "response":"keep","questions": [ {"questionId":7,"answers": [ {"answer":"I use this software occasionally." } ] }, {"questionId":9,"answers": [ {"answer":"Weekly" } ] } ] }