POST api/DinhMucPTN/AddDinhMucPTN
Request Information
URI Parameters
None.
Body Parameters
DinhMucPTNName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Title | string |
None. |
|
CreateDate | date |
None. |
|
CreateByUser | string |
None. |
|
IsPublic | integer |
None. |
|
NumberStudent | integer |
None. |
|
CreateUpDate | date |
None. |
|
SubjectName | string |
None. |
|
SubjectCode | string |
None. |
|
ChecksumParam | ChecksumParamModel |
None. |
|
LstCTDinhMucPTN | Collection of CTDinhMucPTN |
None. |
|
SubjectID | string |
None. |
|
Semester | integer |
None. |
|
Year | string |
None. |
|
CourseID | integer |
None. |
|
IsDelete | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "title": "sample string 2", "createDate": "2024-12-13T18:43:12.6723699+07:00", "createByUser": "sample string 3", "isPublic": 4, "numberStudent": 5, "createUpDate": "2024-12-13T18:43:12.6723699+07:00", "subjectName": "sample string 6", "subjectCode": "sample string 7", "checksumParam": { "checksumEdit": "sample string 1", "checksumDelete": "sample string 2", "checksumRequest": "sample string 3", "checksumRequest2": "sample string 4" }, "lstCTDinhMucPTN": [ { "id": 1, "dinhMucID": 2, "ttbid": 3, "qualityNumber": 4.1, "createDate": "2024-12-13T18:43:12.6723699+07:00", "checksumParam": { "checksumEdit": "sample string 1", "checksumDelete": "sample string 2", "checksumRequest": "sample string 3", "checksumRequest2": "sample string 4" }, "trangthai": true, "maTB": "sample string 6", "tenTB": "sample string 7", "buoi": 8, "maLHP": 9 }, { "id": 1, "dinhMucID": 2, "ttbid": 3, "qualityNumber": 4.1, "createDate": "2024-12-13T18:43:12.6723699+07:00", "checksumParam": { "checksumEdit": "sample string 1", "checksumDelete": "sample string 2", "checksumRequest": "sample string 3", "checksumRequest2": "sample string 4" }, "trangthai": true, "maTB": "sample string 6", "tenTB": "sample string 7", "buoi": 8, "maLHP": 9 } ], "subjectID": "sample string 8", "semester": 9, "year": "sample string 10", "courseID": 11, "isDelete": true }
text/html
Sample:
{"id":1,"title":"sample string 2","createDate":"2024-12-13T18:43:12.6723699+07:00","createByUser":"sample string 3","isPublic":4,"numberStudent":5,"createUpDate":"2024-12-13T18:43:12.6723699+07:00","subjectName":"sample string 6","subjectCode":"sample string 7","checksumParam":{"checksumEdit":"sample string 1","checksumDelete":"sample string 2","checksumRequest":"sample string 3","checksumRequest2":"sample string 4"},"lstCTDinhMucPTN":[{"id":1,"dinhMucID":2,"ttbid":3,"qualityNumber":4.1,"createDate":"2024-12-13T18:43:12.6723699+07:00","checksumParam":{"checksumEdit":"sample string 1","checksumDelete":"sample string 2","checksumRequest":"sample string 3","checksumRequest2":"sample string 4"},"trangthai":true,"maTB":"sample string 6","tenTB":"sample string 7","buoi":8,"maLHP":9},{"id":1,"dinhMucID":2,"ttbid":3,"qualityNumber":4.1,"createDate":"2024-12-13T18:43:12.6723699+07:00","checksumParam":{"checksumEdit":"sample string 1","checksumDelete":"sample string 2","checksumRequest":"sample string 3","checksumRequest2":"sample string 4"},"trangthai":true,"maTB":"sample string 6","tenTB":"sample string 7","buoi":8,"maLHP":9}],"subjectID":"sample string 8","semester":9,"year":"sample string 10","courseID":11,"isDelete":true}
application/xml, text/xml
Sample:
<DinhMucPTN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Model.ViewModel"> <ChecksumParam> <ChecksumDelete>sample string 2</ChecksumDelete> <ChecksumEdit>sample string 1</ChecksumEdit> <ChecksumRequest>sample string 3</ChecksumRequest> <ChecksumRequest2>sample string 4</ChecksumRequest2> </ChecksumParam> <CourseID>11</CourseID> <CreateByUser>sample string 3</CreateByUser> <CreateDate>2024-12-13T18:43:12.6723699+07:00</CreateDate> <CreateUpDate>2024-12-13T18:43:12.6723699+07:00</CreateUpDate> <ID>1</ID> <IsDelete>true</IsDelete> <IsPublic>4</IsPublic> <LstCTDinhMucPTN> <CTDinhMucPTN> <Buoi>8</Buoi> <ChecksumParam> <ChecksumDelete>sample string 2</ChecksumDelete> <ChecksumEdit>sample string 1</ChecksumEdit> <ChecksumRequest>sample string 3</ChecksumRequest> <ChecksumRequest2>sample string 4</ChecksumRequest2> </ChecksumParam> <CreateDate>2024-12-13T18:43:12.6723699+07:00</CreateDate> <DinhMucID>2</DinhMucID> <ID>1</ID> <MaLHP>9</MaLHP> <MaTB>sample string 6</MaTB> <QualityNumber>4.1</QualityNumber> <TTBID>3</TTBID> <TenTB>sample string 7</TenTB> <Trangthai>true</Trangthai> </CTDinhMucPTN> <CTDinhMucPTN> <Buoi>8</Buoi> <ChecksumParam> <ChecksumDelete>sample string 2</ChecksumDelete> <ChecksumEdit>sample string 1</ChecksumEdit> <ChecksumRequest>sample string 3</ChecksumRequest> <ChecksumRequest2>sample string 4</ChecksumRequest2> </ChecksumParam> <CreateDate>2024-12-13T18:43:12.6723699+07:00</CreateDate> <DinhMucID>2</DinhMucID> <ID>1</ID> <MaLHP>9</MaLHP> <MaTB>sample string 6</MaTB> <QualityNumber>4.1</QualityNumber> <TTBID>3</TTBID> <TenTB>sample string 7</TenTB> <Trangthai>true</Trangthai> </CTDinhMucPTN> </LstCTDinhMucPTN> <NumberStudent>5</NumberStudent> <Semester>9</Semester> <SubjectCode>sample string 7</SubjectCode> <SubjectID>sample string 8</SubjectID> <SubjectName>sample string 6</SubjectName> <Title>sample string 2</Title> <Year>sample string 10</Year> </DinhMucPTN>
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. |