POST api/suppliers/{id}/GetOrderedAddressesByGeo/OnContentSet/{isOnContentSet}

Get Supplier Addresses And Sort It By Geo Location

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

supplier Id

integer

Required

isOnContentSet

Turn On to use ContentSet options

boolean

Required

Body Parameters

Geo Coordinates

NameDescriptionTypeAdditional 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

NameDescriptionTypeAdditional 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
  }
]