POST api/Administrator/GetClassWiseAddComponentList

Request Information

URI Parameters

None.

Body Parameters

MasterAdditionalSubjectComponent
NameDescriptionTypeAdditional information
SelectedClassID

integer

None.

SubCategoryFk

integer

None.

ComponentList

Collection of AdditionalSubjectComponent

None.

Status

integer

None.

Message

string

None.

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SelectedClassID": 1,
  "SubCategoryFk": 2,
  "ComponentList": [
    {
      "ID": 1,
      "ComponentName": "sample string 1",
      "IsSelected": true
    },
    {
      "ID": 1,
      "ComponentName": "sample string 1",
      "IsSelected": true
    }
  ],
  "Status": 3,
  "Message": "sample string 4",
  "Domain": "sample string 5"
}

application/xml, text/xml

Sample:
<MasterAdditionalSubjectComponent 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 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>
  <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>
  <SelectedClassID>1</SelectedClassID>
  <SubCategoryFk>2</SubCategoryFk>
</MasterAdditionalSubjectComponent>

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.