Return sensor_ids on device POST and update measurements API