Get Subscriptions
Returns default billing account subscriptions for a given org id
Request
URI
GET
https://vmc.vmware.com/vmc/api/orgs/{org}/subscriptions
COPY
Path Parameters
string
org
Required
Organization identifier
Query Parameters
string
offer_type
Optional
Offer Type
ON_DEMAND
- on-demand subscriptionTERM
- term subscription- All subscriptions if not specified
Possible values are : TERM, ON_DEMAND,
Responses
200
Success
Returns Array of SubscriptionDetails of type(s) application/json
[
{
"status": "string",
"anniversary_billing_date": "string",
"end_date": "string",
"billing_frequency": "string",
"auto_renewed_allowed": "string",
"commitment_term": "string",
"csp_subscription_id": "string",
"billing_subscription_id": "string",
"offer_version": "string",
"offer_type": "string",
"description": "string",
"product_id": "string",
"region": "string",
"product_name": "string",
"offer_name": "string",
"commitment_term_uom": "string",
"start_date": "string",
"quantity": "string"
}
]
401
Unauthorized
Operation doesn't return any data structure
404
Not Found
Operation doesn't return any data structure
500
Server error. Check retryable flag to see if request should be retried.
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