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 Example | Response 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.
| Item | Description |
|---|---|
| id | Unique identifier of alert resource. |
| name | Name of question. |
| type | User interface format of question, such as dropDownList or multiLine . |
| description | Description of question. |
| isRequired | Specifies ( true or false ) whether a response is required. |
| isMaskInput | Specifies ( true or false ) whether content should be masked in the user interface (such as for a password field). |
| focus | Specifies the bundle format of the question as one of the following: RequestSpecific ItemSpecific |
| target | Specifies the appropriate audience for the question as one of the following: Requester Approver Either |
| answers | Provides 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 ). |
| conditionals | Provides the identifier for the question and conditional value: questionID —Unique identifier of question resource. value —Selected response choice to require response to conditional question. |