POST api/course-notification/AddCourseNotification
Request Information
URI Parameters
None.
Body Parameters
CourseNotificationsModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Title | string |
None. |
|
Contents | string |
None. |
|
CourseID | integer |
None. |
|
Stop | boolean |
None. |
|
CreatedByUser | string |
None. |
|
CreateDate | date |
None. |
|
UpdateDate | date |
None. |
|
UpdateByUser | string |
None. |
|
BeginDate | date |
None. |
|
EndDate | date |
None. |
|
FileAttach | string |
None. |
|
Link | string |
None. |
|
nameDownloadFile | string |
None. |
|
nameDownload | string |
None. |
|
ChecksumParam | ChecksumParamModel |
None. |
|
Display | boolean |
None. |
|
Type | integer |
None. |
|
MaLHP | string |
None. |
|
MaMH | string |
None. |
|
TenMH | string |
None. |
|
IsUserCreater | boolean |
None. |
|
Subjectcode | string |
None. |
|
SubjectcodeChecksum | string |
None. |
|
SubjectcodeCourseID | integer |
None. |
|
dsCourse | Collection of integer |
None. |
|
dsCourseCode | string |
None. |
|
MaHocPhanKhoa | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "title": "sample string 2", "contents": "sample string 3", "courseID": 4, "stop": true, "createdByUser": "sample string 6", "createDate": "2024-12-26T18:43:13.8203606+07:00", "updateDate": "2024-12-26T18:43:13.8203606+07:00", "updateByUser": "sample string 8", "beginDate": "2024-12-26T18:43:13.8203606+07:00", "endDate": "2024-12-26T18:43:13.8203606+07:00", "fileAttach": "sample string 9", "link": "sample string 10", "nameDownloadFile": "sample string 11", "nameDownload": "sample string 12", "checksumParam": { "checksumEdit": "sample string 1", "checksumDelete": "sample string 2", "checksumRequest": "sample string 3", "checksumRequest2": "sample string 4" }, "display": true, "type": 14, "maLHP": "sample string 15", "maMH": "sample string 16", "tenMH": "sample string 17", "isUserCreater": true, "subjectcode": "sample string 19", "subjectcodeChecksum": "sample string 20", "subjectcodeCourseID": 21, "dsCourse": [ 1, 2 ], "dsCourseCode": "sample string 22", "maHocPhanKhoa": "sample string 23" }
text/html
Sample:
{"id":1,"title":"sample string 2","contents":"sample string 3","courseID":4,"stop":true,"createdByUser":"sample string 6","createDate":"2024-12-26T18:43:13.8203606+07:00","updateDate":"2024-12-26T18:43:13.8203606+07:00","updateByUser":"sample string 8","beginDate":"2024-12-26T18:43:13.8203606+07:00","endDate":"2024-12-26T18:43:13.8203606+07:00","fileAttach":"sample string 9","link":"sample string 10","nameDownloadFile":"sample string 11","nameDownload":"sample string 12","checksumParam":{"checksumEdit":"sample string 1","checksumDelete":"sample string 2","checksumRequest":"sample string 3","checksumRequest2":"sample string 4"},"display":true,"type":14,"maLHP":"sample string 15","maMH":"sample string 16","tenMH":"sample string 17","isUserCreater":true,"subjectcode":"sample string 19","subjectcodeChecksum":"sample string 20","subjectcodeCourseID":21,"dsCourse":[1,2],"dsCourseCode":"sample string 22","maHocPhanKhoa":"sample string 23"}
application/xml, text/xml
Sample:
<CourseNotificationsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Model.ViewModel"> <BeginDate>2024-12-26T18:43:13.8203606+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> <Contents>sample string 3</Contents> <CourseID>4</CourseID> <CreateDate>2024-12-26T18:43:13.8203606+07:00</CreateDate> <CreatedByUser>sample string 6</CreatedByUser> <Display>true</Display> <EndDate>2024-12-26T18:43:13.8203606+07:00</EndDate> <FileAttach>sample string 9</FileAttach> <ID>1</ID> <IsUserCreater>true</IsUserCreater> <Link>sample string 10</Link> <MaHocPhanKhoa>sample string 23</MaHocPhanKhoa> <MaLHP>sample string 15</MaLHP> <MaMH>sample string 16</MaMH> <Stop>true</Stop> <Subjectcode>sample string 19</Subjectcode> <SubjectcodeChecksum>sample string 20</SubjectcodeChecksum> <SubjectcodeCourseID>21</SubjectcodeCourseID> <TenMH>sample string 17</TenMH> <Title>sample string 2</Title> <Type>14</Type> <UpdateByUser>sample string 8</UpdateByUser> <UpdateDate>2024-12-26T18:43:13.8203606+07:00</UpdateDate> <dsCourse xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </dsCourse> <dsCourseCode>sample string 22</dsCourseCode> <nameDownload>sample string 12</nameDownload> <nameDownloadFile>sample string 11</nameDownloadFile> </CourseNotificationsModel>
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. |