GET api/Mall/GetNearShop?longitude={longitude}&latitude={latitude}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| longitude | decimal number |
Required |
|
| latitude | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
Shop| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| Name | string |
None. |
|
| Longitude | decimal number |
None. |
|
| Latitude | decimal number |
None. |
|
| Address | string |
None. |
|
| Phone | string |
None. |
|
| ErpCode | string |
None. |
|
| Length | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"CompanyID": 2,
"Name": "sample string 3",
"Longitude": 4.0,
"Latitude": 5.0,
"Address": "sample string 6",
"Phone": "sample string 7",
"ErpCode": "sample string 8",
"Length": 9.1
}
application/xml, text/xml
Sample:
<Shop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProTech.Member.Entity"> <Address>sample string 6</Address> <CompanyID>2</CompanyID> <ErpCode>sample string 8</ErpCode> <ID>1</ID> <Latitude>5</Latitude> <Length>9.1</Length> <Longitude>4</Longitude> <Name>sample string 3</Name> <Phone>sample string 7</Phone> </Shop>