POST api/suppliers/{id}/GetOrderedAddressesByGeo
Get Supplier Addresses And Sort It By Geo Location
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
supplier Id |
integer |
Required |
Body Parameters
Geo Coordinates
Name | Description | Type | Additional information |
---|---|---|---|
Longitude |
Longitude |
decimal number |
None. |
Latitude |
Latitude |
decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "longitude": 1.1, "latitude": 2.1 }
Response Information
supplier info
Name | Description | Type | Additional information |
---|---|---|---|
AddressLine |
Address Line |
string |
None. |
AddressId |
Address Id |
integer |
None. |
City |
City |
string |
None. |
Phone |
Phone |
string |
None. |
WebSite |
Web Site |
string |
None. |
PostCode |
PostCode |
string |
None. |
Latitude |
Latitude |
decimal number |
None. |
Longitude |
Longitude |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "addressLine": "sample string 1", "addressId": 2, "city": "sample string 3", "phone": "sample string 4", "webSite": "sample string 5", "postCode": "sample string 6", "latitude": 1.1, "longitude": 1.1 }, { "addressLine": "sample string 1", "addressId": 2, "city": "sample string 3", "phone": "sample string 4", "webSite": "sample string 5", "postCode": "sample string 6", "latitude": 1.1, "longitude": 1.1 } ]