Create the prompt
POST {{baseUrl}}/api/model/prompts
Request Body
{"information"=>{"destinationFolderId"=>"{{publicReportsFolderId}}", "subType"=>"prompt_expression", "name"=>"Hierarchy - ListAll"}, "title"=>"Hierarchies", "instruction"=>"Choose a hierarchy to begin building a qualification.", "expressionType"=>"hierarchy", "question"=>{"displayForms"=>"all_forms", "listAllHierarchies"=>true}, "restriction"=>{"required"=>false, "allowPersonalAnswers"=>"multiple", "maxElementsPerSelection"=>100, "min"=>2, "max"=>5}}
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| X-MSTR-AuthToken | string | (Required) Authorization Token | |
| X-MSTR-MS-Changeset | string | (Required) Changeset ID |