Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

AbsenceEvent 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:

{
    "AbsenceEvent": 
	{
        "subscriptionName": "CMX_Absence_Event",
        "entity": "WIRELESS_CLIENTS",
        "deviceId": "9c:04:eb:a5:94:49",
        "locationMapHierarchy": "Phunware_Austin>South>1st_Floor",
        "locationCoordinate": 
		{
            "x": 223.45,
            "y": 23.44,
            "unit": "FEET"
        },
        "absenceDurationInMinutes": 30,
        "geoCoordinate":
		{
            "lattitude": 30.3598096444,
            "longitude": -97.7419564503,
            "unit": "DEGREES"
        },
        "lastSeen": "2014-10-10T14:23:40.539+0000",
        "timestamp": "2014-10-10T14:54:10.540+0000"
    }
}

MSE 8

For version 8 of MSE, construct the following payload:

{
    "AbsenceEvent": 
	{
        "subscriptionName": "CMX_Absence_Event",
        "entity": "WIRELESS_CLIENTS",
        "deviceId": "9c:04:eb:a5:94:49",
        "confidenceFactor": 50,
        "locationMapHierarchy": "Phunware_Austin>South>1st_Floor",
        "locationCoordinate": 
		{
            "x": 223.45,
            "y": 23.44,
            "unit": "FEET"
        },
        "mseUdi": "AIR-MSE-VA-K9:V01:att-corpmse01.phunware.com_31b",
        "geoCoordinate": 
		{
            "latitude": 30.3598096444,
            "longitude": -97.7419564503,
            "unit": "DEGREES"
        },
        "floorRefId": 748833797235015700,
        "absenceDurationInMinutes": 30,
        "lastSeen": "2014-10-10T14:23:40.539+0000",
        "timestamp": "2014-10-10T14:54:10.540+0000"
    }
}

ON THIS PAGE

  • No labels