Get Import History
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 current status of the vCenter historical data import.
Request
URLURL
https://{api_host}/rest/vcenter/deployment/history
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
DeploymentImportHistoryGetResponseBody
of type application/json
Info structure containing the status information about the historical data import status.
{
"value": {
"cancelable": false,
"end_time": "string",
"operation": "string",
"parent": "string",
"result": {
"errors": [
{
"id": "string",
"time": "string"
}
],
"info": [
{
"id": "string",
"time": "string"
}
],
"warnings": [
{
"id": "string",
"time": "string"
}
]
},
"service": "string",
"start_time": "string",
"user": "string"
}
}
value
Optional
Info structure containing the status information about the historical data import status.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/vcenter/deployment/history
Errors
401
com.vmware.vapi.std.errors.unauthenticated : if the caller is not authenticated. | com.vmware.vapi.std.errors.unauthorized : if the caller is not authorized to perform the operation.
On This Page
Import History Operations
post
post