POST api/SchoolBanners

Request Information

URI Parameters

None.

Body Parameters

SchoolBanner
NameDescriptionTypeAdditional information
SchoolID

globally unique identifier

None.

BannerID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "SchoolID": "0baf6d16-4b41-465f-932f-3a6ccce32ed2",
  "BannerID": "670c1b56-e760-4bee-8edf-0ad6fae07503"
}

application/xml, text/xml

Sample:
<SchoolBanner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusAPI.Models">
  <BannerID>670c1b56-e760-4bee-8edf-0ad6fae07503</BannerID>
  <SchoolID>0baf6d16-4b41-465f-932f-3a6ccce32ed2</SchoolID>
</SchoolBanner>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SchoolBanner
NameDescriptionTypeAdditional information
SchoolID

globally unique identifier

None.

BannerID

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "SchoolID": "bca678bc-ca75-4e5c-b419-de50a5ffc788",
  "BannerID": "068bad80-d2f0-4eba-91d1-0cd1d0e03d7c"
}

application/xml, text/xml

Sample:
<SchoolBanner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusAPI.Models">
  <BannerID>068bad80-d2f0-4eba-91d1-0cd1d0e03d7c</BannerID>
  <SchoolID>bca678bc-ca75-4e5c-b419-de50a5ffc788</SchoolID>
</SchoolBanner>