GET dz_api/CustomerSource/GetSourceList

获取客户来源列表

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

获取客户来源列表

Collection of CustomerSourceInfo
NameDescriptionTypeAdditional information
SourceId

来源ID

integer

None.

SourceName

来源名称

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SourceId": 1,
    "SourceName": "sample string 2"
  },
  {
    "SourceId": 1,
    "SourceName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerSourceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
  <CustomerSourceInfo>
    <_x003C_SourceId_x003E_k__BackingField>1</_x003C_SourceId_x003E_k__BackingField>
    <_x003C_SourceName_x003E_k__BackingField>sample string 2</_x003C_SourceName_x003E_k__BackingField>
  </CustomerSourceInfo>
  <CustomerSourceInfo>
    <_x003C_SourceId_x003E_k__BackingField>1</_x003C_SourceId_x003E_k__BackingField>
    <_x003C_SourceName_x003E_k__BackingField>sample string 2</_x003C_SourceName_x003E_k__BackingField>
  </CustomerSourceInfo>
</ArrayOfCustomerSourceInfo>