POST api/VisitActivity/GetCustomerList?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
获取终端列表
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
DomainId |
域Id |
globally unique identifier |
None. |
AccountId |
账户Id |
globally unique identifier |
None. |
PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
GetCustomerListParametertyParameterName | Description | Type | Additional information |
---|---|---|---|
pageIndex | integer |
None. |
|
pageSize | integer |
None. |
|
customerName | string |
None. |
|
LAT | string |
None. |
|
LNG | string |
None. |
|
CustomerTypeKey | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "pageIndex": 1, "pageSize": 2, "customerName": "sample string 3", "LAT": "sample string 4", "LNG": "sample string 5", "CustomerTypeKey": [ "6555864c-6c5d-4e02-a20d-856cbf73b507", "a6b805e6-8793-4274-b757-0c9bf9537eb6" ] }
application/xml, text/xml
Sample:
<GetCustomerListParametertyParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.VisitActivity.ViewModel"> <CustomerTypeKey xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>6555864c-6c5d-4e02-a20d-856cbf73b507</d2p1:guid> <d2p1:guid>a6b805e6-8793-4274-b757-0c9bf9537eb6</d2p1:guid> </CustomerTypeKey> <LAT>sample string 4</LAT> <LNG>sample string 5</LNG> <customerName>sample string 3</customerName> <pageIndex>1</pageIndex> <pageSize>2</pageSize> </GetCustomerListParametertyParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfCustomersListVMName | Description | Type | Additional information |
---|---|---|---|
Code | ReturnCode |
None. |
|
Message | string |
None. |
|
Data | CustomersListVM |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 200, "Message": "sample string 1", "Data": { "Total": "sample string 1", "customers": [ { "TID": "07e8ba1f-7448-482c-aeb6-2ab12bcda585", "CustomerName": "sample string 2", "CustomerNumber": "sample string 3", "Contactor": "sample string 4", "Manager": "sample string 5", "ContactorTel": "sample string 6", "Address": "sample string 7", "Distance": "sample string 8", "CustormerImage": "sample string 9" }, { "TID": "07e8ba1f-7448-482c-aeb6-2ab12bcda585", "CustomerName": "sample string 2", "CustomerNumber": "sample string 3", "Contactor": "sample string 4", "Manager": "sample string 5", "ContactorTel": "sample string 6", "Address": "sample string 7", "Distance": "sample string 8", "CustormerImage": "sample string 9" } ] } }
application/xml, text/xml
Sample:
<ResultModelOfCustomersListVM1zGEDGu4 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.VisitActivity.ViewModel"> <d2p1:Total>sample string 1</d2p1:Total> <d2p1:customers> <d2p1:CustomerVM> <d2p1:Address>sample string 7</d2p1:Address> <d2p1:Contactor>sample string 4</d2p1:Contactor> <d2p1:ContactorTel>sample string 6</d2p1:ContactorTel> <d2p1:CustomerName>sample string 2</d2p1:CustomerName> <d2p1:CustomerNumber>sample string 3</d2p1:CustomerNumber> <d2p1:CustormerImage>sample string 9</d2p1:CustormerImage> <d2p1:Distance>sample string 8</d2p1:Distance> <d2p1:Manager>sample string 5</d2p1:Manager> <d2p1:TID>07e8ba1f-7448-482c-aeb6-2ab12bcda585</d2p1:TID> </d2p1:CustomerVM> <d2p1:CustomerVM> <d2p1:Address>sample string 7</d2p1:Address> <d2p1:Contactor>sample string 4</d2p1:Contactor> <d2p1:ContactorTel>sample string 6</d2p1:ContactorTel> <d2p1:CustomerName>sample string 2</d2p1:CustomerName> <d2p1:CustomerNumber>sample string 3</d2p1:CustomerNumber> <d2p1:CustormerImage>sample string 9</d2p1:CustormerImage> <d2p1:Distance>sample string 8</d2p1:Distance> <d2p1:Manager>sample string 5</d2p1:Manager> <d2p1:TID>07e8ba1f-7448-482c-aeb6-2ab12bcda585</d2p1:TID> </d2p1:CustomerVM> </d2p1:customers> </Data> <Message>sample string 1</Message> </ResultModelOfCustomersListVM1zGEDGu4>