Product methods

Use the following product API operations to retrieve products.

GET /v2/offerings/{offeringId}/products/{productId}

Gets a specific product.

This operation retrieves a specific product.

Request

The request has the following URI and header parameters.

NameTypeDescription
X-Auth-TokenHeader string (Required)A valid authentication token.
Content-typeHeader stringValue: application/json.
AcceptHeader stringValue: application/json.
{offeringId}String (Required)The ID for the offering. Example: fd2c2294-0498-3791-9df7-1d4ed883a939.
{productId}String (Required)The ID for the product. Example: 0a1239ca-19ae-39e7-a7a3-887dfcc8ea85.

This operation does not accept a request body.

Example request: header

The following example shows the header information.

X-Auth-Token: f064c46a782c444cb4ba4b6434288f7c
Content-Type: application/json
Accept: application/json

Response

The response has the following body parameters.

NameTypeDescription
productObjectAn info block that contains details about the product.
product.nameStringThe name of the product.
product.idStringThe universally unique identifier (UUID) for the product.
product.descriptionStringThe description of the product.
product.productCodeStringA business identifier for the product. This identifier remains consistent when a new version of the product is introduced. It is unique across all of the products within an offering.
product.productOfferingPriceComplex typeProvides pricing information specific to a product in an offering through a nested structure.
product.productOfferingPrice.descriptionStringThe description of the price.
product.productOfferingPrice.priceTypeStringusage: Utility pricing.
item: One-time pricing.
subscription: Recurring pricing.
product.productOfferingPrice.priceDetailsComplex typeA collection that provides details about pricing for the product.
product.productOfferingPrice.priceDetails.priceCharacteristicArrayAn array of JSON strings that contains a collection of characteristics that provide additional information about the price. Format is Characteristic key : Characteristic value. This element is used to accommodate business-defined pricing drivers such as serviceLevel (INFRASTRUCTURE or MANAGED), serviceType (SYSOPS, DEVOPS, or LEGACY), chargeType (INFRASTRUCTURE or SUPPORT), and other pricing qualifiers. These pricing qualifiers are present where applicable. For more information, see the “Service plan details” table on this page.
product.productOfferingPrice.priceDetails.pricesArrayAn info block that contains information about product prices.
product.productOfferingPrice.priceDetails.prices.unitOfMeasureStringper hour
per month
per year
per instance
per request
per compute cycle
per transaction
per GB
per GB/month
per instance/month
per check/hour
per CC
per 100 MB
per server/day
per instance/hour
per 100 MB/hour
per 10000 MB
product.productOfferingPrice.priceDetails.prices.priceComplex typeAn info block that contains information about a price.
product.productOfferingPrice.priceDetails.prices.price.amountStringThe price of the product.
product.productOfferingPrice.priceDetails.prices.price.currencyStringThe monetary currency that is associated with the price.
product.productOfferingPrice.priceDetails.prices.price.geoStringThe geographic region that is associated with the price.
product.productCharacteristicArrayAn array of key-value pairs that contains info on the operating system and flavor that are associated with the product. This information is primarily used to configure information from external applications that drive product and pricing. Example: "name": "flavor_id", "value":"performance2-30".
product.statusStringACTIVE: Default
INACTIVE: When an offering becomes INACTIVE, all of the products that belong to that offering also become INACTIVE.

Service plan details

The following table shows the service level and service type that is associated with each Rackspace service plan.

Service planService levelService type
InfrastructureInfrastructureLegacy
Managed CloudManagedLegacy
Managed InfrastructureInfrastructureSysOps
Managed OperationsManagedSysOps
DevOpsManagedDevOps

Example response

The following example shows the response for the request.

