GET api/Routing/GetNearestClosestFO?lat={lat}&lon={lon}&country={country}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lat

decimal number

Required

lon

decimal number

Required

country

string

Required

Body Parameters

None.

Response Information

Resource Description

EntityReference
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

LogicalName

string

None.

Name

string

None.

KeyAttributes

Collection of Object

None.

RowVersion

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "74a2e9ab-c271-4dd7-b620-c8af69fb0f26",
  "LogicalName": "sample string 2",
  "Name": "sample string 3",
  "KeyAttributes": [],
  "RowVersion": "sample string 4"
}

application/xml, text/xml

Sample:
<EntityReference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <Id>74a2e9ab-c271-4dd7-b620-c8af69fb0f26</Id>
  <KeyAttributes xmlns:d2p1="http://schemas.microsoft.com/xrm/7.1/Contracts" xmlns:d2p2="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <LogicalName>sample string 2</LogicalName>
  <Name>sample string 3</Name>
  <RowVersion>sample string 4</RowVersion>
</EntityReference>