GET employee/list?name={name}&isActive={isActive}&page={page}&take={take}

Request Information

URI Parameters

Name Description Type Additional information
name

string

None.

isActive

boolean

None.

page

integer (Int32)

None.

take

integer (Int32)

None.

Body Parameters

None.

Response Information

Resource Description

Collection of employesListModel
Name Description Type Additional information
id

integer (Int32)

None.

image

string

None.

name

string

None.

lastname

string

None.

isActive

boolean

None.

officialNo

integer (Int64)

None.

email

string

None.

phone

string

None.

cvTr

string

None.

cvEn

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "image": "sample string 2",
    "name": "sample string 3",
    "lastname": "sample string 4",
    "isActive": true,
    "officialNo": 6,
    "email": "sample string 7",
    "phone": "sample string 8",
    "cvTr": "sample string 9",
    "cvEn": "sample string 10"
  },
  {
    "id": 1,
    "image": "sample string 2",
    "name": "sample string 3",
    "lastname": "sample string 4",
    "isActive": true,
    "officialNo": 6,
    "email": "sample string 7",
    "phone": "sample string 8",
    "cvTr": "sample string 9",
    "cvEn": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfemployesListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models">
  <employesListModel>
    <cvEn>sample string 10</cvEn>
    <cvTr>sample string 9</cvTr>
    <email>sample string 7</email>
    <id>1</id>
    <image>sample string 2</image>
    <isActive>true</isActive>
    <lastname>sample string 4</lastname>
    <name>sample string 3</name>
    <officialNo>6</officialNo>
    <phone>sample string 8</phone>
  </employesListModel>
  <employesListModel>
    <cvEn>sample string 10</cvEn>
    <cvTr>sample string 9</cvTr>
    <email>sample string 7</email>
    <id>1</id>
    <image>sample string 2</image>
    <isActive>true</isActive>
    <lastname>sample string 4</lastname>
    <name>sample string 3</name>
    <officialNo>6</officialNo>
    <phone>sample string 8</phone>
  </employesListModel>
</ArrayOfemployesListModel>

multipart/form-data

Sample:
<ArrayOfemployesListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"><employesListModel><cvEn>sample string 10</cvEn><cvTr>sample string 9</cvTr><email>sample string 7</email><id>1</id><image>sample string 2</image><isActive>true</isActive><lastname>sample string 4</lastname><name>sample string 3</name><officialNo>6</officialNo><phone>sample string 8</phone></employesListModel><employesListModel><cvEn>sample string 10</cvEn><cvTr>sample string 9</cvTr><email>sample string 7</email><id>1</id><image>sample string 2</image><isActive>true</isActive><lastname>sample string 4</lastname><name>sample string 3</name><officialNo>6</officialNo><phone>sample string 8</phone></employesListModel></ArrayOfemployesListModel>