POST api/lesson/AddUpdateGroup
Api tránh lỗi checksum khi add bài giảng bt bài thực hành cho nhiều group
Request Information
URI Parameters
None.
Body Parameters
LessonModelName | Description | Type | Additional information |
---|---|---|---|
LineID | integer |
None. |
|
CourseID | integer |
None. |
|
Text | string |
None. |
|
FileAttach | string |
None. |
|
Stop | boolean |
None. |
|
CreateDate | date |
None. |
|
CreateByUser | string |
None. |
|
UpdateDate | date |
None. |
|
UpdateByUser | string |
None. |
|
GradeID | string |
None. |
|
Title | string |
None. |
|
Type | integer |
None. |
|
Link | string |
None. |
|
BeginDate | date |
None. |
|
IdfileAttach | integer |
None. |
|
IdLink | integer |
None. |
|
ChecksumParam | ChecksumParamModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "lineID": 1, "courseID": 2, "text": "sample string 3", "fileAttach": "sample string 4", "stop": true, "createDate": "2024-12-04T13:00:32.5405437+07:00", "createByUser": "sample string 7", "updateDate": "2024-12-04T13:00:32.5405437+07:00", "updateByUser": "sample string 9", "gradeID": "sample string 10", "title": "sample string 11", "type": 12, "link": "sample string 13", "beginDate": "2024-12-04T13:00:32.5405437+07:00", "idfileAttach": 15, "idLink": 16, "checksumParam": { "checksumEdit": "sample string 1", "checksumDelete": "sample string 2", "checksumRequest": "sample string 3", "checksumRequest2": "sample string 4" } }
text/html
Sample:
{"lineID":1,"courseID":2,"text":"sample string 3","fileAttach":"sample string 4","stop":true,"createDate":"2024-12-04T13:00:32.5405437+07:00","createByUser":"sample string 7","updateDate":"2024-12-04T13:00:32.5405437+07:00","updateByUser":"sample string 9","gradeID":"sample string 10","title":"sample string 11","type":12,"link":"sample string 13","beginDate":"2024-12-04T13:00:32.5405437+07:00","idfileAttach":15,"idLink":16,"checksumParam":{"checksumEdit":"sample string 1","checksumDelete":"sample string 2","checksumRequest":"sample string 3","checksumRequest2":"sample string 4"}}
application/xml, text/xml
Sample:
<LessonModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Model.ViewModel"> <BeginDate>2024-12-04T13:00:32.5405437+07:00</BeginDate> <ChecksumParam> <ChecksumDelete>sample string 2</ChecksumDelete> <ChecksumEdit>sample string 1</ChecksumEdit> <ChecksumRequest>sample string 3</ChecksumRequest> <ChecksumRequest2>sample string 4</ChecksumRequest2> </ChecksumParam> <CourseID>2</CourseID> <CreateByUser>sample string 7</CreateByUser> <CreateDate>2024-12-04T13:00:32.5405437+07:00</CreateDate> <FileAttach>sample string 4</FileAttach> <GradeID>sample string 10</GradeID> <IdLink>16</IdLink> <IdfileAttach>15</IdfileAttach> <LineID>1</LineID> <Link>sample string 13</Link> <Stop>true</Stop> <Text>sample string 3</Text> <Title>sample string 11</Title> <Type>12</Type> <UpdateByUser>sample string 9</UpdateByUser> <UpdateDate>2024-12-04T13:00:32.5405437+07:00</UpdateDate> </LessonModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |