POST jxc_api/SimpleResource/GetSimpleCustomers

搜索简版的客户信息,现仅用于PC客户选择弹框

Request Information

URI Parameters

None.

Body Parameters

CustomerCondition
NameDescriptionTypeAdditional information
SearchText

查询关键字

string

None.

Status

是否显示禁用

boolean

None.

CategroryIds

类别id集合

Collection of integer

None.

PageIndex

页数,第一页为第0页,以次类推

integer

None.

PageSize

每页数量

integer

None.

UsePager

是否使用分页

boolean

None.

CurrUserSn

当前用户编号

integer

None.

CanViewAllBill

是否可以查看所有单据

boolean

None.

CanOpeAllWh

是否可以打开所有的仓库

boolean

None.

OpeWhList

能打开的仓库列表

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SearchText": "sample string 1",
  "Status": true,
  "CategroryIds": [
    1,
    2
  ],
  "PageIndex": 3,
  "PageSize": 4,
  "UsePager": true,
  "CurrUserSn": 6,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

搜索简版的客户信息,现仅用于PC客户选择弹框

Collection of SimpleCustomer
NameDescriptionTypeAdditional information
CustId

integer

None.

CustNo

string

None.

CustName

string

None.

CatId

integer

None.

CatName

string

None.

ContactId

integer

None.

ContactName

string

None.

Phone

string

None.

LevelId

客户等级

integer

None.

Receiver

收货人

string

None.

ReceiverMobile

手机号码

string

None.

ReceiverAddress

收货地址

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustId": 1,
    "CustNo": "sample string 2",
    "CustName": "sample string 3",
    "CatId": 4,
    "CatName": "sample string 5",
    "ContactId": 6,
    "ContactName": "sample string 7",
    "Phone": "sample string 8",
    "LevelId": 9,
    "Receiver": "sample string 10",
    "ReceiverMobile": "sample string 11",
    "ReceiverAddress": "sample string 12"
  },
  {
    "CustId": 1,
    "CustNo": "sample string 2",
    "CustName": "sample string 3",
    "CatId": 4,
    "CatName": "sample string 5",
    "ContactId": 6,
    "ContactName": "sample string 7",
    "Phone": "sample string 8",
    "LevelId": 9,
    "Receiver": "sample string 10",
    "ReceiverMobile": "sample string 11",
    "ReceiverAddress": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSimpleCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Framework.Models">
  <SimpleCustomer>
    <CatId>4</CatId>
    <CatName>sample string 5</CatName>
    <ContactId>6</ContactId>
    <ContactName>sample string 7</ContactName>
    <CustId>1</CustId>
    <CustName>sample string 3</CustName>
    <CustNo>sample string 2</CustNo>
    <LevelId>9</LevelId>
    <Phone>sample string 8</Phone>
    <Receiver>sample string 10</Receiver>
    <ReceiverAddress>sample string 12</ReceiverAddress>
    <ReceiverMobile>sample string 11</ReceiverMobile>
  </SimpleCustomer>
  <SimpleCustomer>
    <CatId>4</CatId>
    <CatName>sample string 5</CatName>
    <ContactId>6</ContactId>
    <ContactName>sample string 7</ContactName>
    <CustId>1</CustId>
    <CustName>sample string 3</CustName>
    <CustNo>sample string 2</CustNo>
    <LevelId>9</LevelId>
    <Phone>sample string 8</Phone>
    <Receiver>sample string 10</Receiver>
    <ReceiverAddress>sample string 12</ReceiverAddress>
    <ReceiverMobile>sample string 11</ReceiverMobile>
  </SimpleCustomer>
</ArrayOfSimpleCustomer>