Invoking Keep Action in Response to an Alert

App Broker 2020 R1

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
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.

Invoking Keep Action in Response to an Alert (System Administrator)

Endpoint Example (Input)

Response Body Example (Output)

URI Example

[PUT] http://localhost/esd/api/alerts/22185

Status 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.

Invoking Keep Action in Response to an Alert (User Context)

Endpoint Example (Input)

Response Body Example (Output)

URI Example

[PUT] http://localhost/esd/api/alerts/22185?dn=appportal&un=jsmith

Status 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"

               }

            ]

         }

      ]

}