Get Question
If vSphere APIs begin with /rest (vs /api), any maps are consumed/returned instead as arrays of objects, each containing a key and a value property field.
Get the question that was raised during the configuration.
Request
URLURL
https://{api_host}/rest/vcenter/deployment/question
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Example: b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
DeploymentQuestionGetResponseBody
of type application/json
Info structure containing the question.
{
"value": {
"questions": [
{
"default_answer": "string",
"id": "string",
"possible_answers": [
"string"
],
"type": "enum"
}
]
}
}
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/vcenter/deployment/question
Errors
409
com.vmware.vapi.std.errors.not_allowed_in_current_state : if the appliance is not in QUESTION_RAISED state.
500
com.vmware.vapi.std.errors.internal_server_error : if questions could not be retrieved although the appliance is in QUESTION_RAISED state.
On This Page
Question Operations
get
post