Status Code: 200 OK
 Content-Length: 4543
 Content-Type: application/json
 Date: Wed, 03 Dec 2014 17:13:30 GMT
 Server: Jetty(8.0.y.z-SNAPSHOT)
 Via: 1.1 Repose (Repose/2.12)
 x-compute-request-id: req-7b7ffed2-9b1f-46a8-a478-315518d35387

 {
    "product": {
        "name": "Windows - 30720 MB High Performance I/O 2 Server Instance",
        "id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
        "description": "Windows - 30720 MB High Performance I/O 2 Server Instance",
        "productCode": "UPTIME_HIGH_IO_2_WIN_30720MB",
        "productOfferingPrice": {
            "description": "Windows - 30720 MB High Performance I/O 2 Server Instance Price",
            "priceType": "Usage",
            "priceDetails": [
                {
                    "priceCharacteristic": [
                        {
                            "name": "serviceLevel",
                            "value": "MANAGED"
                        },
                        {
                            "name": "serviceType",
                            "value": "LEGACY"
                        },
                        {
                            "name": "chargeType",
                            "value": "INFRASTRUCTURE"
                        }
                    ],
                    "prices": [
                        {
                            "unitOfMeasure": "per Hour",
                            "price": [
                                {
                                    "amount": "1.480",
                                    "currency": "GBP",
                                    "geo": "UK"
                                },
                                {
                                    "amount": "2.000",
                                    "currency": "USD",
                                    "geo": "USA"
                                },
                                {
                                    "amount": "2.000",
                                    "currency": "USD",
                                    "geo": "APAC"
                                },
                                {
                                    "amount": "2.000",
                                    "currency": "USD",
                                    "geo": "AUS"
                                }
                            ]
                        }
                    ]
                },
                {
                    "priceCharacteristic": [
                        {
                            "name": "serviceLevel",
                            "value": "INFRASTRUCTURE"
                        },
                        {
                            "name": "serviceType",
                            "value": "LEGACY"
                        },
                        {
                            "name": "chargeType",
                            "value": "INFRASTRUCTURE"
                        }
                    ],
                    "prices": [
                        {
                            "unitOfMeasure": "per Hour",
                            "price": [
                                {
                                    "amount": "1.180",
                                    "currency": "GBP",
                                    "geo": "UK"
                                },
                                {
                                    "amount": "1.600",
                                    "currency": "USD",
                                    "geo": "USA"
                                },
                                {
                                    "amount": "1.600",
                                    "currency": "USD",
                                    "geo": "APAC"
                                },
                                {
                                    "amount": "1.600",
                                    "currency": "USD",
                                    "geo": "AUS"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        "productCharacteristic": [
            {
                "name": "os_type",
                "value": "windows"
            },
            {
                "name": "FLAVOR_ID",
                "value": "performance2-30"
            }
        ],
        "status": "ACTIVE"
    }
}

Response codes

This operation can have the following response codes.

CodeNameDescription
200SuccessThe request succeeded.
400ErrorA general error has occurred.
404Not FoundThe requested resource is not found.
405Method Not AllowedThe method received in the request line is known by the origin server but is not supported by the target resource.
406Not AcceptableThe value in the Accept header is not supported.
500API FaultThe server encountered an unexpected condition that prevented it from fulfilling the request.

GET /v2/offerings/{offeringId}/products

Gets the products for a Rackspace offering.

This operation retrieves all of the products that are associated with a Rackspace offering.

Request

The request has the following URI and header parameters.

NameTypeDescription
X-Auth-TokenHeader string (Required)A valid authentication token.
Content-typeHeader stringValue: application/json.
AcceptHeader stringValue: application/json.
{offeringId}String (Required)The ID for the offering. Example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91.
{limit}StringThe maximum number of items to return. The default value is 100. For this method, you may also set the value for this parameter to infinite.
{marker}StringThe starting point for the return data. This parameter controls pagination.
{serviceLevel}StringINFRASTRUCTURE
MANAGED
{serviceType}StringSYSOPS
LEGACY
DEVOPS
{geo}StringUSA: United States
UK: United Kingdom
AUS: Australia
APAC: Asia-Pacific
{currency}StringUSD: United States Dollar
GBP: British Pound Sterling
AUD: Australian Dollar
EUR: Euro
{unitOfMeasure}Stringper hour
per month
per year
per instance
per request
per compute cycle
per transaction
per GB
per GB/month
per instance/month
per check/hour
per CC
per 100 MB
per server/day
per instance/hour
per 100 MB/hour
per 10000 MB

This operation does not accept a request body.

Example request: header

The following example shows the header information.

X-Auth-Token: f064c46a782c444cb4ba4b6434288f7c
Content-Type: application/json
Accept: application/json

Response

The response has the following body parameters.

NameTypeDescription
productsArrayAn array of products.
products.productArrayAn info block that contains details about a specific product.
products.product.nameStringThe name of the product.
products.product.descriptionStringThe description of the product.
products.product.productOfferingPriceComplex typeProvides pricing information specific to a product in an offering through a nested structure.
products.product.productOfferingPrice.descriptionStringA description of the product offering price.
products.product.productOfferingPrice.priceDetailsComplex typeA collection that provides details about pricing for the product.
products.product.productOfferingPrice.priceDetails.priceCharacteristicArrayAn array of JSON strings that contains a collection of characteristics that provide additional information about the price. Format is Characteristic key : Characteristic value. This element is used to accommodate business-defined pricing drivers such as serviceLevel (INFRASTRUCTURE or MANAGED), serviceType (SYSOPS, DEVOPS, or LEGACY), chargeType (INFRASTRUCTURE or SUPPORT), and other pricing qualifiers. These pricing qualifiers are present where applicable. For more information, see the “Service plan details” table on this page.
products.product.productOfferingPrice.priceDetails.pricesArrayAn info block that contains information about prices for the product.
products.product.productOfferingPrice.priceDetails.prices.unitOfMeasureStringper hour
per month
per year
per instance
per request
per compute cycle
per transaction
per GB
per GB/month
per instance/month
per check/hour
per CC
per 100 MB
per server/day
per instance/hour
per 100 MB/hour
per 10000 MB
products.product.productOfferingPrice.priceDetails.prices.priceComplex typeAn info block that contains information about a price for the product.
products.product.productOfferingPrice.priceDetails.prices.price.currencyStringUSD: United States Dollar
GBP: British Pound Sterling
AUD: Australian Dollar
EUR: Euro
products.product.productOfferingPrice.priceDetails.prices.price.amountStringThe price of the product.
products.product.productOfferingPrice.priceDetails.prices.price.geoStringUSA: United States
UK: United Kingdom
AUS: Australia
APAC: Asia-Pacific
products.product.productOfferingPrice.priceTypeStringusage: Utility pricing.
item: One-time pricing.
subscription: Recurring pricing.
products.product.productCharacteristicStringAn array of key-value pairs that contains info on the operating system and flavor that are associated with the product. This information is primarily used to configure information from external applications that drive product and pricing. Example: "name": "flavor_id", "value":"performance2-30".
products.product.linkObjectAn info block that contains details about the link for the product.
products.product.link.relStringThe relationship between the current document and the linked document.
products.product.link.hrefStringThe URL for the product.
products.product.idStringThe universally unique identifier (UUID) for the product.
products.product.statusStringACTIVE: Default
INACTIVE: When an offering becomes INACTIVE, all of the products that belong to that offering also become INACTIVE.
products.product.productCodeStringA business identifier for the product. This identifier remains consistent when a new version of the product is introduced. It is unique across all of the products within an offering.
products.product.salesChannelStringPUBLIC: The product or plan is available to the public. In addition, if the value is blank, it is publicly available.
PRIVATE: The product or plan is not available to the public.
products.linkObjectAn info block that contains details about the link for the results.
products.relStringThe relationship between the current document and the linked document.
products.hrefStringThe URL for a set of results.

Service plan details

The following table shows the service level and service type that is associated with each Rackspace service plan.

Service planService levelService type
InfrastructureInfrastructureLegacy
Managed CloudManagedLegacy
Managed InfrastructureInfrastructureSysOps
Managed OperationsManagedSysOps
DevOpsManagedDevOps

Example response

The following example shows the response for a request to retrieve the Cloud Databases products for an offering. To view responses relating to other types of products, see the Responses by product section of this guide.

Status Code: 200 OK
 Content-Length: 4543
 Content-Type: application/json
 Date: Wed, 03 Dec 2014 17:13:30 GMT
 Server: Jetty(8.0.y.z-SNAPSHOT)
 Via: 1.1 Repose (Repose/2.12)
 x-compute-request-id: req-7b7ffed2-9b1f-46a8-a478-315518d35387


 {
    "products": {
        "product": [
            {
                "name": "Uptime - Hamysql - 98304 MB",
                "description": "Uptime - Hamysql - 98304 MB",
                "productOfferingPrice": {
                    "description": "Uptime - Hamysql - 98304 MB Price",
                    "priceDetails": [
                        {
                            "priceCharacteristic": [
                                {
                                    "name": "chargeType",
                                    "value": "INFRASTRUCTURE"
                                },
                                {
                                    "name": "serviceLevel",
                                    "value": "INFRASTRUCTURE"
                                },
                                {
                                    "name": "serviceType",
                                    "value": "LEGACY"
                                }
                            ],
                            "prices": [
                                {
                                    "unitOfMeasure": "per Hour",
                                    "price": [
                                        {
                                            "currency": "GBP",
                                            "amount": "4.4",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "USD",
                                            "amount": "5.75",
                                            "geo": "USA"
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "priceCharacteristic": [
                                {
                                    "name": "chargeType",
                                    "value": "INFRASTRUCTURE"
                                },
                                {
                                    "name": "serviceLevel",
                                    "value": "INFRASTRUCTURE"
                                },
                                {
                                    "name": "serviceType",
                                    "value": "SYSOPS"
                                }
                            ],
                            "prices": [
                                {
                                    "unitOfMeasure": "per Hour",
                                    "price": [
                                        {
                                            "currency": "AUD",
                                            "amount": "8.964955",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "EUR",
                                            "amount": "6.078239",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "GBP",
                                            "amount": "4.4",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "USD",
                                            "amount": "7.171964",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "AUD",
                                            "amount": "7.1875",
                                            "geo": "USA"
                                        },
                                        {
                                            "currency": "EUR",
                                            "amount": "4.873125",
                                            "geo": "USA"
                                        },
                                        {
                                            "currency": "GBP",
                                            "amount": "3.527625",
                                            "geo": "USA"
                                        },
                                        {
                                            "currency": "USD",
                                            "amount": "5.75",
                                            "geo": "USA"
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "priceCharacteristic": [
                                {
                                    "name": "chargeType",
                                    "value": "INFRASTRUCTURE"
                                },
                                {
                                    "name": "serviceLevel",
                                    "value": "MANAGED"
                                },
                                {
                                    "name": "serviceType",
                                    "value": "DEVOPS"
                                }
                            ],
                            "prices": [
                                {
                                    "unitOfMeasure": "per Hour",
                                    "price": [
                                        {
                                            "currency": "AUD",
                                            "amount": "8.964955",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "EUR",
                                            "amount": "6.078239",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "GBP",
                                            "amount": "4.4",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "USD",
                                            "amount": "7.171964",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "AUD",
                                            "amount": "7.1875",
                                            "geo": "USA"
                                        },
                                        {
                                            "currency": "EUR",
                                            "amount": "4.873125",
                                            "geo": "USA"
                                        },
                                        {
                                            "currency": "GBP",
                                            "amount": "3.527625",
                                            "geo": "USA"
                                        },
                                        {
                                            "currency": "USD",
                                            "amount": "5.75",
                                            "geo": "USA"
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "priceCharacteristic": [
                                {
                                    "name": "chargeType",
                                    "value": "INFRASTRUCTURE"
                                },
                                {
                                    "name": "serviceLevel",
                                    "value": "MANAGED"
                                },
                                {
                                    "name": "serviceType",
                                    "value": "LEGACY"
                                }
                            ],
                            "prices": [
                                {
                                    "unitOfMeasure": "per Hour",
                                    "price": [
                                        {
                                            "currency": "GBP",
                                            "amount": "4.4",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "USD",
                                            "amount": "5.75",
                                            "geo": "USA"
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "priceCharacteristic": [
                                {
                                    "name": "chargeType",
                                    "value": "INFRASTRUCTURE"
                                },
                                {
                                    "name": "serviceLevel",
                                    "value": "MANAGED"
                                },
                                {
                                    "name": "serviceType",
                                    "value": "SYSOPS"
                                }
                            ],
                            "prices": [
                                {
                                    "unitOfMeasure": "per Hour",
                                    "price": [
                                        {
                                            "currency": "AUD",
                                            "amount": "8.964955",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "EUR",
                                            "amount": "6.078239",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "GBP",
                                            "amount": "4.4",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "USD",
                                            "amount": "7.171964",
                                            "geo": "UK"
                                        },
                                        {
                                            "currency": "AUD",
                                            "amount": "7.1875",
                                            "geo": "USA"
                                        },
                                        {
                                            "currency": "EUR",
                                            "amount": "4.873125",
                                            "geo": "USA"
                                        },
                                        {
                                            "currency": "GBP",
                                            "amount": "3.527625",
                                            "geo": "USA"
                                        },
                                        {
                                            "currency": "USD",
                                            "amount": "5.75",
                                            "geo": "USA"
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "priceType": "Usage"
                },
                "productCharacteristic": [
                    {
                        "name": "db_type",
                        "value": "hamysql"
                    },
                    {
                        "name": "product_category",
                        "value": "UPTIME"
                    },
                    {
                        "name": "ram_in_mb",
                        "value": "98304 MB"
                    }
                ],
                "link": {
                    "rel": "SELF",
                    "href": "https://staging.offer.api.rackspacecloud.com/v2/offerings/fd2c2294-0498-3791-9df7-1d4ed883a939/products/0a1239ca-19ae-39e7-a7a3-887dfcc8ea85"
                },
                "id": "0a1239ca-19ae-39e7-a7a3-887dfcc8ea85",
                "status": "ACTIVE",
                "productCode": "UPTIME_hamysql_98304MB",
                "salesChannel": "PUBLIC"
            }
        ],
        "link": [
            {
                "rel": "NEXT",
                "href": "https://staging.offer.api.rackspacecloud.com/v2/offerings/fd2c2294-0498-3791-9df7-1d4ed883a939/products?marker=1&limit=1"
            }
        ]
    }
}

Response codes

This operation can have the following response codes.

CodeNameDescription
200SuccessThe request succeeded.
400ErrorA general error has occurred.
404Not FoundThe requested resource is not found.
405Method Not AllowedThe method received in the request line is known by the origin server but is not supported by the target resource.
406Not AcceptableThe value in the Accept header is not supported.
500API FaultThe server encountered an unexpected condition that prevented it from fulfilling the request.