How Do I Retrieve Details About a Specific Free Trial
You can retrieve details about a specific trial that was created for your organization by using the VMware Cloud Director service API.
VMware Cloud Director service offers a free trial that you can use to explore different customer use cases and proof-of-concept scenarios. For details, see About Free Trial.
You can use the trial details to create a VMware Cloud Director instance as part of your organization's free trial.Prerequisites
- Obtain an API token from the organization you want to manage and exchange it
for an access bearer token. Use the bearer token in the
Authorization
header when you run API calls. See How Do I Generate an API Token. - Obtain the organization ID (URN). See How Do I Retrieve the ID of My Organization.
- Retrieve the trial ID (URN). See How Do I Retrieve the Free Trials for My Organization.
Procedure
- ♦
Run a GET request.
GET https://operatorUrl/organizations/organizationUrn/trials/trialURN
Here operatorUrl is the operator URL, for example vcdc-operator-prod-us-west-2.vdp.vmware.com.
Results
The response returns details about the specified free trial that is available to your organization.
Example: Retrieve Details About a Specific Trial
This example retrieves information about a specific trial.
GET https://vcdc-operator-prod-us-west-2.vdp.vmware.com/organizations/urn:vcdc:organization:12345678-1234-1234-1234-123456789abc/trials/urn:vcdc:trial:00000000-0000-0000-0000-000000000000
Authorization
header of the request.
Authorization: Bearer eyJh…I1NiIs
The response returns information about the specified free trial.
{ "id": "urn:vcdc:trial:00000000-0000-0000-0000-000000000000", "organizationId": "urn:vcdc:organization:11111111-2222-3333-4444-555555555555", "expiry": "2022-10-17T01:01:02.680948Z", "claimed": null, "regions": null }