POST api/SchoolGalleries
Request Information
URI Parameters
None.
Body Parameters
SchoolGallery| Name | Description | Type | Additional 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": "70ecd69e-d29b-4967-afbb-fa52e32bbac8",
"SchoolID": "2d8121cf-d250-46c3-95f4-549245faae8c",
"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>70ecd69e-d29b-4967-afbb-fa52e32bbac8</GalleryID> <PictureDate>sample string 4</PictureDate> <PictureTime>sample string 5</PictureTime> <PictureUrl>sample string 3</PictureUrl> <SchoolID>2d8121cf-d250-46c3-95f4-549245faae8c</SchoolID> </SchoolGallery>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SchoolGallery| Name | Description | Type | Additional information |
|---|---|---|---|
| GalleryID | globally unique identifier |
None. |
|
| SchoolID | globally unique identifier |
None. |
|
| PictureUrl | string |
None. |
|
| PictureDate | string |
None. |
|
| PictureTime | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"GalleryID": "24cef4ce-99ab-4f00-9d5a-d6ed8452cbe0",
"SchoolID": "8267e28a-59b6-414e-ae9f-5556d0c43c3f",
"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>24cef4ce-99ab-4f00-9d5a-d6ed8452cbe0</GalleryID> <PictureDate>sample string 4</PictureDate> <PictureTime>sample string 5</PictureTime> <PictureUrl>sample string 3</PictureUrl> <SchoolID>8267e28a-59b6-414e-ae9f-5556d0c43c3f</SchoolID> </SchoolGallery>