{
"templateName": "string",
"introduce": "string",
"planWeeks": "string",
"contents": [
{
"id": 922337203685477600,
"planType": 0,
"timeLimit": 0,
"trainingType": 0,
"groupId": 922337203685477600,
"groupUserId": 922337203685477600,
"subjectId": 922337203685477600,
"subjectName": "string",
"targetType": 0,
"target": 0,
"sort": 0,
"gmtCreate": "2019-08-24T14:15:22Z",
"gmtModified": "2019-08-24T14:15:22Z"
}
],
"gmtCreate": "2019-08-24T14:15:22Z"
}
curl --location --request POST 'http://192.168.20.159:8080/ykd-base-system/trainingtemplate/save' \
--header 'Authorization: Bearer ' \
--header 'Clientid: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"templateName": "string",
"introduce": "string",
"planWeeks": "string",
"contents": [
{
"id": 922337203685477600,
"planType": 0,
"timeLimit": 0,
"trainingType": 0,
"groupId": 922337203685477600,
"groupUserId": 922337203685477600,
"subjectId": 922337203685477600,
"subjectName": "string",
"targetType": 0,
"target": 0,
"sort": 0,
"gmtCreate": "2019-08-24T14:15:22Z",
"gmtModified": "2019-08-24T14:15:22Z"
}
],
"gmtCreate": "2019-08-24T14:15:22Z"
}'
{
"code": 0,
"msg": "string",
"data": 922337203685477600,
"success": true
}