POST jxc_api/ErpEmployee/Search

Request Information

URI Parameters

None.

Body Parameters

ErpEmployeeSearchConditions
NameDescriptionTypeAdditional information
Keyword

string

None.

Department

integer

None.

Status

integer

None.

SelectedIds

Collection of integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Keyword": "sample string 1",
  "Department": 2,
  "Status": 3,
  "SelectedIds": [
    1,
    2
  ],
  "PageIndex": 4,
  "PageSize": 5
}

application/xml, text/xml

Sample:
<ErpEmployeeSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.ToAcc.ErpAccModel">
  <Department>2</Department>
  <Keyword>sample string 1</Keyword>
  <PageIndex>4</PageIndex>
  <PageSize>5</PageSize>
  <SelectedIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SelectedIds>
  <Status>3</Status>
</ErpEmployeeSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfErpEmployeeListModel
NameDescriptionTypeAdditional information
Items

Collection of ErpEmployeeListModel

None.

SumModel

ErpEmployeeListModel

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

UsePager

boolean

None.

CategoriesFounded

Collection of integer

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "EmpId": 1,
      "EmpCode": "sample string 2",
      "EmpName": "sample string 3",
      "DepartmentName": "sample string 4",
      "Phone": "sample string 5",
      "Email": "sample string 6",
      "IdNo": "sample string 7",
      "Status": "sample string 8",
      "IsSA": true,
      "ASubName": "sample string 10",
      "SalaryEndDate": "2024-11-25 02:24:52",
      "QuitDate": "2024-11-25 02:24:52"
    },
    {
      "EmpId": 1,
      "EmpCode": "sample string 2",
      "EmpName": "sample string 3",
      "DepartmentName": "sample string 4",
      "Phone": "sample string 5",
      "Email": "sample string 6",
      "IdNo": "sample string 7",
      "Status": "sample string 8",
      "IsSA": true,
      "ASubName": "sample string 10",
      "SalaryEndDate": "2024-11-25 02:24:52",
      "QuitDate": "2024-11-25 02:24:52"
    }
  ],
  "SumModel": {
    "EmpId": 1,
    "EmpCode": "sample string 2",
    "EmpName": "sample string 3",
    "DepartmentName": "sample string 4",
    "Phone": "sample string 5",
    "Email": "sample string 6",
    "IdNo": "sample string 7",
    "Status": "sample string 8",
    "IsSA": true,
    "ASubName": "sample string 10",
    "SalaryEndDate": "2024-11-25 02:24:52",
    "QuitDate": "2024-11-25 02:24:52"
  },
  "PageIndex": 1,
  "PageSize": 2,
  "Total": 3,
  "UsePager": true,
  "CategoriesFounded": [
    1,
    2
  ],
  "RDocumentStartDate": "sample string 5",
  "RDocumentEndDate": "sample string 6",
  "RDeliveryStartDate": "sample string 7",
  "RDeliveryEndDate": "sample string 8"
}