ProductSpecifications-productSpecificationId-serviceSpecifications:GET

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
m (1 revision)
m (1 revision: Release 85)
 
(2 intermediate revisions by one user not shown)
Line 62: Line 62:
 
* [[Common Features]]
 
* [[Common Features]]
  
 +
{{disqus}}
 
[[Category:Hostway API]]
 
[[Category:Hostway API]]
 
[[Category:Product Catalog API]]
 
[[Category:Product Catalog API]]

Latest revision as of 16:57, 27 September 2013

[edit] GET /productSpecifications/{productSpecificationId}/serviceSpecifications

Retrieves service specifications list for a given product specification.

Contents


[edit] Request

GET /productSpecifications/{productSpecificationId}/serviceSpecifications

[edit] Response

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

[edit] Status Code

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

[edit] 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"}
  ]
}
 

[edit] 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

[edit] See also


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox