Post Tbrs
Retreive all reservations for all SDDCs in this org
Request
URI
POST
https://{api_host}/vmc/api/orgs/{org}/tbrs/reservation
COPY
Path Parameters
string
org
Required
Organization identifier.
Request Body
SDDCs and/or states to query
SddcStateRequest
of type(s)
application/json
Optional
array of
string
sddcs
Optional
sddcs
array of
string
states
Optional
states
Possible values are :
SCHEDULED,
RUNNING,
CANCELED,
COMPLETED,
Responses
200
Successful response
{
"0": {
"reservation_state": "string",
"emergency": false,
"maintenance_properties": {
"status": "string"
},
"reserve_id": "string",
"start_hour": 0,
"sddc_id": "string",
"manifest_id": "string",
"duration_hours": 0,
"start_date": "string",
"metadata": {
"metadata": "string"
}
}
}
400
Bad Call
Returns
ErrorResponse
of type(s)
application/json
"ErrorResponse Object"
integer
status
Required
HTTP status code
string
path
Required
Originating request URI
boolean
retryable
Required
If true, client should retry operation
string
error_code
Required
unique error code
array of
string
error_messages
Required
localized error messages
401
Unauthorized
Returns
ErrorResponse
of type(s)
application/json
"ErrorResponse Object"
integer
status
Required
HTTP status code
string
path
Required
Originating request URI
boolean
retryable
Required
If true, client should retry operation
string
error_code
Required
unique error code
array of
string
error_messages
Required
localized error messages
403
Forbidden
Returns
ErrorResponse
of type(s)
application/json
"ErrorResponse Object"
integer
status
Required
HTTP status code
string
path
Required
Originating request URI
boolean
retryable
Required
If true, client should retry operation
string
error_code
Required
unique error code
array of
string
error_messages
Required
localized error messages
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/vmc/api/orgs/{org}/tbrs/reservation