Orders-orderId-attributes:GET
(Difference between revisions)
(Created page with "= GET /orders/''{orderId}''/attributes = Get the list of attributes for an order. __TOC__ == Request == <code>GET /orders/''{orderId}''/attributes</code> ==== Request Parame...") |
Mike.robski (Talk | contribs) m (1 revision: Release 90) |
Revision as of 12:01, 31 January 2014
GET /orders/{orderId}/attributes
Get the list of attributes for an order.
Contents |
Request
GET /orders/{orderId}/attributes
Request Parameters
- orderId - string
- The unique order Id. The URI of the order is returned by the POST /orders call.
URI Parameters
None.
Request Headers
- Cookie
- A cookie named OwnerId to identify the client (for most browser clients, the browser will do this automatically, depending on the browser configuration). The value of the cookie would come from the response to the create order request in the Set-Cookie response header.
Response
Status Code
- 200 OK
- The operation was successfully completed.
- 404 Not Found
- The order does not exist.
Response Body
{ "list": [ { "name": "{attributeName}", "value": "{attributeValue}" }, ... ], "links": [ {"href": "https://api.hostway.com/orders/{orderId}/attributes/", "rel": "self"} ] }
Parameters
- attributeName - string
- The unique name of the attribute.
- attributeValue - string
- The value of the attribute.
- links - list
- Hypermedia for this resource.
See also