(Quick Reference) Service: Show an attribute value

Description: This web service return an existing attribute value of the specified id in JSON format



Method: GET


NameDescriptionTypeRequiredExample values
idThe numerical ID of the desired attribute valueLongYes777

Success Output

Success case: response.status=200
  "id": 1,
  "attribute": {
    "id": 1,
    "reference": "color",
    "name": "couleur",
    "href": "/api/v1.0/attributes/1"
  "value": "vert",
  "color": "#03b69c",
  "displayOrder": 51,
  "organization": "entity1",
  "dateCreated": "2016-01-18T15:40:13Z",
  "lastUpdated": "2016-01-26T11:25:11Z"

Failure Output

Failure case:response.status = 404
  "error": "not_found",
  "error_description": "The attribute value with the id 199 doesn't exist."

Failure case:response.status = 400
    "error": "invalid_param_type",
    "error_description": "The type of parameter id you provided is not valid for this request."