Interface AssetPredictedDatapointResource


@Path("asset/predicted") public interface AssetPredictedDatapointResource
  • Method Details

    • getPredictedDatapoints

      @POST @Path("{assetId}/{attributeName}") @Consumes("application/json") @Produces("application/json") ValueDatapoint<?>[] getPredictedDatapoints(@BeanParam RequestParams requestParams, @PathParam("assetId") String assetId, @PathParam("attributeName") String attributeName, AssetDatapointQuery query)
      Retrieve the predicted datapoints of an asset attribute. Regular users can only access assets in their authenticated realm, the superuser can access assets in other (all) realms. A 403 status is returned if a regular user tries to access an asset in a realm different than its authenticated realm, or if the user is restricted and the asset is not linked to the user. A 400 status is returned if the asset attribute does not have datapoint storage enabled.
    • writePredictedDatapoints

      @PUT @Path("{assetId}/{attributeName}") @Consumes("application/json") void writePredictedDatapoints(@BeanParam RequestParams requestParams, @PathParam("assetId") String assetId, @PathParam("attributeName") String attributeName, ValueDatapoint<?>[] predictedDatapoints)