ProductSpecifications-productSpecificationId-serviceSpecifications:GET

(Difference between revisions)
Jump to: navigation, search

Revision as of 16:54, 15 February 2013

GET /productSpecifications/{productSpecificationId}/serviceSpecifications

Retrieves service specifications list for a given product specification.

Contents


Request

GET /productSpecifications/{productSpecificationId}/serviceSpecifications

Response

Returns a dictionary containing a list of service specifications with name, category, ranking and a link to corresponding service details.

Status Code

200 OK
Success
404 Not Found
Returned if the product specification could not be found.

Response Body

{
  "list": [
    {
      "name": ".com Domain",
      "category": "Domain Registration",
      "ranking": 1,
      "details": "https://api.hostway.com/serviceSpecifications/core.dnr.com"
    },
    {
      "name": "Linux Web Hosting 300GB",
      "category": "Core WebHosting",
      "ranking": 2,
      "details": "https://api.hostway.com/serviceSpecifications/core.webhosting.linux.300GB"
    }
  ],
  "links": [
    {"href": "https://api.hostway.com/productspecifications/{productSpecificationId}/serviceSpecifications", "rel": "self"}
  ]
}
 

Parameters

list - list
List of service specifications that are available with a few details and a link to corresponding service details. Each element of the list has the following attributes:
name - string
The name of service
category - string
The service category
ranking - integer
The service ranking related to other services in the same category
details - string
Hyperlink to the service's details
links - list
Hypermedia for this resource. Link to self will preserve filtering, sorting and pagination set by the request. Links to the first, last, previous and next pages will also be included if applicable

See also


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox