// Persist the item
Item persistentItem = itemReadService.saveOrUpdate(item);
// Provide a representation to the client
Representation representation = new AdminItemRepresentation().get(persistentItem);
URI location = uriInfo.getAbsolutePathBuilder().path(persistentItem.getId().toString()).build();
return created(representation, location);
}