GET api/V1/Campuses/{id}

Get campus information by particular campus id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

campus id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ModelCampusV1
NameDescriptionTypeAdditional information
CampusId

Unique campus identifier.

integer

Required

CampusName

Campus name

string

Required

Venues

A collection of associated venues/training locations

Collection of ModelVenueV1

None.

CourseIds

A collection of associated course ids assigned and available for a campus

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "CampusId": 1,
  "CampusName": "sample string 2",
  "Venues": [
    {
      "VenueCode": "sample string 1",
      "CampusId": 2,
      "VenueName": "sample string 3",
      "BuildingName": "sample string 4",
      "FlatUnitDetail": "sample string 5",
      "StreetNumber": "sample string 6",
      "StreetName": "sample string 7",
      "Suburb": "sample string 8",
      "State": "sample string 9",
      "Postcode": "sample string 10",
      "Country": "sample string 11",
      "ContactNo": "sample string 12"
    },
    {
      "VenueCode": "sample string 1",
      "CampusId": 2,
      "VenueName": "sample string 3",
      "BuildingName": "sample string 4",
      "FlatUnitDetail": "sample string 5",
      "StreetNumber": "sample string 6",
      "StreetName": "sample string 7",
      "Suburb": "sample string 8",
      "State": "sample string 9",
      "Postcode": "sample string 10",
      "Country": "sample string 11",
      "ContactNo": "sample string 12"
    }
  ],
  "CourseIds": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ModelCampusV1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotEdu_CricosWebAPI.Models.Cricos.V1">
  <CampusId>1</CampusId>
  <CampusName>sample string 2</CampusName>
  <CourseIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CourseIds>
  <Venues>
    <ModelVenueV1>
      <BuildingName>sample string 4</BuildingName>
      <CampusId>2</CampusId>
      <ContactNo>sample string 12</ContactNo>
      <Country>sample string 11</Country>
      <FlatUnitDetail>sample string 5</FlatUnitDetail>
      <Postcode>sample string 10</Postcode>
      <State>sample string 9</State>
      <StreetName>sample string 7</StreetName>
      <StreetNumber>sample string 6</StreetNumber>
      <Suburb>sample string 8</Suburb>
      <VenueCode>sample string 1</VenueCode>
      <VenueName>sample string 3</VenueName>
    </ModelVenueV1>
    <ModelVenueV1>
      <BuildingName>sample string 4</BuildingName>
      <CampusId>2</CampusId>
      <ContactNo>sample string 12</ContactNo>
      <Country>sample string 11</Country>
      <FlatUnitDetail>sample string 5</FlatUnitDetail>
      <Postcode>sample string 10</Postcode>
      <State>sample string 9</State>
      <StreetName>sample string 7</StreetName>
      <StreetNumber>sample string 6</StreetNumber>
      <Suburb>sample string 8</Suburb>
      <VenueCode>sample string 1</VenueCode>
      <VenueName>sample string 3</VenueName>
    </ModelVenueV1>
  </Venues>
</ModelCampusV1>