POST api/Employee/ActiveDeactiveEmployee

Request Information

URI Parameters

None.

Body Parameters

GetEmployeeList
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

Contact_name

string

None.

Email

string

None.

ContactNumber

string

None.

GlobalSearch

string

None.

Phone

string

None.

IsAccending

boolean

None.

SortColoumn

string

None.

PageNumber

integer

None.

PageSize

integer

None.

Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "Contact_name": "sample string 2",
  "Email": "sample string 3",
  "ContactNumber": "sample string 4",
  "GlobalSearch": "sample string 5",
  "Phone": "sample string 6",
  "IsAccending": true,
  "SortColoumn": "sample string 8",
  "PageNumber": 9,
  "PageSize": 10,
  "Status": true
}

text/html

Sample:
{"EmployeeId":1,"Contact_name":"sample string 2","Email":"sample string 3","ContactNumber":"sample string 4","GlobalSearch":"sample string 5","Phone":"sample string 6","IsAccending":true,"SortColoumn":"sample string 8","PageNumber":9,"PageSize":10,"Status":true}

application/xml, text/xml

Sample:
<GetEmployeeList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyAccounting.ViewModel">
  <ContactNumber>sample string 4</ContactNumber>
  <Contact_name>sample string 2</Contact_name>
  <Email>sample string 3</Email>
  <EmployeeId>1</EmployeeId>
  <GlobalSearch>sample string 5</GlobalSearch>
  <IsAccending>true</IsAccending>
  <PageNumber>9</PageNumber>
  <PageSize>10</PageSize>
  <Phone>sample string 6</Phone>
  <SortColoumn>sample string 8</SortColoumn>
  <Status>true</Status>
</GetEmployeeList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.