Get Tanzu Paged Subscriptions V4 Using GET
Retrieve a list of subscriptions by some criteria.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Owner | ✔️ | ✔️ |
Billing Read-only | ✔️ | ✔️ |
This or billingAccountId or orgId is required
This or serviceDefinitionId or orgId is required
This or serviceDefinitionId or billingAccountId is required
The GTO serial number
pageStart
Default value is 10, maximum is 10
OK
{
"nextLink": "/csp/serviceName/ResourceName?pageStart=60&pageLimit=15",
"prevLink": "/csp/serviceName/ResourceName?pageStart=30&pageLimit=15",
"results": [
{
"billingAccountId": "db36fc9b-6fde-4f10-8f32-2b2524a574fc",
"billingEngineSubscriptionId": "M123445678",
"lastUpdateDateTime": "2024-01-30T00:05:01.194Z",
"orgId": "485a55fc-b853-40ee-b869-a1b2988e509c",
"quantity": "500",
"serialNumber": "52331152-1-1",
"serviceDefinitionId": [
"d27a99af-f433-4427-a58a-acdc01c9e3f8"
],
"serviceEndDate": "2024-12-25",
"serviceStartDate": "2024-01-25",
"sku": "TBD",
"status": "ACTIVE",
"subscriptionId": "f9971a9e-de15-4abb-a732-a24bfa3378a6",
"subscriptionType": "PAID",
"v3BillingModel": "string",
"v3ChargeId": "VOD-HS",
"v3Datacenter": "A1",
"v3SubscriptionId": "f9971a9e-de15-4abb-a732-a24bfa3378a6",
"v3SubscriptionType": "string"
}
],
"totalResults": 2000
}
Relative path to next page if exists. Not returned for POST requests.
Relative path to previous page if exists. Not returned for POST requests.
Partial list of returned results.
Total number of results if available.
The user is not authorized to use the API
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user is forbidden to use the API
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Request error, see error code for details
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user has sent too many requests
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Unexpected error
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
curl -H 'Authorization: <value>' https://{api_host}/csp/gateway/commerce/tanzu/api/v4/subscriptions