POST course/record
Request Information
URI Parameters
None.
Body Parameters
SaveLearningRecordRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| courseId | integer |
None. |
|
| records | Collection of LearningDetail |
Required |
|
| time | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"courseId": 1,
"records": [
{
"id": 1,
"count": 2,
"time": 3
},
{
"id": 1,
"count": 2,
"time": 3
}
],
"time": 2
}
application/xml, text/xml
Sample:
<SaveLearningRecordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iting.api.Models">
<courseId>1</courseId>
<records>
<LearningDetail>
<count>2</count>
<id>1</id>
<time>3</time>
</LearningDetail>
<LearningDetail>
<count>2</count>
<id>1</id>
<time>3</time>
</LearningDetail>
</records>
<time>2</time>
</SaveLearningRecordRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseEntityOfSaveLearningRecordResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| data | SaveLearningRecordResponse |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.