POST api/Employee/GetSectionListByClassId
Request Information
URI Parameters
None.
Body Parameters
EmployeeCommonModelName | Description | Type | Additional information |
---|---|---|---|
StaffID | integer |
None. |
|
ClassID | integer |
None. |
|
SectionList | Collection of SectionModel |
None. |
|
Status | integer |
None. |
|
Message | string |
None. |
|
Domain | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "StaffID": 1, "ClassID": 2, "SectionList": [ { "ID": 1, "SectionName": "sample string 2", "SectionStatus": true, "CreateDate": "2024-12-12T12:11:33.7686351+05:30", "Status": 3, "Message": "sample string 4", "Domain": "sample string 5" }, { "ID": 1, "SectionName": "sample string 2", "SectionStatus": true, "CreateDate": "2024-12-12T12:11:33.7686351+05:30", "Status": 3, "Message": "sample string 4", "Domain": "sample string 5" } ], "Status": 3, "Message": "sample string 4", "Domain": "sample string 5" }
application/xml, text/xml
Sample:
<EmployeeCommonModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.Employee"> <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 5</Domain> <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 4</Message> <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">3</Status> <ClassID>2</ClassID> <SectionList xmlns:d2p1="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.MasterModels"> <d2p1:SectionModel> <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 5</Domain> <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 4</Message> <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">3</Status> <d2p1:CreateDate>2024-12-12T12:11:33.7842512+05:30</d2p1:CreateDate> <d2p1:ID>1</d2p1:ID> <d2p1:SectionName>sample string 2</d2p1:SectionName> <d2p1:SectionStatus>true</d2p1:SectionStatus> </d2p1:SectionModel> <d2p1:SectionModel> <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 5</Domain> <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 4</Message> <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">3</Status> <d2p1:CreateDate>2024-12-12T12:11:33.7842512+05:30</d2p1:CreateDate> <d2p1:ID>1</d2p1:ID> <d2p1:SectionName>sample string 2</d2p1:SectionName> <d2p1:SectionStatus>true</d2p1:SectionStatus> </d2p1:SectionModel> </SectionList> <StaffID>1</StaffID> </EmployeeCommonModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.