(Quick Reference) Service: Show

Description: This web service return an existing item group details of the specified id in JSON format

URL:

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

URL with external_id:

https://BASE_URL/api/VERSION/itemGroups/reference/{id}

Method: GET

Parameters:

NameDescriptionTypeRequiredExample values
idid of the wanted item groupLong/StringYes777

Success Output

Success case: response.status=200
{
    "id": 21,
    "reference": "RG-1",
    "name": "ItemGroup1",
    "description": null,
    "organization": "Lyon",
    "dateCreated": "2016-08-18T10:24:27Z",
    "lastUpdated": "2016-08-18T10:24:27Z"
}

Failure Output

Failure case:response.status = 404
{
    "error": "not_found",
    "error_description": "The item group with the id 3 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."
}