POST api/Administrator/AddEmpClassMerge

Request Information

URI Parameters

None.

Body Parameters

EmployeeClassModel
NameDescriptionTypeAdditional information
ID

integer

None.

SelectedStaffId

integer

None.

SelectedEmpIDs

Collection of integer

None.

EmployeeName

string

None.

SelectedClassID

integer

None.

ClassName

string

None.

SelectedSectionID

integer

None.

SectionName

string

None.

CreateDate

date

None.

EntryBy

string

None.

EmployeeStatus

boolean

None.

Status

integer

None.

Message

string

None.

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SelectedStaffId": 2,
  "SelectedEmpIDs": [
    1,
    2
  ],
  "EmployeeName": "sample string 3",
  "SelectedClassID": 4,
  "ClassName": "sample string 5",
  "SelectedSectionID": 6,
  "SectionName": "sample string 7",
  "CreateDate": "2021-01-17T14:15:46.3889578-07:00",
  "EntryBy": "sample string 9",
  "EmployeeStatus": true,
  "Status": 11,
  "Message": "sample string 12",
  "Domain": "sample string 13"
}

application/xml, text/xml

Sample:
<EmployeeClassModel 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 13</Domain>
  <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 12</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">11</Status>
  <ClassName>sample string 5</ClassName>
  <CreateDate>2021-01-17T14:15:46.3889578-07:00</CreateDate>
  <EmployeeName>sample string 3</EmployeeName>
  <EmployeeStatus>true</EmployeeStatus>
  <EntryBy>sample string 9</EntryBy>
  <ID>1</ID>
  <SectionName>sample string 7</SectionName>
  <SelectedClassID>4</SelectedClassID>
  <SelectedEmpIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SelectedEmpIDs>
  <SelectedSectionID>6</SelectedSectionID>
  <SelectedStaffId>2</SelectedStaffId>
</EmployeeClassModel>

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.