GET api/Routing/GetNearestStorage?lat={lat}&lon={lon}&country={country}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| lat | decimal number |
Required |
|
| lon | decimal number |
Required |
|
| country | string |
Required |
Body Parameters
None.
Response Information
Resource Description
EntityReference| Name | Description | Type | Additional 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": "83a0016f-dcd0-4af0-a822-415fa19e0735",
"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>83a0016f-dcd0-4af0-a822-415fa19e0735</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>