Post Tbrs

Post Tbrs

Retreive all reservations for all SDDCs in this org

Request
URI
POST
https://vmc.vmware.com/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
{
    "sddcs": [
        "string"
    ],
    "states": [
        "string"
    ]
}
array of string
sddcs
Optional

sddcs

array of string
states
Optional

states

Possible values are : SCHEDULED, RUNNING, CANCELED, COMPLETED,
Authentication
This operation uses the following authentication methods.
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
{
    "status": 0,
    "path": "string",
    "retryable": false,
    "error_code": "string",
    "error_messages": [
        "string"
    ]
}
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
{
    "status": 0,
    "path": "string",
    "retryable": false,
    "error_code": "string",
    "error_messages": [
        "string"
    ]
}
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
{
    "status": 0,
    "path": "string",
    "retryable": false,
    "error_code": "string",
    "error_messages": [
        "string"
    ]
}
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