GET api/GetDistanceMatrix?originAddress={originAddress}&destinationAddress={destinationAddress}&orgId={orgId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
originAddress | string |
Required |
|
destinationAddress | string |
Required |
|
orgId | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
DistanceMatrixDetailName | Description | Type | Additional information |
---|---|---|---|
originAddress | string |
None. |
|
destinationAddress | string |
None. |
|
originGeoLocation | string |
None. |
|
destinationGeoLocation | string |
None. |
|
driveTimeText | string |
None. |
|
driveTimeSeconds | string |
None. |
|
distanceText | string |
None. |
|
distanceInMeter | string |
None. |
|
status | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "originAddress": "sample string 1", "destinationAddress": "sample string 2", "originGeoLocation": "sample string 3", "destinationGeoLocation": "sample string 4", "driveTimeText": "sample string 5", "driveTimeSeconds": "sample string 6", "distanceText": "sample string 7", "distanceInMeter": "sample string 8", "status": "sample string 9" }
application/xml, text/xml
Sample:
<DistanceMatrixDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RouteOptimizerWebAPI.Models"> <destinationAddress>sample string 2</destinationAddress> <destinationGeoLocation>sample string 4</destinationGeoLocation> <distanceInMeter>sample string 8</distanceInMeter> <distanceText>sample string 7</distanceText> <driveTimeSeconds>sample string 6</driveTimeSeconds> <driveTimeText>sample string 5</driveTimeText> <originAddress>sample string 1</originAddress> <originGeoLocation>sample string 3</originGeoLocation> <status>sample string 9</status> </DistanceMatrixDetail>