ServiceSpecifications-serviceSpecificationId:GET
From Hostway API Documentation
(Difference between revisions)
Mike.robski (Talk | contribs) |
Mike.robski (Talk | contribs) m (1 revision: Release 85) |
||
(3 intermediate revisions by one user not shown) | |||
Line 68: | Line 68: | ||
* [[Common Features]] | * [[Common Features]] | ||
+ | {{disqus}} | ||
[[Category:Hostway API]] | [[Category:Hostway API]] | ||
[[Category:Product Catalog API]] | [[Category:Product Catalog API]] |
Latest revision as of 15:57, 27 September 2013
GET /serviceSpecifications/{serviceSpecificationId}
Retrieves service specification details.
Contents |
Request
GET /serviceSpecifications/{serviceSpecificationId}
Response
Returns a dictionary containing product specification details for a particular service specification.
Status Code
- 200 OK
- Success
- 404 Not Found
- Returned if the service specification Id could not be found.
Response Body
{ "name": ".com Domain", "category": "Domain Registration", "ranking": 12, "attributes": "https://api.hostway.com/servicespecifications/core.dnr.com/attributes", "billingCycles": [ { "default": 0, "billingCycle": 1 }, { "default": 0, "billingCycle": 12 } ], "links": [ {"href": "https://api.hostway.com/servicespecifications/core.dnr.com/", "rel": "self"} ] }
Parameters
- name - string
- The name of the service
- category - string
- Service category
- ranking - integer
- Service ranking value
- attributes - string
- A link to a resource containing the service's attributes
- billingCycles - list
- Contains a list of dictionaries, specifying the available billing cycles for the given service
- default - integer
- Whether the cycle is considered default. Allowed values are 0 and 1
- billingCycle - integer
- The specific billing cycle in months
- 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