PUT api/SchoolGalleries/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

SchoolGallery
NameDescriptionTypeAdditional information
GalleryID

globally unique identifier

None.

SchoolID

globally unique identifier

None.

PictureUrl

string

None.

PictureDate

string

None.

PictureTime

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GalleryID": "74332691-53a7-4198-bc77-5dfd1a25bef5",
  "SchoolID": "5956c527-1c62-4757-b6b6-3e3f14581239",
  "PictureUrl": "sample string 3",
  "PictureDate": "sample string 4",
  "PictureTime": "sample string 5"
}

application/xml, text/xml

Sample:
<SchoolGallery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParentAPI.Models">
  <GalleryID>74332691-53a7-4198-bc77-5dfd1a25bef5</GalleryID>
  <PictureDate>sample string 4</PictureDate>
  <PictureTime>sample string 5</PictureTime>
  <PictureUrl>sample string 3</PictureUrl>
  <SchoolID>5956c527-1c62-4757-b6b6-3e3f14581239</SchoolID>
</SchoolGallery>

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 'SchoolGallery'.

Response Information

Resource Description

None.