Getting List of Questions Associated With Catalog Item(s)
This section describes the App Broker REST API endpoint to get list of Questions attached to Catalog Items, such as Catalog ID 17 and if we want to get questions for multiple catalog items then, pass the catalog ids separated by commas in the query parameter. For example, 17,18,19,20.
| Endpoint Example | Response Body Example |
|---|---|
| To get questions for single catalog item [GET] http://localhost/esd/api/catalogs/questions?id=17 To get questions for multiple catalog items [GET] http://localhost/esd/api/catalogs/questions?id=17,18,19,20 | [ { "id": 1013, "packageId": 17, "name": "CheckBox", "type": "checkboxList", "description": "Select colors you like", "isRequired": true, "isMaskInput": false, "focus": "requestSpecific", "target": "requester", "answers": [ { "id": 24, "text": "Blue", "value": "1", "isDefault": false }, { "id": 25, "text": "Green", "value": "3", "isDefault": false }, ] } ] |