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.

Update a Campus

 

This method is used to update an existing campus.  Only draft campuses (i.e. campuses that belong to a draft venue) may be modified via this method.

Method

PUT

URL

http://map-api.phunware.com/v1.1/campuses/[id]

Headers

X-Auth (see Security)

Request Body

See Mapping API Architecture > PUT Methods & Partial Updates.

Parameter

Value

Description

name

string

The name of the campus.

venueGuid

string

The identifier of the venue that the campus belongs to.

{
	"name": <string> 
}  

Example Request

PUT the following request body to: http://map-api.phunware.com/v1.1/campuses/1986

{
	"name": "San Jose Campus"
} 

Response

A success response will return a 204 status code with no data in the body of the response. See Mapping API Response Handling for error payloads.

ON THIS PAGE

 

 

  • No labels