Skip to end of metadata
Go to start of metadata

This documentation is no longer actively supported and may be out of date. Going forward, please visit and bookmark our new site (https://docs.phunware.com/) for up-to-date documentation.

AssociationEvent Example Requests

 

This page is a continuation of the Example Requests section of the Deliver the MAC Address to the MARS Server method.

POST the request body to: http://localhost:8889/mars-api.phunware.com/v1.1/api/southbound/6178e93f51604e349f6f8daa10d40dd4106d37bf

Example request bodies for the other Cisco MSE message types can be found here:

MSE 7

For version 7 of MSE, construct the following payload:

{
    "AssociationEvent": 	
	{
        "subscriptionName": "CMX_Association_Event",
        "entity": "WIRELESS_CLIENTS",
        "deviceId": "18:af:61:51:6c:77",
        "locationMapHierarchy": "Phunware_Austin>South>1st_Floor",
        "locationCoordinate": 
		{
            "x": 90.64,
            "y": 80.26,
            "unit": "FEET"
        },
        "geoCoordinate": 
		{
            "lattitude": 33.6600694426,
            "longitude": -117.8614988409,
            "unit": "DEGREES"
        },
        "timestamp": "2014-02-18T20:02:41.218+0000",
        "association": true,
        "apMacAddress": "e8:ed:f3:1b:2e:60",
        "ipAddress": 
		[
            "10.180.181.99",
            "fe80:0000:0000:0000:10c9:596b:3448:1797"
        ]
    }
}

MSE 8

For version 8 of MSE, construct the following payload:

{
    "AssociationEvent": 
	{
        "subscriptionName": "CMX_Association_Event",
        "entity": "WIRELESS_CLIENTS",
        "deviceId": "18:af:61:51:6c:77",
        "confidenceFactor": 64.0,
        "locationMapHierarchy": "Phunware_Austin>South>1st_Floor",
        "locationCoordinate": 
		{
            "x": 90.64,
            "y": 80.26,
            "unit": "FEET"
        },
        "mseUdi": "AIR-MSE-VA-K9:V01:att-corpmse01.phunware.com_31b",
        "geoCoordinate": 
		{
            "latitude": 33.6600694426,
            "longitude": -117.8614988409,
            "unit": "DEGREES"
        },
        "floorRefId": 748833797235015762,
        "association": true,
        "ipAddress": 
		[
            "10.180.181.99",
            "fe80:0000:0000:0000:10c9:596b:3448:1797"
        ],
        "apMacAddress": "e8:ed:f3:1b:2e:60",
        "status": 3,
        "username": "",
        "ssid": Phunware,
        "band": "5.0",
        "dot11Status": "ASSOCIATED",
        "guestUser": false,
        "timestamp": "2014-02-18T20:02:41.218+0000"
    }
}

ON THIS PAGE

  • No labels