Get route limit
From MyMobileWorkers API
Revision as of 15:58, 14 November 2013 by Darren.atherton (Talk | contribs)
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://live.mymobileworkers.com/api/1/routes/route/limit?api_key=TEST_KEY&route_code=ROUTE-001"