POST api/Administrator/AddAdditionalSubject
Request Information
URI Parameters
None.
Body Parameters
AdditionalSubjectName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
SelectedStudentID | integer |
None. |
|
EntryBy | string |
None. |
|
ComStatus | boolean |
None. |
|
CreateDate | date |
None. |
|
ComponentList | Collection of AdditionalSubjectComponent |
None. |
|
Status | integer |
None. |
|
Message | string |
None. |
|
Domain | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "SelectedStudentID": 2, "EntryBy": "sample string 3", "ComStatus": true, "CreateDate": "2024-11-20T23:56:24.8208407+05:30", "ComponentList": [ { "ID": 1, "ComponentName": "sample string 1", "IsSelected": true }, { "ID": 1, "ComponentName": "sample string 1", "IsSelected": true } ], "Status": 5, "Message": "sample string 6", "Domain": "sample string 7" }
application/xml, text/xml
Sample:
<AdditionalSubject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.MasterModels"> <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 7</Domain> <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 6</Message> <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">5</Status> <ComStatus>true</ComStatus> <ComponentList> <AdditionalSubjectComponent> <ComponentName>sample string 1</ComponentName> <ID>1</ID> <IsSelected>true</IsSelected> </AdditionalSubjectComponent> <AdditionalSubjectComponent> <ComponentName>sample string 1</ComponentName> <ID>1</ID> <IsSelected>true</IsSelected> </AdditionalSubjectComponent> </ComponentList> <CreateDate>2024-11-20T23:56:24.8208407+05:30</CreateDate> <EntryBy>sample string 3</EntryBy> <ID>1</ID> <SelectedStudentID>2</SelectedStudentID> </AdditionalSubject>
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.