Skip to main content

Getting a List of Uninstall Alert Questions

This section describes the App Broker REST API endpoint to get a list of the questions that a user is required to answer when responding to an uninstall alert.

Endpoint ExampleResponse Body Example
[GET] http://localhost/esd/api/alerts/22184/uninstallquestions[ { "id": 7, "name": "UninstallQuestion1", "type": "dropDownList", "description": "Please select the reason for uninstalling", "isRequired": true, "isMaskInput": false, "focus": "requestSpecific", "target": "requester", "answers": [ { "id": 13, "text": "I do not use this software regularly", "value": "I do not use this software regularly", "isDefault": false }, { "id": 16, "text": "Other", "value": "Other", "isDefault": false } ], "conditionals": [ { "questionID": 8, "value": " Other" } ] },
{ "id": 8, "name": "UninstallQuestion2", "type": "multiLine", "description": "Please specify the reason", "isRequired": true, "isMaskInput": false, "focus": "requestSpecific", "target": "requester", "conditionals": [ { "questionID": 7, "value": "Other" } ] } ]

Uninstall Alert Question Metadata

This section describes the uninstall alert question metadata that is returned.

ItemDescription
idUnique identifier of alert resource.
nameName of question.
typeUser interface format of question, such as dropDownList or multiLine .
descriptionDescription of question.
isRequiredSpecifies ( true or false ) whether a response is required.
isMaskInputSpecifies ( true or false ) whether content should be masked in the user interface (such as for a password field).
focusSpecifies the bundle format of the question as one of the following: RequestSpecific ItemSpecific
targetSpecifies the appropriate audience for the question as one of the following: Requester Approver Either
answersProvides the following information about the response choices: id —Unique identifier of response choice. text —Text display of response choice. value —Value of response choice. isDefault —Whether response choice should be preselected in user interface ( true ) or not ( false ).
conditionalsProvides the identifier for the question and conditional value: questionID —Unique identifier of question resource. value —Selected response choice to require response to conditional question.