Returns news items based on category provided.
https://{school}.myschoolapp.com/api/news/all/?t={token}[&categoryID]
Parameter | Required | Type | Description |
---|---|---|---|
categoryID | int | The ID of the category of news items to be returned (e.g. 0_6827). Can be a single or comma separated list. The categoryID |
Returned when the operation succeeds.
[
{
"Id": 669801,
"Name": "Alumni Return to Brookfield!",
"PhotoList": [
{
"Id": 0,
"FilePath": null,
"ThumbFilePath": null,
"ZoomFilePath": null,
"OriginalFilePath": null,
"LargeFilenameUrl": "/ftpimages/100157/news/large_news669801_515061.jpg",
"LargeFilename": "large_news669801_515061.jpg",
"LargeHeight": 163,
"LargeWidth": 320,
"ThumbFilenameUrl": "/ftpimages/100157/news/thumb_news669801_515061.jpg",
"ThumbFilename": "thumb_news669801_515061.jpg",
"ThumbWidth": 80,
"ThumbHeight": 41,
"ZoomFilenameUrl": "/ftpimages/100157/news/zoom_news669801_515061.jpg",
"ZoomWidth": 646,
"ZoomHeight": 330,
"OriginalFilenameUrl": "",
"OriginalFilename": "",
"OriginalWidth": 0,
"OriginalHeight": 0,
"Title": "",
"Caption": "",
"LongDescription": "",
"TagList": [],
"InsertDate": null,
"LastModifyDate": null,
"LastModifyUserId": null,
"vendor_external_id": null
}
],
"MediaList": null,
"LargeFilenameUrl": "/ftpimages/100157/news/large_news669801_515061.jpg",
"LargeHeight": 163,
"LargeWidth": 320,
"ThumbFilenameUrl": "/ftpimages/100157/news/thumb_news669801_515061.jpg",
"ThumbHeight": 41,
"ThumbWidth": 80,
"ZoomFilenameUrl": "/ftpimages/100157/news/zoom_news669801_515061.jpg",
"ZoomHeight": 330,
"ZoomWidth": 646,
"PublishDate": "12/1/2015 12:00 AM",
"BriefDescription": "<span id="\" L_c1i0\"">This week, in the midst of finals and frantic Christmas planning, alumni of Brookfield School flocked back to campus for a fiesta of fellowship and fun with their favorite faculty!</span>",
"Description": "yes",
"CommentCount": -2147483648,
"CommentType": 0,
"LastItem": false,
"GroupList": [],
"GroupName": null,
"GroupCommentType": 0,
"GroupId": 14329,
"PublishDateDisplay": "12/1/2015",
"PublishMonth": null,
"PublishDateLong": "Tuesday, December 1, 2015",
"Author": "",
"ExpireDate": null,
"ExpireDateDisplay": "",
"Expired": false,
"ScheduleId": 0,
"AthleticScheduleId": 0,
"ContextValue": 0,
"BriefDescriptionInd": 0,
"LongDescriptionInd": 0,
"PhotoCaptionInd": 0,
"PhotoDescriptionInd": 0,
"ImageMax": 0,
"ShowReadMore": false,
"Featured": false,
"FeatureDate": null,
"FeatureExpireDate": null,
"InsertDate": null,
"LastModifyDate": null,
"LastModifyUserId": null,
"vendor_external_id": null
},
...
]