Create Subscriptions
Initiates the creation of a subscription
Organization identifier
subscriptionRequest
{
"product": "host",
"product_type": "host - deprecated",
"billing_frequency": "MONTHLY",
"region": "US_WEST_2",
"commitment_term": "12",
"offer_name": "VMware Cloud on AWS",
"type": "i3.metal",
"offer_version": "1.0",
"quantity": 1
}
The product for which subscription needs to be created. Refer /vmc/api/orgs/{orgId}/products.
Old identifier for product. Deprecarted. See product and type
product_id
Frequency of the billing.
region
commitment_term
offer_context_id
offer_version
offer_name
quantity
The type of the product for which the subscription needs to be created.
price
product_charge_id
Accepted
{
"updated": "string",
"user_id": "string",
"updated_by_user_id": "string",
"created": "string",
"version": 5,
"updated_by_user_name": "string",
"user_name": "string",
"id": "1d1c83ee-e0b7-4de9-b660-9a9ca1d22f32",
"status": "string",
"localized_error_message": "string",
"resource_id": "string",
"parent_task_id": "string",
"task_version": "string",
"correlation_id": "string",
"start_resource_entity_version": 0,
"customer_error_message": "string",
"sub_status": "string",
"task_type": "string",
"start_time": "string",
"task_progress_phases": [
{
"id": "string",
"name": "string",
"progress_percent": 0
}
],
"error_message": "string",
"org_id": "1d1c83ee-e0b7-4de9-b660-9a9ca1d22f32",
"end_resource_entity_version": 5,
"service_errors": [
{
"default_message": "string",
"original_service": "string",
"localized_message": "string",
"original_service_error_code": "string"
}
],
"org_type": "string",
"estimated_remaining_minutes": 4,
"progress_percent": 75,
"phase_in_progress": "string",
"resource_type": "string",
"end_time": "string"
}
Unauthorized
Forbidden
Server error. Check retryable flag to see if request should be retried.
{
"status": 0,
"path": "string",
"retryable": false,
"error_code": "string",
"error_messages": [
"string"
]
}
HTTP status code
Originating request URI
If true, client should retry operation
unique error code
localized error messages