cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
479
Views
0
Helpful
0
Replies

Mobility API MacAddress

Hi There,

I am very new to this whole Mobility API thing. After reading the documentation online I started playing with them. But I think I am lost a little bit.

I was playing with the following API. What my understanding is that, with this API I'll get all the instances of provided MacAddress, making any attempt to connect to our network or any successful connection. But the response I received doesn't contain this MacAddress at all.

Is this expected behaviour or I am doing something wrong or may be my understanding is wrong?

https://<ipaddress>/api/contextaware/v1/location/history/clients/20:64:32:43:1c:4a?locatedAfterTime=2014-09-05T00%3A00%3A00.000%2B1000&page=1&pageSize=50

Response

{

    "Locations": {

        "totalPages": 1,

        "currentPage": 1,

        "pageSize": 4,

        "entries": [

            {

                "macAddress": "48:d7:05:18:26:c4",

                "currentlyTracked": true,

                "confidenceFactor": 96,

                "historyLogReason": "FLOOR_CHANGE",

                "band": "UNKNOWN",

                "isGuestUser": false,

                "dot11Status": "PROBING",

                "MapInfo": {

                    "mapHierarchyString": "System Campus>Location 1>1st Floor",

                    "floorRefId": -6046596877913159876,

                    "Dimension": {

                        "length": 156.5,

                        "width": 257.55,

                        "height": 9.84,

                        "offsetX": 0,

                        "offsetY": 0,

                        "unit": "FEET"

                    }

                },

                "MapCoordinate": {

                    "x": 95.57,

                    "y": 81.37,

                    "unit": "FEET"

                },

                "Statistics": {

                    "currentServerTime": "2014-09-05T08:44:59.466+1000",

                    "firstLocatedTime": "2014-09-05T07:31:11.661+1000",

                    "lastLocatedTime": "2014-09-05T07:32:49.978+1000"

                }

            },

            {

                "macAddress": "40:b3:95:45:2e:52",

                "currentlyTracked": true,

                "confidenceFactor": 184,

                "historyLogReason": "SIGNIFICANT_MOVEMENT",

                "band": "UNKNOWN",

                "isGuestUser": false,

                "dot11Status": "PROBING",

                "MapInfo": {

                    "mapHierarchyString": "System Campus>Location 2>Level 4",

                    "floorRefId": -6046596877913161142,

                    "Dimension": {

                        "length": 273.62,

                        "width": 357.28,

                        "height": 9.84,

                        "offsetX": 0,

                        "offsetY": 0,

                        "unit": "FEET"

                    }

                },

                "MapCoordinate": {

                    "x": 174.53,

                    "y": 170.54,

                    "unit": "FEET"

                },

                "Statistics": {

                    "currentServerTime": "2014-09-05T08:44:59.466+1000",

                    "firstLocatedTime": "2014-09-05T07:32:59.839+1000",

                    "lastLocatedTime": "2014-09-05T07:36:00.006+1000"

                }

            },

            {

                "macAddress": "cc:3a:61:84:23:a8",

                "currentlyTracked": true,

                "confidenceFactor": 104,

                "historyLogReason": "SIGNIFICANT_MOVEMENT",

                "band": "UNKNOWN",

                "isGuestUser": false,

                "dot11Status": "PROBING",

                "MapInfo": {

                    "mapHierarchyString": "System Campus>Location 2>Level 4",

                    "floorRefId": -6046596877913161142,

                    "Dimension": {

                        "length": 273.62,

                        "width": 357.28,

                        "height": 9.84,

                        "offsetX": 0,

                        "offsetY": 0,

                        "unit": "FEET"

                    }

                },

                "MapCoordinate": {

                    "x": 249.48,

                    "y": 91.66,

                    "unit": "FEET"

                },

                "Statistics": {

                    "currentServerTime": "2014-09-05T08:44:59.466+1000",

                    "firstLocatedTime": "2014-09-05T06:55:11.484+1000",

                    "lastLocatedTime": "2014-09-05T07:41:10.039+1000"

                }

            },

            {

                "macAddress": "00:0b:28:0b:1d:9f",

                "currentlyTracked": true,

                "confidenceFactor": 144,

                "historyLogReason": "SIGNIFICANT_MOVEMENT",

                "band": "UNKNOWN",

                "isGuestUser": false,

                "dot11Status": "PROBING",

                "MapInfo": {

                    "mapHierarchyString": "System Campus>Location 3>Ground Floor",

                    "floorRefId": -6046596877913161544,

                    "Dimension": {

                        "length": 278.87,

                        "width": 344.49,

                        "height": 49.21,

                        "offsetX": 0,

                        "offsetY": 0,

                        "unit": "FEET"

                    }

                },

                "MapCoordinate": {

                    "x": 159.66,

                    "y": 167.29,

                    "unit": "FEET"

                },

                "Statistics": {

                    "currentServerTime": "2014-09-05T08:44:59.466+1000",

                    "firstLocatedTime": "2014-09-05T05:19:02.857+1000",

                    "lastLocatedTime": "2014-09-05T07:38:40.022+1000"

                }

            }

        ]

    }

}

Everyone's tags (3)
CreatePlease to create content