Module Values.GetDevicePositionRequestSource

Retrieves a device's most recent position according to its sample time. Device positions are deleted after 30 days.

Sourcetype nonrec t = {
  1. trackerName : ResourceName.t;
    (*

    The tracker resource receiving the position update.

    *)
  2. deviceId : Id.t;
    (*

    The device whose position you want to retrieve.

    *)
}
Sourceval context_ : string
Sourceval make : trackerName:ResourceName.t -> deviceId:Id.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ResourceName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t