Loading...
 

Get Pricing Profile Details


HTTP VerbGET
URI Template/pricingprofile /{ppID}/virtual
MIME Typeapplication/vnd.pncp.v.1.0+json onwards
Normal HTTP Response Code200 OK
Can be invoked byResellers can invoke this for pricing profiles created by their own account as well as any other account they own. End-clients cannot place this request.
Response ModeSynchronous.

Sample Request

GET /pncp-external-api-rest/pricingprofile/44/virtual HTTP/1.1
Accept: application/vnd.pncp.v.5.0+json
Authorization: PNCP dRMEintBR/z0CfDb5PZfp4iSDhxSFuufJAt3h6z3DmA=
Content-Length: 0
User-Agent: Jakarta Commons-HttpClient/3.1
Host: YOUR_API_URL

Sample Response

Note: The JSON body of the example response has been trimmed to improve readability.

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: application/vnd.pncp.v.5.0+json
Transfer-Encoding: chunked
Date: Fri, 03 Feb 2012 10:13:48 GMT

{

   "pricingProfileName":"TestPP440013bf",
   "isDefaultForEndclients":false,
   "isDefaultForResellers":false,
   "owningAccountResource":{
      "resourceURL":"/account/4138"
   },
   "nodePricingDetails":[
      {
         "nodeResource":{
            "resourceURL":"/node/1"
         },
         "pricePoints":[
            {
               "description":"1 VM on, 4 vCPU, 12 RAM [GIGABYTE PER HOUR]",
               "pricePointResource":{
                  "resourceURL":"/pricepoint/0x1x2x4x3x12"
               },
               "price":2.4
            },
            {
               "description":"1 VM on, 1 vCPU, 3 RAM [GIGABYTE PER HOUR]",
               "pricePointResource":{
                  "resourceURL":"/pricepoint/0x1x2x1x3x3"
               },
               "price":1.4
            },
            {
               "description":"1 VM on, 8 vCPU, 64 RAM [GIGABYTE PER HOUR]",
               "pricePointResource":{
                  "resourceURL":"/pricepoint/0x1x2x8x3x64"
               },
               "price":8.8
            },

		…

            {
               "description":"1 VM on, 1 vCPU, 8 RAM [GIGABYTE PER HOUR]",
               "pricePointResource":{
                  "resourceURL":"/pricepoint/0x1x2x1x3x8"
               },
               "price":1.9
            },
            {
               "description":"1 VM on, 2 vCPU, 20 RAM [GIGABYTE PER HOUR]",
               "pricePointResource":{
                  "resourceURL":"/pricepoint/0x1x2x2x3x20"
               },
               "price":3.3
            },
            {
               "description":"1 VM on, 1 SATA storage [GIGABYTE PER HOUR]",
               "pricePointResource":{
                  "resourceURL":"/pricepoint/0x1x20x1"
               },
               "price":8.0
            }
         ]
      }
   ]
}