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.

SelectedClassIDs

Collection of integer

None.

ClassName

string

None.

SelectedSectionID

integer

None.

SelectedSectionIDs

Collection of 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,
  "SelectedClassIDs": [
    1,
    2
  ],
  "ClassName": "sample string 5",
  "SelectedSectionID": 6,
  "SelectedSectionIDs": [
    1,
    2
  ],
  "SectionName": "sample string 7",
  "CreateDate": "2024-12-02T17:10:20.5300537+05:30",
  "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>2024-12-02T17:10:20.5300537+05:30</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>
  <SelectedClassIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SelectedClassIDs>
  <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>
  <SelectedSectionIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SelectedSectionIDs>
  <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.