List Usage Sites By Contract Id Using GET
Get the usage site list of a contract. Supported selectors: name, countryRegion, postCode.
Pre-authorized roles: Operations, Read Only
Request
URI
GET
https://{api_host}//vcp.vmware.com/api/aggregator/v1/contracts/{contractId}/usageSites
COPY
Path Parameters
string
contractId
Required
Contract id
contractId example
630c2f68-xxxx-xxxx-xxxx-61f8245eaca1
Query Parameters
string
filter
Optional
FIQL format
integer
limit
Optional
limit
integer
offset
Optional
offset
string
sort
Optional
sort
Responses
200
OK
Returns
PageOfUsageSite
of type(s)
application/json
{
"content": [
{
"id": "04101966-xxxx-xxxx-xxxx-b21ff240d3f6",
"name": "my_site",
"countryRegion": "US",
"address": "1 S Main St, San Francisco",
"postCode": 94105,
"lastModifiedTime": "2022-05-06T00:00:00Z"
}
],
"total": 1
}
integer As int64
As int64
total
Optional
total
400
Bad Request
Operation doesn't return any data structure
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
404
Contract not found
Operation doesn't return any data structure
Contract Operations
POST
Create Contract Using POST
POST
Downgrade Contract Using POST
GET
Get Contract Using GET
GET
List Contracts Using GET
GET
List Usage Sites By Contract Id Using GET
POST
Terminate Contract Using POST
POST
Topup Using POST
PATCH
Update Using PATCH
POST
Upgrade Contract Using POST