Get Usage Sites Using GET

Get Usage Sites Using GET

Get the usage site list. Supported selectors: name, countryRegion, postCode.

Pre-authorized roles: Administrator, Auto Report Operations, Operations, Read Only

Request
URI
GET
https://{api_host}//vcp.vmware.com/api/provider/v1/contracts/usageSites
COPY
Query Parameters
string
filter
Optional

FIQL format

integer
limit
Optional

limit

integer
offset
Optional

offset

string
sort
Optional

sort


Responses
200

OK

Returns PageOfUsageSiteSimple 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",
            "contractReferenceNumber": "AMER1111RENTAL"
        }
    ],
    "total": 1
}
content
Optional

content

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