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": "764af09c-dedc-4943-b138-122a51d3b5bc",
  "BannerID": "dbe0e75d-acf7-42fa-a231-0f71d6c3fe16"
}

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>dbe0e75d-acf7-42fa-a231-0f71d6c3fe16</BannerID>
  <SchoolID>764af09c-dedc-4943-b138-122a51d3b5bc</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": "b98d0edf-d408-4587-9f47-3e093fd420d9",
  "BannerID": "1736b296-c559-4d8b-b3d2-4a70c21c17d6"
}

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>1736b296-c559-4d8b-b3d2-4a70c21c17d6</BannerID>
  <SchoolID>b98d0edf-d408-4587-9f47-3e093fd420d9</SchoolID>
</SchoolBanner>