POST api/UserCoursFinished
“Save”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | “model”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Id": "b098be53-3917-48da-9a98-92ac43bb9bab",
"UserinforId": "f81d26c3-9d38-40d3-9c8a-8dd81daa0a06",
"UserinforName": "sample string 3",
"IssueNumberId": "0171ce94-6810-422d-83a1-b674b77f879d",
"IssueNumberName": "sample string 5",
"CourseId": "2605c817-1058-472a-aaae-c3fad98b47ad",
"GradeId": "08de5e37-43d5-4a32-85a6-e3141ea1936b",
"CourseName": "sample string 6",
"CourseCode": "sample string 7",
"CourseNote": "sample string 8",
"TrainingCategory": "sample string 9",
"SecondeCategory": "sample string 10",
"ParentId": "5e0574a7-512c-49bc-9db7-76d2864eeb3f",
"Level": 1,
"CreateTime": "2026-08-04T11:57:11.1806303+08:00",
"CreateTimeStr": "2026/8/4 11:57",
"IsFreeze": true,
"State": 12,
"StateStr": "",
"CompletionRatio": 13.0,
"SubjectTotal": 14,
"PracticeProblems": "sample string 15",
"ErrorTotal": 16,
"RecentTestAccuracy": 17.0,
"Suggestion": "sample string 18",
"Sequence": 19,
"OperatorId": "034227ee-8f24-4a9a-b82a-10875d1558a0",
"FinishTime": "2026-08-04T11:57:11.1806303+08:00",
"PracticeTotal": 20,
"RecentAccuracy": 21.0,
"ChapterPracticeTotal": 22,
"Items": [
{
"Id": "35c425bc-fd4c-40c3-aac3-3478a8010224",
"Name": "sample string 2",
"Note": "sample string 3",
"CourseId": "aed43a7f-8bee-400e-ac22-0c601fd73b66",
"CourseName": "sample string 4",
"CourseCode": "sample string 5",
"ClassHours": 1.0,
"TextbookType": "sample string 6",
"OperatorId": "d767e3e8-e4a8-4c34-8b58-2878e4362a88",
"CreateTime": "2026-08-04T11:57:11.1806303+08:00",
"CreateTimeStr": "2026/8/4 11:57",
"IsFreeze": true,
"ImgUrl": "sample string 8",
"MediaUrl": "sample string 9",
"FileType": "sample string 10"
},
{
"Id": "35c425bc-fd4c-40c3-aac3-3478a8010224",
"Name": "sample string 2",
"Note": "sample string 3",
"CourseId": "aed43a7f-8bee-400e-ac22-0c601fd73b66",
"CourseName": "sample string 4",
"CourseCode": "sample string 5",
"ClassHours": 1.0,
"TextbookType": "sample string 6",
"OperatorId": "d767e3e8-e4a8-4c34-8b58-2878e4362a88",
"CreateTime": "2026-08-04T11:57:11.1806303+08:00",
"CreateTimeStr": "2026/8/4 11:57",
"IsFreeze": true,
"ImgUrl": "sample string 8",
"MediaUrl": "sample string 9",
"FileType": "sample string 10"
},
{
"Id": "35c425bc-fd4c-40c3-aac3-3478a8010224",
"Name": "sample string 2",
"Note": "sample string 3",
"CourseId": "aed43a7f-8bee-400e-ac22-0c601fd73b66",
"CourseName": "sample string 4",
"CourseCode": "sample string 5",
"ClassHours": 1.0,
"TextbookType": "sample string 6",
"OperatorId": "d767e3e8-e4a8-4c34-8b58-2878e4362a88",
"CreateTime": "2026-08-04T11:57:11.1806303+08:00",
"CreateTimeStr": "2026/8/4 11:57",
"IsFreeze": true,
"ImgUrl": "sample string 8",
"MediaUrl": "sample string 9",
"FileType": "sample string 10"
}
]
}
application/xml, text/xml
Sample:
<UserCoursModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SCWC.DPTMP.Model">
<ChapterPracticeTotal>22</ChapterPracticeTotal>
<CompletionRatio>13</CompletionRatio>
<CourseCode>sample string 7</CourseCode>
<CourseId>2605c817-1058-472a-aaae-c3fad98b47ad</CourseId>
<CourseName>sample string 6</CourseName>
<CourseNote>sample string 8</CourseNote>
<CreateTime>2026-08-04T11:57:11.1806303+08:00</CreateTime>
<ErrorTotal>16</ErrorTotal>
<FinishTime>2026-08-04T11:57:11.1806303+08:00</FinishTime>
<GradeId>08de5e37-43d5-4a32-85a6-e3141ea1936b</GradeId>
<Id>b098be53-3917-48da-9a98-92ac43bb9bab</Id>
<IsFreeze>true</IsFreeze>
<IssueNumberId>0171ce94-6810-422d-83a1-b674b77f879d</IssueNumberId>
<IssueNumberName>sample string 5</IssueNumberName>
<Items>
<TeachingMaterialModel>
<ClassHours>1</ClassHours>
<CourseCode>sample string 5</CourseCode>
<CourseId>aed43a7f-8bee-400e-ac22-0c601fd73b66</CourseId>
<CourseName>sample string 4</CourseName>
<CreateTime>2026-08-04T11:57:11.1806303+08:00</CreateTime>
<FileType>sample string 10</FileType>
<Id>35c425bc-fd4c-40c3-aac3-3478a8010224</Id>
<ImgUrl>sample string 8</ImgUrl>
<IsFreeze>true</IsFreeze>
<MediaUrl>sample string 9</MediaUrl>
<Name>sample string 2</Name>
<Note>sample string 3</Note>
<OperatorId>d767e3e8-e4a8-4c34-8b58-2878e4362a88</OperatorId>
<TextbookType>sample string 6</TextbookType>
</TeachingMaterialModel>
<TeachingMaterialModel>
<ClassHours>1</ClassHours>
<CourseCode>sample string 5</CourseCode>
<CourseId>aed43a7f-8bee-400e-ac22-0c601fd73b66</CourseId>
<CourseName>sample string 4</CourseName>
<CreateTime>2026-08-04T11:57:11.1806303+08:00</CreateTime>
<FileType>sample string 10</FileType>
<Id>35c425bc-fd4c-40c3-aac3-3478a8010224</Id>
<ImgUrl>sample string 8</ImgUrl>
<IsFreeze>true</IsFreeze>
<MediaUrl>sample string 9</MediaUrl>
<Name>sample string 2</Name>
<Note>sample string 3</Note>
<OperatorId>d767e3e8-e4a8-4c34-8b58-2878e4362a88</OperatorId>
<TextbookType>sample string 6</TextbookType>
</TeachingMaterialModel>
<TeachingMaterialModel>
<ClassHours>1</ClassHours>
<CourseCode>sample string 5</CourseCode>
<CourseId>aed43a7f-8bee-400e-ac22-0c601fd73b66</CourseId>
<CourseName>sample string 4</CourseName>
<CreateTime>2026-08-04T11:57:11.1806303+08:00</CreateTime>
<FileType>sample string 10</FileType>
<Id>35c425bc-fd4c-40c3-aac3-3478a8010224</Id>
<ImgUrl>sample string 8</ImgUrl>
<IsFreeze>true</IsFreeze>
<MediaUrl>sample string 9</MediaUrl>
<Name>sample string 2</Name>
<Note>sample string 3</Note>
<OperatorId>d767e3e8-e4a8-4c34-8b58-2878e4362a88</OperatorId>
<TextbookType>sample string 6</TextbookType>
</TeachingMaterialModel>
</Items>
<Level>1</Level>
<OperatorId>034227ee-8f24-4a9a-b82a-10875d1558a0</OperatorId>
<ParentId>5e0574a7-512c-49bc-9db7-76d2864eeb3f</ParentId>
<PracticeProblems>sample string 15</PracticeProblems>
<PracticeTotal>20</PracticeTotal>
<RecentAccuracy>21</RecentAccuracy>
<RecentTestAccuracy>17</RecentTestAccuracy>
<SecondeCategory>sample string 10</SecondeCategory>
<Sequence>19</Sequence>
<State>12</State>
<SubjectTotal>14</SubjectTotal>
<Suggestion>sample string 18</Suggestion>
<TrainingCategory>sample string 9</TrainingCategory>
<UserinforId>f81d26c3-9d38-40d3-9c8a-8dd81daa0a06</UserinforId>
<UserinforName>sample string 3</UserinforName>
</UserCoursModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />