POST jxc_api/Employee/Search

Request Information

URI Parameters

None.

Body Parameters

EmployeeCondition
NameDescriptionTypeAdditional information
SearchText

string

None.

Status

boolean

None.

PageIndex

integer

None.

PageSize

integer

None.

UsePager

boolean

None.

CurrUserSn

integer

None.

CanViewAllBill

boolean

None.

CanOpeAllWh

boolean

None.

OpeWhList

Collection of integer

None.

DocumentDateType

integer

None.

DocumentDateArr

Collection of date

None.

DeliveryDateType

integer

None.

DeliveryDateArr

Collection of date

None.

OffDateType

integer

None.

OffDateArr

Collection of date

None.

InventoryDateType

integer

None.

InventoryDateArr

Collection of date

None.

Request Formats

application/json, text/json

Sample:
{
  "SearchText": "sample string 1",
  "Status": true,
  "PageIndex": 3,
  "PageSize": 4,
  "UsePager": true,
  "CurrUserSn": 6,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 9,
  "DocumentDateArr": [
    "2024-11-25 02:05:35",
    "2024-11-25 02:05:35"
  ],
  "DeliveryDateType": 10,
  "DeliveryDateArr": [
    "2024-11-25 02:05:35",
    "2024-11-25 02:05:35"
  ],
  "OffDateType": 11,
  "OffDateArr": [
    "2024-11-25 02:05:35",
    "2024-11-25 02:05:35"
  ],
  "InventoryDateType": 12,
  "InventoryDateArr": [
    "2024-11-25 02:05:35",
    "2024-11-25 02:05:35"
  ]
}

application/xml, text/xml

Sample:
<EmployeeCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">
  <_x003C_DeliveryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:05:35.5153458+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:05:35.5153458+08:00</d2p1:dateTime>
  </_x003C_DeliveryDateArr_x003E_k__BackingField>
  <_x003C_DeliveryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">10</_x003C_DeliveryDateType_x003E_k__BackingField>
  <_x003C_DocumentDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:05:35.5153458+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:05:35.5153458+08:00</d2p1:dateTime>
  </_x003C_DocumentDateArr_x003E_k__BackingField>
  <_x003C_DocumentDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">9</_x003C_DocumentDateType_x003E_k__BackingField>
  <_x003C_InventoryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:05:35.5153458+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:05:35.5153458+08:00</d2p1:dateTime>
  </_x003C_InventoryDateArr_x003E_k__BackingField>
  <_x003C_InventoryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">12</_x003C_InventoryDateType_x003E_k__BackingField>
  <_x003C_OffDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:05:35.5153458+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:05:35.5153458+08:00</d2p1:dateTime>
  </_x003C_OffDateArr_x003E_k__BackingField>
  <_x003C_OffDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">11</_x003C_OffDateType_x003E_k__BackingField>
  <_x003C_CanOpeAllWh_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanOpeAllWh_x003E_k__BackingField>
  <_x003C_CanViewAllBill_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanViewAllBill_x003E_k__BackingField>
  <_x003C_CurrUserSn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">6</_x003C_CurrUserSn_x003E_k__BackingField>
  <_x003C_OpeWhList_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_OpeWhList_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>3</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>4</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
  <_x003C_SearchText_x003E_k__BackingField>sample string 1</_x003C_SearchText_x003E_k__BackingField>
  <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField>
</EmployeeCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfEmployeeListModel
NameDescriptionTypeAdditional information
Items

Collection of EmployeeListModel

None.

SumModel

EmployeeListModel

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": [
    {
      "AsId": 1,
      "UserId": 2,
      "UserNo": "sample string 3",
      "UserName": "sample string 4",
      "Mobile": "sample string 5",
      "Note": "sample string 6",
      "Status": 7,
      "CreatedBy": 8,
      "CreatedDate": "2024-11-25 02:05:35",
      "ModifiedBy": 10,
      "ModifiedDate": "2024-11-25 02:05:35"
    },
    {
      "AsId": 1,
      "UserId": 2,
      "UserNo": "sample string 3",
      "UserName": "sample string 4",
      "Mobile": "sample string 5",
      "Note": "sample string 6",
      "Status": 7,
      "CreatedBy": 8,
      "CreatedDate": "2024-11-25 02:05:35",
      "ModifiedBy": 10,
      "ModifiedDate": "2024-11-25 02:05:35"
    }
  ],
  "SumModel": {
    "AsId": 1,
    "UserId": 2,
    "UserNo": "sample string 3",
    "UserName": "sample string 4",
    "Mobile": "sample string 5",
    "Note": "sample string 6",
    "Status": 7,
    "CreatedBy": 8,
    "CreatedDate": "2024-11-25 02:05:35",
    "ModifiedBy": 10,
    "ModifiedDate": "2024-11-25 02:05:35"
  },
  "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"
}