ProductSpecifications:GET
From Hostway API Documentation
Revision as of 15:57, 27 September 2013 by Mike.robski (Talk | contribs)
GET /productSpecifications
Get product specifications.
Contents |
Request
GET /productSpecifications
Response
Returns a dictionary containing list of product specifications with product names and link to corresponding product details
Status Code
- 200 OK
- The request was successfully executed.
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"} ] }
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.
See also