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.

Cisco Prime Binding

 

We will construct venues, campuses, buildings, floors and resources from data provided by Cisco Prime. This will be accomplished by specifying a callback URL in Cisco Prime to which an HTTP POST request will be done. The callback URL is a property of the venue object (see below).

Step 1: data is POSTed

Once the registration URL has been submitted, the MSE first posts the venue hierarchy and dimensions of each floor. Here is a sample of the data POSTed by Cisco to the callback URL:

{
    "locationName": "Site 4",
    "latitude": 37.40714,
    "longitude": -121.92878,
    "mseUdi": "AIR-MSE-3355-K9:V01:KQYGBRD",
    "appId": "-4564396851560868792",
    "emailAddresses": 
	[
        "somebody@gmail.com"
    ],
    "additionalInfo": "",
    "trackedElementsLimit": 100,
    "serverName": "alpha-mse",
    "streetAddress": "3625 Cisco Way, San Jose, CA 95134",
    "floors": 
	[
        {
            "aesUid": "-4564397058403860182",
            "name": "WNBU",
            "level": 4,
            "isOutdoor": false,
            "length": 185,
            "height": 10,
            "offsetX": 5,
            "offsetY": 0,
            "textHierarchy": 
			[
                "Cisco Site 4",
                "SJ-14",
                "WNBU"
            ],
            "idHierarchy": 
			[
                "-4564397058403860184",
                "-4564397058403860183",
                "-4564397058403860182"
            ],
            "imageName": "domain_0_1349311055718.png",
            "imageType": "image/png",
            "imageExists": true,
            "imageLastModified": 1349330637000
        }
    ]
} 

Step 2: images that need to be uploaded are specified

Phunware then responds with a list of floor images that need to be uploaded:

{
    "id": 9999,
    "images_needed": 
	[
        {
            "imageName": "domain_0_1349311055718.png",
            "imageType": "image/png",
            "uploadUrl": "http://[S3 bucket]/[S3 subfolder]/filename"
        }
    ]
}

Step 3: Cisco uploads images

The MSE will then post the requested images to the URLs specified. 

ON THIS PAGE

  • No labels