{
"subjectId": 922337203685477600,
"userId": 922337203685477600,
"result": 0,
"unit": "string",
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"trainingTime": 0,
"trainingType": 0,
"statisticalType": 0,
"statisticalTypes": "string",
"isFinished": 0,
"video": "string",
"calorie": 0,
"trainingTargetRecordsList": [
{
"recordsId": 922337203685477600,
"targetKey": "string",
"value": "string",
"photo": "string",
"comment": "string",
"status": 0,
"gmtCreate": "2019-08-24T14:15:22Z"
}
]
}
curl --location --request POST 'http://192.168.20.159:8080/ykd-base-system/trainingrecords/submit' \
--header 'Authorization: Bearer ' \
--header 'Clientid: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"subjectId": 922337203685477600,
"userId": 922337203685477600,
"result": 0,
"unit": "string",
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"trainingTime": 0,
"trainingType": 0,
"statisticalType": 0,
"statisticalTypes": "string",
"isFinished": 0,
"video": "string",
"calorie": 0,
"trainingTargetRecordsList": [
{
"recordsId": 922337203685477600,
"targetKey": "string",
"value": "string",
"photo": "string",
"comment": "string",
"status": 0,
"gmtCreate": "2019-08-24T14:15:22Z"
}
]
}'
{
"code": 0,
"msg": "string",
"data": 922337203685477600,
"success": true
}