ProductSpecifications:GET
From Hostway API Documentation
(Difference between revisions)
Mike.robski (Talk | contribs) |
Mike.robski (Talk | contribs) m (1 revision: Release 85) |
Latest revision as of 15:57, 27 September 2013
[edit] GET /productSpecifications
Get product specifications.
Contents |
[edit] Request
GET /productSpecifications
[edit] Response
Returns a dictionary containing list of product specifications with product names and link to corresponding product details
[edit] Status Code
- 200 OK
- The request was successfully executed.
[edit] Response Body
{ "list": [ { "name": "{productName}", "id": "{productSpecificationId}", "details": "https://api.hostway.com/productspecifications/{productSpecificationId}" }, { "name": "{productName}", "id": "{productSpecificationId}", "details": "https://api.hostway.com/productspecifications/{productSpecificationId}" } ], "links": [ {"href": "https://api.hostway.com/productspecifications/", "rel": "self"} ] }
[edit] Parameters
- list - list
- List of product specifications with product names and link to corresponding product details. Each element of the list has the following attributes:
- name - string
- The name of the product.
- id - string
- The unique Id of the product.
- details - string
- Hyperlink to the product'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