Get Subscription

Get Subscription
Get a subscription

Returns the a subscription belonging to the user's org

Request
URI
GET
https://api.app-catalog.vmware.com/v1/subscriptions/{subscription_id}
COPY
Path Parameters
subscription_id
Required

String identifier of the subscription


Authentication
This operation uses the following authentication methods.
Responses
200

The subscription

Returns Subscription of type(s) application/json
{
    "id": "aa6ce24d-b38a-405b-a1ca-3ac0a79418bb",
    "product_id": "VTAC_AAORG_CP",
    "status": "ACTIVE",
    "quotas": {
        "applications": {
            "limit": 25
        }
    },
    "created_at": "2023-03-03T00:59:52.762Z",
    "created_by": "Bitnami Secure Images",
    "updated_at": "2023-03-03T00:59:52.762Z",
    "updated_by": "Bitnami Secure Images",
    "starts_at": "2023-03-03T00:59:52.762Z",
    "ends_at": "2023-03-03T00:59:52.762Z"
}
string
id
Optional

Identifier of the subscription in CSP. Old subscriptions might have no CSP id.

string
product_id
Required

Name of the product of the subscription: VTAC_AATEAM_CP, VTAC_AAORG_CP, VAC_FLEXIBLE, TNZ_ADV_TAC_CP, VAC_DEMO, TNZ_ADV_NSM_CP, INVALID_TNZ_ADV

string
status
Required

Status of the subscription (ACTIVE, CREATED, EXPIRED, TERMINATED, ERROR, SUBMITTED, PENDING_EXPIRY, SUSPENDED)

object
quotas
Optional

Quotas for this subscription

string As date-time As date-time
created_at
Required

Date of the creation of the subscription

string
created_by
Optional

User that created the subscription in Bitnami Secure Images

string As date-time As date-time
updated_at
Optional

Date of the update of the subscription

string
updated_by
Optional

User that updated the subscription in Bitnami Secure Images

string As date-time As date-time
starts_at
Optional

Date of the start of the subscription

string As date-time As date-time
ends_at
Optional

Date of the end of the subscription


403

The requesting user is not authorized to get a subscription

Returns Error403 of type(s) application/problem+json
This response body class contains all of the following: InlineError4030
{
    "type": "https://example.com/probs/out-of-credit",
    "title": "You do not have enough credit.",
    "status": 403,
    "detail": "Your current balance is 30, but that costs 50",
    "instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}

404

The subscription is not found

Returns Error404 of type(s) application/problem+json
This response body class contains all of the following: InlineError4040
{
    "type": "https://example.com/probs/out-of-credit",
    "title": "You do not have enough credit.",
    "status": 403,
    "detail": "Your current balance is 30, but that costs 50",
    "instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}

500

An internal server error object

Returns Error500 of type(s) application/problem+json
This response body class contains all of the following: InlineError5000
{
    "type": "https://example.com/probs/out-of-credit",
    "title": "You do not have enough credit.",
    "status": 403,
    "detail": "Your current balance is 30, but that costs 50",
    "instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}

503

The server is temporarily unavailable

Returns Error503 of type(s) application/problem+json
This response body class contains all of the following: InlineError5030
{
    "type": "https://example.com/probs/out-of-credit",
    "title": "You do not have enough credit.",
    "status": 403,
    "detail": "Your current balance is 30, but that costs 50",
    "instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/v1/subscriptions/{subscription_id}