Get route limit
From MyMobileWorkers API
Summary
| Get route limit | ||
|---|---|---|
| URL | http://:base_url/:api_path/:version/routes/route/limit?api_key=YOUR_KEY&route_code=CODE | |
| Type | GET | |
| Params: | api_key | required |
| route_code | required | |
| Response | JSON | |
The get route limit method returns the (weight) limit of a route as set in the portal.
Example response
{"limit":180.0}
Example curl request
curl "http://api.mymobileworkers.com:8080/api/1/routes/route/limit?api_key=TEST_KEY&route_code=ROUTE-001"