POST spsapi/DMSMap/GetAuthMapCustomer
Request Information
URI Parameters
None.
Body Parameters
ProvinceCityCustomerV2RequestName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
RegionName |
省市区名称 |
string |
None. |
RegionType |
省市区层级:中国-0 省-1 市-2 区-3 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": 1, "RegionName": "sample string 1", "RegionType": "sample string 2" }
application/xml, text/xml
Sample:
<ProvinceCityCustomerV2Request 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> <UserId>1</UserId> </ProvinceCityCustomerV2Request>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DMSMapPageResultOfProvinceCityCustomerV2DtoName | Description | Type | Additional information |
---|---|---|---|
rows | Collection of ProvinceCityCustomerV2Dto |
None. |
|
total | integer |
None. |
|
errcode |
错误编码 100:error 401:鉴权失败;200:成功;500:内部错误; |
ErrCode |
None. |
message |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "rows": [ { "type": 1, "id": "sample string 1", "name": "sample string 2", "value": 3.0 }, { "type": 1, "id": "sample string 1", "name": "sample string 2", "value": 3.0 } ], "total": 1, "errcode": 2, "message": "sample string 2" }
application/xml, text/xml
Sample:
<DMSMapPageResultOfProvinceCityCustomerV2DtoLzP_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> <ProvinceCityCustomerV2Dto> <id>sample string 1</id> <name>sample string 2</name> <value>3</value> <type>1</type> </ProvinceCityCustomerV2Dto> <ProvinceCityCustomerV2Dto> <id>sample string 1</id> <name>sample string 2</name> <value>3</value> <type>1</type> </ProvinceCityCustomerV2Dto> </rows> <total>1</total> </DMSMapPageResultOfProvinceCityCustomerV2DtoLzP_Stur8>