POST jxc_api/Customer/SearchCust

Request Information

URI Parameters

None.

Body Parameters

CustomerCondition
NameDescriptionTypeAdditional information
SearchText

string

None.

Status

boolean

None.

CategroryIds

Collection of integer

None.

AppAsId

string

None.

AccAsId

integer

None.

Ftype

integer

None.

UpdateTimeStart

date

None.

UpdateTimeEnd

date

None.

CategoryKeyword

string

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,
  "CategroryIds": [
    1,
    2
  ],
  "AppAsId": "sample string 3",
  "AccAsId": 4,
  "Ftype": 1010,
  "UpdateTimeStart": "2024-11-25 02:53:42",
  "UpdateTimeEnd": "2024-11-25 02:53:42",
  "CategoryKeyword": "sample string 7",
  "PageIndex": 8,
  "PageSize": 9,
  "UsePager": true,
  "CurrUserSn": 11,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 14,
  "DocumentDateArr": [
    "2024-11-25 02:53:42",
    "2024-11-25 02:53:42"
  ],
  "DeliveryDateType": 15,
  "DeliveryDateArr": [
    "2024-11-25 02:53:42",
    "2024-11-25 02:53:42"
  ],
  "OffDateType": 16,
  "OffDateArr": [
    "2024-11-25 02:53:42",
    "2024-11-25 02:53:42"
  ],
  "InventoryDateType": 17,
  "InventoryDateArr": [
    "2024-11-25 02:53:42",
    "2024-11-25 02:53:42"
  ]
}

application/xml, text/xml

Sample:
<CustomerCondition 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:53:42.1508554+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:53:42.1508554+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">15</_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:53:42.1508554+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:53:42.1508554+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">14</_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:53:42.1508554+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:53:42.1508554+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">17</_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:53:42.1508554+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:53:42.1508554+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">16</_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">11</_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>8</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>9</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
  <_x003C_CategoryKeyword_x003E_k__BackingField>sample string 7</_x003C_CategoryKeyword_x003E_k__BackingField>
  <_x003C_Ftype_x003E_k__BackingField>0</_x003C_Ftype_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_CategroryIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CategroryIds_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>
  <_x003C_UpdateTimeEnd_x003E_k__BackingField>2024-11-25T02:53:42.1508554+08:00</_x003C_UpdateTimeEnd_x003E_k__BackingField>
  <_x003C_UpdateTimeStart_x003E_k__BackingField>2024-11-25T02:53:42.1508554+08:00</_x003C_UpdateTimeStart_x003E_k__BackingField>
</CustomerCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomerSearchModel
NameDescriptionTypeAdditional information
Total

integer

None.

ArrearsTotal

integer

None.

ArrearsAmount

decimal number

None.

CustList

Collection of CustomerListModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Total": 1,
  "ArrearsTotal": 2,
  "ArrearsAmount": 3.0,
  "CustList": [
    {
      "SysId": 1,
      "AsId": 2,
      "CusttypeId": 3,
      "CusttypeName": "sample string 4",
      "CustId": 5,
      "CustNo": "sample string 6",
      "CustName": "sample string 7",
      "Recvr": "sample string 8",
      "RecvMobile": "sample string 9",
      "RecvAddress": "sample string 10",
      "CustGrade": 11,
      "CustGradeName": "sample string 12",
      "ReceivableDate": "2024-11-25 02:53:42",
      "Receivable": 14.0,
      "Received": 15.0,
      "InitAmount": 16.0,
      "LastAmount": 17.0,
      "OFAmount": 18.0,
      "OFStatus": 1010,
      "TaxNo": "sample string 19",
      "Bank": "sample string 20",
      "AcNo": "sample string 21",
      "Sales": 22,
      "SalesName": "sample string 23",
      "SalesNo": "sample string 24",
      "AdLevel0": 25,
      "AdLevel1": 26,
      "AdLevel2": 27,
      "AdLevel3": 28,
      "Address": "sample string 29",
      "Note": "sample string 30",
      "Status": 31,
      "CreatedBy": 32,
      "CreatedDate": "2024-11-25 02:53:42",
      "ModifiedBy": 34,
      "ModifiedDate": "2024-11-25 02:53:42",
      "LinkMan": "sample string 36",
      "LinkManTel": "sample string 37",
      "IM": "sample string 38",
      "BillusedDate": "2024-11-25 02:53:42",
      "StrCreatedDate": "sample string 40",
      "SettlePeriodID": 41,
      "SettlePeriodName": "sample string 42",
      "Credit": 43.0
    },
    {
      "SysId": 1,
      "AsId": 2,
      "CusttypeId": 3,
      "CusttypeName": "sample string 4",
      "CustId": 5,
      "CustNo": "sample string 6",
      "CustName": "sample string 7",
      "Recvr": "sample string 8",
      "RecvMobile": "sample string 9",
      "RecvAddress": "sample string 10",
      "CustGrade": 11,
      "CustGradeName": "sample string 12",
      "ReceivableDate": "2024-11-25 02:53:42",
      "Receivable": 14.0,
      "Received": 15.0,
      "InitAmount": 16.0,
      "LastAmount": 17.0,
      "OFAmount": 18.0,
      "OFStatus": 1010,
      "TaxNo": "sample string 19",
      "Bank": "sample string 20",
      "AcNo": "sample string 21",
      "Sales": 22,
      "SalesName": "sample string 23",
      "SalesNo": "sample string 24",
      "AdLevel0": 25,
      "AdLevel1": 26,
      "AdLevel2": 27,
      "AdLevel3": 28,
      "Address": "sample string 29",
      "Note": "sample string 30",
      "Status": 31,
      "CreatedBy": 32,
      "CreatedDate": "2024-11-25 02:53:42",
      "ModifiedBy": 34,
      "ModifiedDate": "2024-11-25 02:53:42",
      "LinkMan": "sample string 36",
      "LinkManTel": "sample string 37",
      "IM": "sample string 38",
      "BillusedDate": "2024-11-25 02:53:42",
      "StrCreatedDate": "sample string 40",
      "SettlePeriodID": 41,
      "SettlePeriodName": "sample string 42",
      "Credit": 43.0
    }
  ]
}

