POST spsapi/DMSMap/GetMapCustomer
客户省市区分布图
Request Information
URI Parameters
None.
Body Parameters
ProvinceCityCustomerRequestName | Description | Type | Additional information |
---|---|---|---|
RegionName |
省市区名称 |
string |
None. |
RegionType |
省市区层级:中国-0 省-1 市-2 区-3 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "RegionName": "sample string 1", "RegionType": "sample string 2" }
application/xml, text/xml
Sample:
<ProvinceCityCustomerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DMSMapModels"> <RegionName>sample string 1</RegionName> <RegionType>sample string 2</RegionType> </ProvinceCityCustomerRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DMSMapPageResultOfProvinceCityCustomerDtoName | Description | Type | Additional information |
---|---|---|---|
rows | Collection of ProvinceCityCustomerDto |
None. |
|
total | integer |
None. |
|
errcode |
错误编码 100:error 401:鉴权失败;200:成功;500:内部错误; |
ErrCode |
None. |
message |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "rows": [ { "id": "sample string 1", "name": "sample string 2", "value": 3.0 }, { "id": "sample string 1", "name": "sample string 2", "value": 3.0 } ], "total": 1, "errcode": 2, "message": "sample string 2" }
application/xml, text/xml
Sample:
<DMSMapPageResultOfProvinceCityCustomerDtoLzP_Stur8 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DMSMapModels"> <errcode>Error</errcode> <message>sample string 2</message> <rows> <ProvinceCityCustomerDto> <id>sample string 1</id> <name>sample string 2</name> <value>3</value> </ProvinceCityCustomerDto> <ProvinceCityCustomerDto> <id>sample string 1</id> <name>sample string 2</name> <value>3</value> </ProvinceCityCustomerDto> </rows> <total>1</total> </DMSMapPageResultOfProvinceCityCustomerDtoLzP_Stur8>