POST jxc_api/CustomerBrief/Search

Request Information

URI Parameters

None.

Body Parameters

CustListSearchConditions
NameDescriptionTypeAdditional information
CustIds

Collection of integer

None.

CustCat

integer

None.

AsStartDate

date

None.

AppAsId

string

None.

AccAsId

integer

None.

HideZeroCust

boolean

None.

HideZeroAndNoBusiness

boolean

None.

PageIndex

integer

None.

PageSize

integer

None.

UsePager

boolean

None.

StartDate

date

None.

EndDate

date

None.

ShowAgeList

boolean

None.

Keywords

string

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:
{
  "CustIds": [
    1,
    2
  ],
  "CustCat": 1,
  "AsStartDate": "2024-11-25 02:37:14",
  "AppAsId": "sample string 3",
  "AccAsId": 4,
  "HideZeroCust": true,
  "HideZeroAndNoBusiness": true,
  "PageIndex": 7,
  "PageSize": 8,
  "UsePager": true,
  "StartDate": "2024-11-25 02:37:14",
  "EndDate": "2024-11-25 02:37:14",
  "ShowAgeList": true,
  "Keywords": "sample string 11",
  "CurrUserSn": 12,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 15,
  "DocumentDateArr": [
    "2024-11-25 02:37:14",
    "2024-11-25 02:37:14"
  ],
  "DeliveryDateType": 16,
  "DeliveryDateArr": [
    "2024-11-25 02:37:14",
    "2024-11-25 02:37:14"
  ],
  "OffDateType": 17,
  "OffDateArr": [
    "2024-11-25 02:37:14",
    "2024-11-25 02:37:14"
  ],
  "InventoryDateType": 18,
  "InventoryDateArr": [
    "2024-11-25 02:37:14",
    "2024-11-25 02:37:14"
  ]
}

application/xml, text/xml

Sample:
<CustListSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Money">
  <_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:37:14.657302+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:37:14.657302+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">16</_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:37:14.657302+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:37:14.657302+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">15</_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:37:14.657302+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:37:14.657302+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">18</_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:37:14.657302+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:37:14.657302+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">17</_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">12</_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_EndDate_x003E_k__BackingField>2024-11-25T02:37:14.657302+08:00</_x003C_EndDate_x003E_k__BackingField>
  <_x003C_Keywords_x003E_k__BackingField>sample string 11</_x003C_Keywords_x003E_k__BackingField>
  <_x003C_ShowAgeList_x003E_k__BackingField>true</_x003C_ShowAgeList_x003E_k__BackingField>
  <_x003C_StartDate_x003E_k__BackingField>2024-11-25T02:37:14.657302+08:00</_x003C_StartDate_x003E_k__BackingField>
  <_x003C_AccAsId_x003E_k__BackingField>4</_x003C_AccAsId_x003E_k__BackingField>
  <_x003C_AppAsId_x003E_k__BackingField>sample string 3</_x003C_AppAsId_x003E_k__BackingField>
  <_x003C_AsStartDate_x003E_k__BackingField>2024-11-25T02:37:14.657302+08:00</_x003C_AsStartDate_x003E_k__BackingField>
  <_x003C_CustCat_x003E_k__BackingField>1</_x003C_CustCat_x003E_k__BackingField>
  <_x003C_CustIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CustIds_x003E_k__BackingField>
  <_x003C_HideZeroAndNoBusiness_x003E_k__BackingField>true</_x003C_HideZeroAndNoBusiness_x003E_k__BackingField>
  <_x003C_HideZeroCust_x003E_k__BackingField>true</_x003C_HideZeroCust_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>7</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>8</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
</CustListSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of CustomerBriefListModel
NameDescriptionTypeAdditional information
CustId

integer

None.

CustCat

string

None.

CustNo

string

None.

CustName

string

None.

BillDate

date

None.

IsInitRec

integer

None.

InitBlance

decimal number

None.

Amount

decimal number

None.

DisAmount

decimal number

None.

CustPayment

decimal number

None.

Receivable

decimal number

None.

Received

decimal number

None.

RestAmount

decimal number

None.

AgeList

