vcenter deployment question: answer
Supply answer to the raised question. This operation was added in vSphere API 6.7.
Request:
HTTP request
POST https://{server}/rest/vcenter/deployment/question?action=answer
Request Body Structure:
{
"spec" : {
"answer_val" : "string",
"question_id" : "string"
}
}
"spec" : {
"answer_val" : "string",
"question_id" : "string"
}
}
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
spec | answer_spec | AnswerSpec with the answer to the raised question. |
spec.question_id | string | Id of the question being answered. This attribute was added in vSphere API 6.7. |
spec.answer_val | string | The answer value. This attribute was added in vSphere API 6.7. |
Response:
HTTP Status Code: 200
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
401 | unauthenticated | if the caller is not authenticated. |
400 | invalid_argument | if passed arguments are invalid. |
400 | not_allowed_in_current_state | if the appliance is NOT in QUESTION_RAISED state. |
500 | internal_server_error | if answer file could not be created. |