public Response upsertProperty(@Context HttpHeaders headers, @PathParam("name") String name, PropertyApiBean pApiBean) { if ("".equals(name) || !name.equals(pApiBean.getName())) { String errMsg = "Invalid identifier expected " + name; return Response.status(Response.Status.BAD_REQUEST).entity(errMsg).build();