NOTE:You require a username,password and apikey to make use of this web service.
| https://www.wiru.co.za/api/AUTH |
| username | Provided username | required |
| password | Provided password | required |
| apikey | Provided apikey | required |
| { "username": "your username", "session_start": "Api session timer start", "session_stop": "Api session timer stop", "api_call_limit": "Your Api call limit", "current_api_call_count": "Your current api count", "token": "Token for current session" } |
|
INVALID USERNAME/PASSWORD/APIKEY COMBINATION JSON data returned: { "message": "Invalid username,password or api_key combination" } |
|
INVALID METHOD JSON data returned: { "message": "Invalid method" } |
| token | Token received from AUTH method | required |
| GPSX | Location GPSX(Latitude) | required |
| GPSY | Location GPSY(Longitude) | required |
| Detailed | Option "yes" or "no". | default is "no" |
| Token received from AUTH method - REQUIRED to do a coverage check |
| Token has a session timer, if session time expires new AUTH method must be called to get new token. |
| Detailed : if set to yes, returns detailed coverage check results. |
| Note: Only results for services, networks you have access too would be returned. { "reference": "745eb2fc", "networks": { { "non_rush": "OK" }, { "rush": "OK" }, { "vuma": "OK" }, { "dfa": "OK" }, { "evotel": "OK" }, { "sadv": "OK" } } } reference return unique coverage check reference. service array return of successful coverage services. networks array return of all network results as per request. |
|
INVALID TOKEN SPECIFIED JSON data returned: { "message": "ERROR: Invalid Token" } |
|
INVALID GPSX SPECIFIED JSON data returned: { "message": "GPSX can not be blank" } |
|
INVALID GPSY SPECIFIED JSON data returned: { "message": "GPSY can not be blank" } |
|
INVALID METHOD JSON data returned: { "message": "Invalid method" } |