POST api/Administrator/GetAdditionalSubject

Request Information

URI Parameters

None.

Body Parameters

MasterAdditionalSubjectAdmissionNo
NameDescriptionTypeAdditional information
AdmissionNo

string

None.

SelectedClassID

integer

None.

SelectedSectionID

integer

None.

AdmissionNoList

Collection of AdditionalSubjectAdmissionNo

None.

AssignedAdditionalSubjectList

Collection of ShowAdditionalSubject

None.

Status

integer

None.

Message

string

None.

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AdmissionNo": "sample string 1",
  "SelectedClassID": 2,
  "SelectedSectionID": 3,
  "AdmissionNoList": [
    {
      "StudentFk": 1,
      "AdmissionNo": "sample string 2",
      "StudentName": "sample string 3",
      "ClassStreamFk": 1,
      "SectionFk": 1,
      "SubCategoryFk": 1
    },
    {
      "StudentFk": 1,
      "AdmissionNo": "sample string 2",
      "StudentName": "sample string 3",
      "ClassStreamFk": 1,
      "SectionFk": 1,
      "SubCategoryFk": 1
    }
  ],
  "AssignedAdditionalSubjectList": [
    {
      "ID": 1,
      "StudentFk": 1,
      "AdmissionNo": "sample string 2",
      "StudentName": "sample string 3",
      "Class": "sample string 4",
      "ClassStreamFk": 1,
      "SectionFk": 1,
      "ComponentName": "sample string 5",
      "ComponentFk": 1,
      "ComStatus": true,
      "Status": 6,
      "Message": "sample string 7",
      "Domain": "sample string 8"
    },
    {
      "ID": 1,
      "StudentFk": 1,
      "AdmissionNo": "sample string 2",
      "StudentName": "sample string 3",
      "Class": "sample string 4",
      "ClassStreamFk": 1,
      "SectionFk": 1,
      "ComponentName": "sample string 5",
      "ComponentFk": 1,
      "ComStatus": true,
      "Status": 6,
      "Message": "sample string 7",
      "Domain": "sample string 8"
    }
  ],
  "Status": 4,
  "Message": "sample string 5",
  "Domain": "sample string 6"
}

application/xml, text/xml

Sample:
<MasterAdditionalSubjectAdmissionNo 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 6</Domain>
  <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 5</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">4</Status>
  <AdmissionNo>sample string 1</AdmissionNo>
  <AdmissionNoList>
    <AdditionalSubjectAdmissionNo>
      <AdmissionNo>sample string 2</AdmissionNo>
      <ClassStreamFk>1</ClassStreamFk>
      <SectionFk>1</SectionFk>
      <StudentFk>1</StudentFk>
      <StudentName>sample string 3</StudentName>
      <SubCategoryFk>1</SubCategoryFk>
    </AdditionalSubjectAdmissionNo>
    <AdditionalSubjectAdmissionNo>
      <AdmissionNo>sample string 2</AdmissionNo>
      <ClassStreamFk>1</ClassStreamFk>
      <SectionFk>1</SectionFk>
      <StudentFk>1</StudentFk>
      <StudentName>sample string 3</StudentName>
      <SubCategoryFk>1</SubCategoryFk>
    </AdditionalSubjectAdmissionNo>
  </AdmissionNoList>
  <AssignedAdditionalSubjectList>
    <ShowAdditionalSubject>
      <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 8</Domain>
      <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 7</Message>
      <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">6</Status>
      <AdmissionNo>sample string 2</AdmissionNo>
      <Class>sample string 4</Class>
      <ClassStreamFk>1</ClassStreamFk>
      <ComStatus>true</ComStatus>
      <ComponentFk>1</ComponentFk>
      <ComponentName>sample string 5</ComponentName>
      <ID>1</ID>
      <SectionFk>1</SectionFk>
      <StudentFk>1</StudentFk>
      <StudentName>sample string 3</StudentName>
    </ShowAdditionalSubject>
    <ShowAdditionalSubject>
      <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 8</Domain>
      <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 7</Message>
      <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">6</Status>
      <AdmissionNo>sample string 2</AdmissionNo>
      <Class>sample string 4</Class>
      <ClassStreamFk>1</ClassStreamFk>
      <ComStatus>true</ComStatus>
      <ComponentFk>1</ComponentFk>
      <ComponentName>sample string 5</ComponentName>
      <ID>1</ID>
      <SectionFk>1</SectionFk>
      <StudentFk>1</StudentFk>
      <StudentName>sample string 3</StudentName>
    </ShowAdditionalSubject>
  </AssignedAdditionalSubjectList>
  <SelectedClassID>2</SelectedClassID>
  <SelectedSectionID>3</SelectedSectionID>
</MasterAdditionalSubjectAdmissionNo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.