Smart Route Optimization

FREEMIUM
Door cargopooling | Bijgewerkt a month ago | Travel
Populariteit

0 / 10

Latency

10,532ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

Request error

Rapid account: Giu
giu
8 years ago

When I try to test my request in /cargopooling/smart-route-optimization, I get the following message error:
{“message”:“Authentication header param not found.”,“detail”:“Check API configuration”,“version”:“1.0.0.10”,“status”:false,“copyright”:“Cargopooling Inc. 101 Federal St Ste 1900 Boston, MA 02110 United States of America”,“type”:“BadRequestException”}

Request:
curl -X POST --include ‘https://smart-cargo.p.mashape.com/smart-cargo/resolve
-H ‘X-Mashape-Key: 9M1pTi5p0HmshUyEhzsxcqf7HvIFp1kcz26jsnjNUvMz96nkJ8’
-H ‘Content-Type: application/json’
-H ‘Accept: application/json’
–data-binary ‘{“vehicleTypes”:[{“id”:“abcd”,“capacityDimension”:[{“index”:0,“value”:30}],“costPerDistance”:1,“costPerTransportTime”:10,“costPerServiceTime”:10,“costPerWaitingTime”:10,“fixedCost”:0,“maxVelocity”:40}],“vehicles”:[{“id”:“Pagano”,“type”:“abcd”,“returnToDepot”:true,“startLocation”:{“lat”:41.86174,“lng”:12.553009}}],“services”:[{“name”:“Papiria”,“serviceTime”:0.2,“dimension”:[{“index”:0,“value”:1}],“location”:{“lat”:41.864122,“lng”:12.558634}},{“name”:“Quadraro”,“serviceTime”:0.2,“dimension”:[{“index”:0,“value”:1}],“location”:{“lat”:41.855254,“lng”:12.548612}}],“pickups”:[],“deliveries”:[],“shipments”:[]}’

Rapid account: Cargopooling
cargopooling Commented 8 years ago

Thanks

Rapid account: Giu
giu Commented 8 years ago

Perfect, now it works. Thanks.

Rapid account: Cargopooling
cargopooling Commented 8 years ago

Hello,

can you try again?
Let us know if is been fixed.
Thanks

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen