(Quick Reference) Service: Show an item translation

Description: Returns the requested item translation in json format when successful. Returns a json response, describing the failure condition when unsuccessful.

URL:

https://BASE_URL/api/VERSION/itemTranslations/{id}

Method: GET

Parameters:

NameDescriptionTypeRequiredExample values
idThe numerical ID of the desired translationLongyes123

Success Output

Success case: response.status=200

{
  "id": 519,
  "itemReference": "bracelet-GRP09062",
  "item": {
    "id": 1,
    "reference": "bracelet-GRP09062",
    "href": "/valomniav2/api/v2.1/items/1"
  },
  "name": "Knot Band Bracelet",
  "description": "",
  "language": {
    "id": 3,
    "code": "en"
  },
  "organization": "entity1",
  "dateCreated": "2015-12-16T16:38:44Z",
  "lastUpdated": "2015-12-16T16:38:44Z"
}

Failure Output

Failure case:response.status = 400

{
  "error": "invalid_param_type",
  "error_description": "The type of parameter id you provided is not valid for this request."
}

Failure case:response.status = 404

{
  "error": "not_found",
  "error_description": "The item translation with the id 7065 doesn't exist."
}