status
= 3 WHERE id in (select a.id from(SELECT t.id from app_user_target t LEFT JOIN app_user_target_device d ON t.id = d.user_target_id WHERE t.meb_id = "1722911974266699777" AND t.status
= 0 and d.device_id = "c6:6c:11:38:88:f5") as a){
"targetId": 3,
"day": 28,
"createTimestamp": 1687251721,
"deviceId":"d9:37:0e:38:eb:f6",
"startTimestamp":1687251721
}
curl --location --request POST 'https://test.myusmile.online/user/target/saveUserTarget' \
--header 'TOK: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"targetId": 3,
"day": 28,
"createTimestamp": 1687251721,
"deviceId":"d9:37:0e:38:eb:f6",
"startTimestamp":1687251721
}'
{
"flag": true,
"code": 0,
"message": "string",
"data": null,
"desc": "string"
}