@GET
 @Path("own/{id}")
 @Consumes({MediaType.APPLICATION_JSON})
 @Produces({MediaType.APPLICATION_JSON})
 public String retriveOwnedHardwareSingleData(
     @PathParam("id") final Long id, @Context final UriInfo uriInfo) {
   this.context.authenticatedUser().validateHasReadPermission(resourceType);
   List<ItemData> itemCodes = ownedHardwareReadPlatformService.retriveTemplate();
   List<OwnedHardwareData> ownedHardwareDatas =
       ownedHardwareReadPlatformService.retriveSingleOwnedHardwareData(id);
   OwnedHardwareData ss = new OwnedHardwareData(itemCodes, ownedHardwareDatas);
   ss.setDate(DateUtils.getLocalDateOfTenantForClient());
   final ApiRequestJsonSerializationSettings settings =
       apiRequestParameterHelper.process(uriInfo.getQueryParameters());
   return this.apiJsonSerializer.serialize(settings, ss, SUPPORTED_RESPONSE_PARAMETERS);
 }
 @GET
 @Path("{clientId}")
 @Consumes({MediaType.APPLICATION_JSON})
 @Produces({MediaType.APPLICATION_JSON})
 public String retriveOwnedHardwareData(
     @PathParam("clientId") final Long clientId, @Context final UriInfo uriInfo) {
   this.context.authenticatedUser().validateHasReadPermission(resourceType);
   List<OwnedHardwareData> ownedHardwareDatas =
       ownedHardwareReadPlatformService.retriveOwnedHardwareData(clientId);
   final ApiRequestJsonSerializationSettings settings =
       apiRequestParameterHelper.process(uriInfo.getQueryParameters());
   return this.apiJsonSerializer.serialize(
       settings, ownedHardwareDatas, SUPPORTED_RESPONSE_PARAMETERS);
 }
 @GET
 @Path("template")
 @Consumes({MediaType.APPLICATION_JSON})
 @Produces({MediaType.APPLICATION_JSON})
 public String retriveOwnedHardwareTemplate(@Context final UriInfo uriInfo) {
   this.context.authenticatedUser().validateHasReadPermission(resourceType);
   List<ItemData> itemCodes = ownedHardwareReadPlatformService.retriveTemplate();
   ItemData itemCode = new ItemData(itemCodes);
   itemCode.setDate(DateUtils.getLocalDateOfTenantForClient());
   final ApiRequestJsonSerializationSettings settings =
       apiRequestParameterHelper.process(uriInfo.getQueryParameters());
   return this.apiJsonSerializerForItemCode.serialize(
       settings, itemCode, SUPPORTED_RESPONSE_PARAMETERS_ITEMCODE);
 }