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.

This method is used to retrieve a campus by campus ID.

Method

GET

URL

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

Headers

X-Auth (see Security)

Query Parameters

Required parameters are underlined.  The draftStatus parameter indicates whether to return the live or draft version of this campus.

Parameter

Value

Description

draftStatus

string

"LIVE" or "DRAFT". Defaults to "LIVE".

 

  

Example Query Fragment

{
    "draftStatus": "DRAFT"
} 

Example Request

GET
http://map-api.phunware.com/v1.1/campuses/1986

Response

A successful response will have a 200 status code and a body containing an object with campus data:

{
    "id": <string>,
    "name": <string>,
    "venueGuid": <string>,
    "createdAt": <string>,
    "updatedAt": <string>
} 

See Mapping API Response Handling for error payloads.

Example Response

Example body of a successful response:

{
    "id": 1986,
    "name": "Hyrule Castle",
    "venueGuid": "f0685279-7497-4d90-882e-12201e476b0e",
    "createdAt": "2014-06-06T18:25:26Z",
    "updatedAt": "2014-06-06T18:25:26Z"
} 

ON THIS PAGE

 

 

  • No labels