POST api/Administrator/AddAdditionalSubject

Request Information

URI Parameters

None.

Body Parameters

AdditionalSubject
NameDescriptionTypeAdditional 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

Sample:
{
  "ID": 1,
  "SelectedStudentID": 2,
  "EntryBy": "sample string 3",
  "ComStatus": true,
  "CreateDate": "2021-09-17T18:28:15.3205172-07:00",
  "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"
}

text/json

Sample:
{
  "ID": 1,
  "SelectedStudentID": 2,
  "EntryBy": "sample string 3",
  "ComStatus": true,
  "CreateDate": "2021-09-17T18:28:15.3361451-07:00",
  "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>2021-09-17T18:28:15.3361451-07:00</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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.