{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/trackme/alive/{customerId}/{token}.json","auth":"required","method":"get","examples":{"codes":[]},"results":{"codes":[{"status":200,"language":"json","code":"{  \n   \"trackMeFeed\":{  \n      \"code\":200,\n      \"message\":\"The TrackMe link for the token C1JJW59V5 is true\",\n      \"generatedAtInMillis\":1484635988422,\n      \"alive\":true,\n      \"startLat\":35.384375,\n      \"startLng\":-97.22166,\n      \"destLat\":35.392426,\n      \"destLng\":-97.264345\n   }\n}","name":""}]},"settings":"559288b86bf22f170075b794","params":[{"name":"customerId","type":"int","default":"","desc":"Unique identifier representing the customer","required":true,"in":"path","ref":"","_id":"59520a4bf8a1ac001b0f66b1"},{"name":"token","type":"string","default":"","desc":"Unique identifier representing the TrackMe link","required":true,"in":"path","ref":"","_id":"59520a4bf8a1ac001b0f66b0"}]},"next":{"description":"","pages":[]},"title":"Status","type":"endpoint","slug":"status","excerpt":"Use this API to get the status of the TrackMe link i.e. if it is active or inactive. This API also returns the coordinates of the start and end locations.","body":"[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Sample Request\",\n  \"body\": \"https://api.azuga.com/azuga-ws/v1/trackme/alive/3360/C1JJW59V5.json\"\n}\n[/block]\n##API Response Explanation \n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"code\",\n    \"1-0\": \"message\",\n    \"2-0\": \"generatedAtInMillis\",\n    \"3-0\": \"alive\",\n    \"4-0\": \"startLat\",\n    \"5-0\": \"startLng\",\n    \"6-0\": \"destLat\",\n    \"7-0\": \"destLng\",\n    \"0-1\": \"API status code\",\n    \"1-1\": \"API message (Success/Failure)\",\n    \"2-1\": \"API generation timestamp in UTC\",\n    \"3-1\": \"Boolean to indicate if the TrackMe link is active or not\",\n    \"4-1\": \"Latitude coordinate of the location where tracking started\",\n    \"5-1\": \"Longitude coordinate of the location where tracking started\",\n    \"6-1\": \"Latitude coordinate of the destination\",\n    \"7-1\": \"Longitude coordinate of the destination\"\n  },\n  \"cols\": 2,\n  \"rows\": 8\n}\n[/block]","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"59520a4bf8a1ac001b0f66af","project":"55926c913735880d005f7c65","version":{"version":"1","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["559286c7c39c4b2d00127a72","55928a98c39c4b2d00127a83","5592bd7b9a68220d00f1c3db","5593dcaf0e82e81700334e25","5594342f0c33bd0d000595a3","563081713998420d00a509e4","5630941c7581b80d00c51c86","56309f4ff1c0580d00fac666","567923b8239fac0d00c7df25","573306dea6a9c40e00e13875","577a288fd051530e00f65563","579af3982b865e17005a4357","57ee06aa1e42900e0014a374","5951f49a63f39000159e7ef1","5951f4c563f39000159e7ef2","598951542a9dfc000fcacd40","5b3375cc98cb500003e4b363","5bbcd4e29667280003084100"],"_id":"559286c6c39c4b2d00127a71","createdAt":"2015-06-30T12:08:38.768Z","project":"55926c913735880d005f7c65","releaseDate":"2015-06-30T12:08:38.768Z","__v":18,"forked_from":"559286b6c39c4b2d00127a6e"},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"TRACKME","slug":"trackme","order":9999,"from_sync":false,"reference":false,"_id":"5951f4c563f39000159e7ef2","project":"55926c913735880d005f7c65","version":"559286c6c39c4b2d00127a71","createdAt":"2017-06-27T06:01:41.941Z","__v":0},"user":"5656a3dd5656350d001d83a0","createdAt":"2017-06-27T07:33:31.933Z","githubsync":"","__v":0,"parentDoc":null}

getStatus

Use this API to get the status of the TrackMe link i.e. if it is active or inactive. This API also returns the coordinates of the start and end locations.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

customerId:
required
integer
Unique identifier representing the customer
token:
required
string
Unique identifier representing the TrackMe link

Result Format


Documentation

[block:callout] { "type": "info", "title": "Sample Request", "body": "https://api.azuga.com/azuga-ws/v1/trackme/alive/3360/C1JJW59V5.json" } [/block] ##API Response Explanation [block:parameters] { "data": { "0-0": "code", "1-0": "message", "2-0": "generatedAtInMillis", "3-0": "alive", "4-0": "startLat", "5-0": "startLng", "6-0": "destLat", "7-0": "destLng", "0-1": "API status code", "1-1": "API message (Success/Failure)", "2-1": "API generation timestamp in UTC", "3-1": "Boolean to indicate if the TrackMe link is active or not", "4-1": "Latitude coordinate of the location where tracking started", "5-1": "Longitude coordinate of the location where tracking started", "6-1": "Latitude coordinate of the destination", "7-1": "Longitude coordinate of the destination" }, "cols": 2, "rows": 8 } [/block]

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}