Locations
Get locations by geographic coordinates
Returns locations that are near the longitude and latitude specified in the request. Use the filter parameters to make the request more specific.
get/odata/locations/Service.NearBy(latitude={latitude},longitude={longitude})
Request
- Base URLhttps://sb2api.servicechannel.com/v3
- AuthOAuth 2Authorization codehttps://sb2login.servicechannel.com/oauth/authorizeToken URLhttps://sb2login.servicechannel.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
longitudenumber double required
Location’s global position. Longitude.
latitudenumber double required
Location’s global position. Latitude.
Query parameters
$expandstring
Expand a navigation property.
$selectstring
Select a set of properties to return.
$filterstring
Filter a collection of resources addressed by a request URL.
$orderbystring
Order resources by the specified property in the response.
$topinteger
Return the specified number of items in the response.
$skipinteger
Skip the specified number of items in the response.
$countboolean
Include the count of the matching resources in the response.
Response
The requested locations are in the response.
Changes
No recorded changes to this operation across all 1 revision of this API.