push_workout_to_device
Sends a workout to a device. Defaults to the newest workout and the most recently used device. Multi-call: resolves a missing deviceId via /device-service/deviceservice/mylastused's userDeviceId, a missing workoutId via getWorkouts(0,1)'s first result (throws if none), then reads getWorkoutById(workoutId).workoutName for the push message on the final POST.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Numeric id | |
| workoutId | No | Numeric id |