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.

2. Create a Campus

 

A campus is a collection of one or more buildings grouped together by a common theme.

Hyrule Castle

The example request below creates a campus called Hyrule Castle. The example response returns the newly created campus' ID. 

Hyrule Castle will live inside of the Hyrule venue, its parent container. 

Example Request

POST /v1.1/campuses HTTP/1.1 
Host: map-api.phunware.com
X-Auth: see MaaS Security Protocol v1.0
Content-Type: application/json
{    
	"name": "Hyrule Castle",
    "venueGuid": "f0685279-7497-4d90-882e-12201e476b0e"
} 

Example Response

HTTP/1.1 200 OK 
Vary: Accept-Encoding
Content-Type: application/json; charset=utf-8
Date: Tue, 20 May 2015 16:06:54 GMT
Connection: keep-alive
{    
	"data": 
    {
        "id": 1986
    }
}

ON THIS PAGE

  • No labels