POST api/Other
同步用户位置信息
Request Information
URI Parameters
None.
Body Parameters
UserLocationBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UnionID |
微信用户UnionID |
string |
None. |
| Lat |
Lat |
string |
None. |
| Lng |
Lng |
string |
None. |
| ShopId |
商家账号ShopId |
string |
None. |
| Sign |
签名 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UnionID": "sample string 1",
"Lat": "sample string 2",
"Lng": "sample string 3",
"ShopId": "sample string 4",
"Sign": "sample string 5"
}
application/xml, text/xml
Sample:
<OtherController.UserLocationBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Controllers"> <Lat>sample string 2</Lat> <Lng>sample string 3</Lng> <ShopId>sample string 4</ShopId> <Sign>sample string 5</Sign> <UnionID>sample string 1</UnionID> </OtherController.UserLocationBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResultModels2| Name | Description | Type | Additional information |
|---|---|---|---|
| Errcode |
返回Code(-1请求失败,0请求成功,1调用支付) |
integer |
None. |
| Errmsg |
返回提示消息 |
string |
None. |
| ErrShowType |
返回错误消息提示方式0消息提示,1弹框提示 |
integer |
None. |
| Url |
返回Url |
string |
None. |
| ResultData |
返回数据 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Errcode": 1,
"Errmsg": "sample string 2",
"ErrShowType": 3,
"Url": "sample string 4",
"ResultData": "sample string 5"
}
application/xml, text/xml
Sample:
<OtherController.BaseResultModels2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Controllers"> <ErrShowType>3</ErrShowType> <Errcode>1</Errcode> <Errmsg>sample string 2</Errmsg> <ResultData>sample string 5</ResultData> <Url>sample string 4</Url> </OtherController.BaseResultModels2>