Documentation for the BeMap API, including authentication and routing services.
BeMap Sandbox (1.0.0)
Download OpenAPI description
Overview
License
Languages
Servers
Mock server
https://docs.benomad.com/_mock/openapi/
Beta environment
https://bemap-beta.benomad.com/
Preproduction environment
https://bemap-preprod.benomad.com/
Production environment
https://bemap-prod.benomad.com/
- Mock serverhttps://docs.benomad.com/_mock/openapi/bgis/service/routing/1.0
- Beta environmenthttps://bemap-beta.benomad.com/bgis/service/routing/1.0
- Preproduction environmenthttps://bemap-preprod.benomad.com/bgis/service/routing/1.0
- Production environmenthttps://bemap-prod.benomad.com/bgis/service/routing/1.0
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://docs.benomad.com/_mock/openapi/bgis/service/routing/1.0 \
-H 'Content-Type: application/json' \
-d '{
"destinations": [
{
"coordinateSat": {
"lon": 0,
"lat": 0
}
}
],
"routingVehicleProfile": {
"transportMode": "CAR",
"routingVehicleFeature": {
"height": 0,
"width": 0,
"length": 0,
"weight": 0,
"axleWeight": 0,
"adrTunnelCategory": "string",
"caravan": "string",
"cial": "string",
"disEquipped": "string",
"emissionClass": "string",
"hazardousMaterials": "string",
"hov": "string",
"hybrid": "string",
"nbPassengers": 0,
"nbTires": 0,
"nbTrailAxles": 0,
"nbTrailer": 0,
"nbVehAxles": 0,
"onlyPhysical": true,
"pollMin": "string",
"tollTransportCategory": "string",
"trailHeight": 0,
"vehHeight": 0,
"vehWeight": 0
}
},
"routingEnergyVehicleFeature": {
"auxConsumption": 0,
"batCapacity": 0,
"crr": 0,
"engineEfficiency": 0,
"payload": 0,
"recuperation": 0,
"scx": 0,
"temperature": 0,
"userSpeed": 0,
"windDirection": 0,
"windSpeed": 0
},
"routingSpeedPonderations": [
{
"factor": 1,
"level": 0,
"pondType": "string",
"roadType": "string"
}
],
"routingCriterias": [
"string"
],
"routingMode": "MODE_VIAS",
"outputLanguage": "fr",
"options": [
"string"
]
}'Response
application/json
{ "route": { "duration": 320, "distance": 7500, "segments": [ … ] } }