Collection of decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustId": 1,
    "CustCat": "sample string 2",
    "CustNo": "sample string 3",
    "CustName": "sample string 4",
    "BillDate": "2024-11-25 02:37:14",
    "IsInitRec": 6,
    "InitBlance": 7.0,
    "Amount": 8.0,
    "DisAmount": 9.0,
    "CustPayment": 10.0,
    "Receivable": 11.0,
    "Received": 12.0,
    "RestAmount": 6.0,
    "AgeList": [
      1.0,
      2.0
    ]
  },
  {
    "CustId": 1,
    "CustCat": "sample string 2",
    "CustNo": "sample string 3",
    "CustName": "sample string 4",
    "BillDate": "2024-11-25 02:37:14",
    "IsInitRec": 6,
    "InitBlance": 7.0,
    "Amount": 8.0,
    "DisAmount": 9.0,
    "CustPayment": 10.0,
    "Receivable": 11.0,
    "Received": 12.0,
    "RestAmount": 6.0,
    "AgeList": [
      1.0,
      2.0
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerBriefListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.Money.Reports">
  <CustomerBriefListModel>
    <_x003C_AgeList_x003E_k__BackingField xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:decimal>1</d3p1:decimal>
      <d3p1:decimal>2</d3p1:decimal>
    </_x003C_AgeList_x003E_k__BackingField>
    <_x003C_Amount_x003E_k__BackingField>8</_x003C_Amount_x003E_k__BackingField>
    <_x003C_BillDate_x003E_k__BackingField>2024-11-25T02:37:14.6729863+08:00</_x003C_BillDate_x003E_k__BackingField>
    <_x003C_CustCat_x003E_k__BackingField>sample string 2</_x003C_CustCat_x003E_k__BackingField>
    <_x003C_CustId_x003E_k__BackingField>1</_x003C_CustId_x003E_k__BackingField>
    <_x003C_CustName_x003E_k__BackingField>sample string 4</_x003C_CustName_x003E_k__BackingField>
    <_x003C_CustNo_x003E_k__BackingField>sample string 3</_x003C_CustNo_x003E_k__BackingField>
    <_x003C_CustPayment_x003E_k__BackingField>10</_x003C_CustPayment_x003E_k__BackingField>
    <_x003C_DisAmount_x003E_k__BackingField>9</_x003C_DisAmount_x003E_k__BackingField>
    <_x003C_InitBlance_x003E_k__BackingField>7</_x003C_InitBlance_x003E_k__BackingField>
    <_x003C_IsInitRec_x003E_k__BackingField>6</_x003C_IsInitRec_x003E_k__BackingField>
    <_x003C_Receivable_x003E_k__BackingField>11</_x003C_Receivable_x003E_k__BackingField>
    <_x003C_Received_x003E_k__BackingField>12</_x003C_Received_x003E_k__BackingField>
  </CustomerBriefListModel>
  <CustomerBriefListModel>
    <_x003C_AgeList_x003E_k__BackingField xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:decimal>1</d3p1:decimal>
      <d3p1:decimal>2</d3p1:decimal>
    </_x003C_AgeList_x003E_k__BackingField>
    <_x003C_Amount_x003E_k__BackingField>8</_x003C_Amount_x003E_k__BackingField>
    <_x003C_BillDate_x003E_k__BackingField>2024-11-25T02:37:14.6729863+08:00</_x003C_BillDate_x003E_k__BackingField>
    <_x003C_CustCat_x003E_k__BackingField>sample string 2</_x003C_CustCat_x003E_k__BackingField>
    <_x003C_CustId_x003E_k__BackingField>1</_x003C_CustId_x003E_k__BackingField>
    <_x003C_CustName_x003E_k__BackingField>sample string 4</_x003C_CustName_x003E_k__BackingField>
    <_x003C_CustNo_x003E_k__BackingField>sample string 3</_x003C_CustNo_x003E_k__BackingField>
    <_x003C_CustPayment_x003E_k__BackingField>10</_x003C_CustPayment_x003E_k__BackingField>
    <_x003C_DisAmount_x003E_k__BackingField>9</_x003C_DisAmount_x003E_k__BackingField>
    <_x003C_InitBlance_x003E_k__BackingField>7</_x003C_InitBlance_x003E_k__BackingField>
    <_x003C_IsInitRec_x003E_k__BackingField>6</_x003C_IsInitRec_x003E_k__BackingField>
    <_x003C_Receivable_x003E_k__BackingField>11</_x003C_Receivable_x003E_k__BackingField>
    <_x003C_Received_x003E_k__BackingField>12</_x003C_Received_x003E_k__BackingField>
  </CustomerBriefListModel>
</ArrayOfCustomerBriefListModel>