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": "7777fa82-01a9-468b-ad15-f1b6b0311b68",
"SchoolID": "d5992797-ca31-44ee-8568-94530d35d2e0",
"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/BusAPI.Models"> <GalleryID>7777fa82-01a9-468b-ad15-f1b6b0311b68</GalleryID> <PictureDate>sample string 4</PictureDate> <PictureTime>sample string 5</PictureTime> <PictureUrl>sample string 3</PictureUrl> <SchoolID>d5992797-ca31-44ee-8568-94530d35d2e0</SchoolID> </SchoolGallery>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "a134fa70-5e2a-4cd9-8e77-dc35aff1b9af",
"SchoolID": "963b4ce9-5429-4cc8-bd14-914e0e6e2f4a",
"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/BusAPI.Models"> <GalleryID>a134fa70-5e2a-4cd9-8e77-dc35aff1b9af</GalleryID> <PictureDate>sample string 4</PictureDate> <PictureTime>sample string 5</PictureTime> <PictureUrl>sample string 3</PictureUrl> <SchoolID>963b4ce9-5429-4cc8-bd14-914e0e6e2f4a</SchoolID> </SchoolGallery>