ProductSpecifications:GET

(Difference between revisions)
Jump to: navigation, search

Revision as of 16:52, 15 February 2013

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


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox