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": "b542fdf7-0332-4359-bd93-4ca65bae0ca3",
  "BannerID": "aa1b35c2-72fb-411f-97b0-180d71fb87af"
}

application/xml, text/xml

Sample:
<SchoolBanner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParentAPI.Models">
  <BannerID>aa1b35c2-72fb-411f-97b0-180d71fb87af</BannerID>
  <SchoolID>b542fdf7-0332-4359-bd93-4ca65bae0ca3</SchoolID>
</SchoolBanner>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SchoolBanner'.

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": "1d18d7f2-a40c-453b-aa5d-06af30246747",
  "BannerID": "8ca71bab-3a1a-4894-aac8-0c435e01a993"
}

application/xml, text/xml

Sample:
<SchoolBanner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParentAPI.Models">
  <BannerID>8ca71bab-3a1a-4894-aac8-0c435e01a993</BannerID>
  <SchoolID>1d18d7f2-a40c-453b-aa5d-06af30246747</SchoolID>
</SchoolBanner>