application/xml, text/xml

Sample:
<CustomerSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <ArrearsAmount>3</ArrearsAmount>
  <ArrearsTotal>2</ArrearsTotal>
  <CustList>
    <CustomerListModel>
      <AcNo>sample string 21</AcNo>
      <AdLevel0>25</AdLevel0>
      <AdLevel1>26</AdLevel1>
      <AdLevel2>27</AdLevel2>
      <AdLevel3>28</AdLevel3>
      <Address>sample string 29</Address>
      <AsId>2</AsId>
      <Bank>sample string 20</Bank>
      <BillusedDate>2024-11-25T02:53:42.1665134+08:00</BillusedDate>
      <CreatedBy>32</CreatedBy>
      <CreatedDate>2024-11-25T02:53:42.1665134+08:00</CreatedDate>
      <Credit>43</Credit>
      <CustGrade>11</CustGrade>
      <CustGradeName>sample string 12</CustGradeName>
      <CustId>5</CustId>
      <CustName>sample string 7</CustName>
      <CustNo>sample string 6</CustNo>
      <CusttypeId>3</CusttypeId>
      <CusttypeName>sample string 4</CusttypeName>
      <IM>sample string 38</IM>
      <InitAmount>16</InitAmount>
      <LastAmount>17</LastAmount>
      <LinkMan>sample string 36</LinkMan>
      <LinkManTel>sample string 37</LinkManTel>
      <ModifiedBy>34</ModifiedBy>
      <ModifiedDate>2024-11-25T02:53:42.1665134+08:00</ModifiedDate>
      <Note>sample string 30</Note>
      <OFAmount>18</OFAmount>
      <OFStatus>None</OFStatus>
      <Receivable>14</Receivable>
      <ReceivableDate>2024-11-25T02:53:42.1665134+08:00</ReceivableDate>
      <Received>15</Received>
      <RecvAddress>sample string 10</RecvAddress>
      <RecvMobile>sample string 9</RecvMobile>
      <Recvr>sample string 8</Recvr>
      <Sales>22</Sales>
      <SalesName>sample string 23</SalesName>
      <SalesNo>sample string 24</SalesNo>
      <SettlePeriodID>41</SettlePeriodID>
      <SettlePeriodName>sample string 42</SettlePeriodName>
      <Status>31</Status>
      <StrCreatedDate>sample string 40</StrCreatedDate>
      <SysId>1</SysId>
      <TaxNo>sample string 19</TaxNo>
    </CustomerListModel>
    <CustomerListModel>
      <AcNo>sample string 21</AcNo>
      <AdLevel0>25</AdLevel0>
      <AdLevel1>26</AdLevel1>
      <AdLevel2>27</AdLevel2>
      <AdLevel3>28</AdLevel3>
      <Address>sample string 29</Address>
      <AsId>2</AsId>
      <Bank>sample string 20</Bank>
      <BillusedDate>2024-11-25T02:53:42.1665134+08:00</BillusedDate>
      <CreatedBy>32</CreatedBy>
      <CreatedDate>2024-11-25T02:53:42.1665134+08:00</CreatedDate>
      <Credit>43</Credit>
      <CustGrade>11</CustGrade>
      <CustGradeName>sample string 12</CustGradeName>
      <CustId>5</CustId>
      <CustName>sample string 7</CustName>
      <CustNo>sample string 6</CustNo>
      <CusttypeId>3</CusttypeId>
      <CusttypeName>sample string 4</CusttypeName>
      <IM>sample string 38</IM>
      <InitAmount>16</InitAmount>
      <LastAmount>17</LastAmount>
      <LinkMan>sample string 36</LinkMan>
      <LinkManTel>sample string 37</LinkManTel>
      <ModifiedBy>34</ModifiedBy>
      <ModifiedDate>2024-11-25T02:53:42.1665134+08:00</ModifiedDate>
      <Note>sample string 30</Note>
      <OFAmount>18</OFAmount>
      <OFStatus>None</OFStatus>
      <Receivable>14</Receivable>
      <ReceivableDate>2024-11-25T02:53:42.1665134+08:00</ReceivableDate>
      <Received>15</Received>
      <RecvAddress>sample string 10</RecvAddress>
      <RecvMobile>sample string 9</RecvMobile>
      <Recvr>sample string 8</Recvr>
      <Sales>22</Sales>
      <SalesName>sample string 23</SalesName>
      <SalesNo>sample string 24</SalesNo>
      <SettlePeriodID>41</SettlePeriodID>
      <SettlePeriodName>sample string 42</SettlePeriodName>
      <Status>31</Status>
      <StrCreatedDate>sample string 40</StrCreatedDate>
      <SysId>1</SysId>
      <TaxNo>sample string 19</TaxNo>
    </CustomerListModel>
  </CustList>
  <Total>1</Total>
</CustomerSearchModel>