This API has a deprecated equivalent from v7.0U1.
Answer Question
Supply answer to the raised question.
Request
URLURL
https://{api_host}/api/vcenter/deployment/question?action=answer
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Request Body
Request Body
DeploymentQuestionAnswerSpec of mimetype application/json
Required
AnswerSpec with the answer to the raised question. The Question.AnswerSpec structure contains fields to describe the answer to a raised question.
(The request body parameter is missing description)
{
"answer_val": "string",
"question_id": "string"
}
string
answer_val
Required
The answer value.
string
question_id
Required
Id of the question being answered.
cURL Command
curl -X POST -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" -H "Content-Type: application/json" -d '{"answer_val":"string","question_id":"string"}' https://{api_host}/api/vcenter/deployment/question?action=answer
Errors
400
com.vmware.vapi.std.errors.invalid_argument : if passed arguments are invalid. | com.vmware.vapi.std.errors.not_allowed_in_current_state : if the appliance is NOT in QUESTION_RAISED state.
Availability
Added in 7.0U2
On This Page
Question Operations
get
post