List All Organization Reservations Deprecated
Get all reservations for this org
Request
URLURL
https://vmc.vmware.com/vmc/api/orgs/{org}/reservations
Parameters
Parameters
string
org
Required
Organization identifier
Response
Response
Response BodyResponse Body
200 OK returns
array
of
MaintenanceWindowEntry
{
"in_maintenance_mode": false,
"in_maintenance_window": false,
"reservation_id": "string",
"reservation_schedule": {
"day_of_week": "string",
"duration_min": 0,
"hour_of_day": 0,
"reservations": [
{
"create_time": "string",
"duration": 0,
"metadata": {
"key": "string"
},
"rid": "string",
"start_time": "2018-05-01'T'05:00:00'Z'"
}
],
"reservations_mw": [
{
"create_time": "string",
"metadata": {
"key": "string"
},
"rid": "string",
"week_of": "string"
}
],
"version": 0
},
"sddc_id": "string"
}
boolean
in_maintenance_mode
Optional
true if the SDDC is currently undergoing maintenance
boolean
in_maintenance_window
Optional
true if the SDDC is in the defined Mainentance Window
string
reservation_id
Optional
ID for reservation
string
sddc_id
Optional
SDDC ID for this reservation
cURL Command
curl https://vmc.vmware.com/vmc/api/orgs/{org}/reservations
Errors
401
The request requires user authentication.