Veracross Admin
Veracross Setup/Admin
Faculty
Settings for Faculty
- Display Options:
- To display the 'Faculty Dropdown' = 'displayFacultiesFilter' (can be true or false like this: displayFacultiesFilter=true)
- To display the 'Department Dropdown' = 'displayDepartmentsFilter' (can be true or false like this: displayDepartmentsFilter=true)
- To display 'Pagination' = 'displayStaffFooter' (can be true or false like this: displayStaffFooter=true)
- To choose a 'Page Number' from the pagination to display = 'pageNumber' (this can be used even when pagination is hidden)
- To set how many items are displayed per page/view = 'pageSize' = number of items (this can be used even when pagination is hidden)
- Data to Show:
- To choose a specific Faculty to show = 'selectedFaculty' = where you can set the faculty id
- To choose a specific Department to show = 'selectedDepartment' = where you can set the department id
NOTE: Sometimes the pagination is hidden if there are fewer items than the 'pageSize'.
Examples:
- Displaying a faculty dropdown, pagination and page 1, and 20 items per page:
/veracross?type=staff&displayFacultiesFilter=true&displayStaffFooter=true&selectedFaculty=18&pageNumber=1&pageSize=20 - Displaying a faculty dropdown, department dropdown, pagination and page 1, selected faculty and 20 items per page:
/veracross?type=staff&displayFacultiesFilter=true&displayDepartmentsFilter=true&displayStaffFooter=true&selectedFaculty=18&pageNumber=1&pageSize=20 - Displaying a faculty dropdown, department dropdown, pagination and page 1, selected faculty, selected department and 20 items per page:
/veracross?type=staff&displayFacultiesFilter=true&displayDepartmentsFilter=true&displayStaffFooter=true&selectedFaculty=18&selectedDepartment=49&pageNumber=1&pageSize=20
Sport
Settings for Sports Rosters
- Display Options:
- To display the 'Sport Dropdown' = 'displaySportsFilter' (can be true or false like this: displaySportsFilter=true)
- To display 'Pagination' = 'displaySportsFooter' (can be true or false like this: displaySportsFooter=true)
- To choose a 'Page Number' from the pagination to display = 'pageNumber' (this can be used even when pagination is hidden)
- To set how many items are displayed per page/view = 'pageSize' = number of items (this can be used even when pagination is hidden)
- Data to Show:
- To choose a specific Sport to show = 'selectedSport' = where you can set the sport id
- To filter Rosters by a specific Year = 'year' (to set the year like this: year=2022)
- To filte by using the current year then use useCurrentYear=true
NOTE: Sometimes the pagination is hidden if there are fewer items than the 'pageSize'.
Examples:
- Displaying a sports dropdown, pagination and page 3, year 2022, particular sport, and 20 items per page:
/veracross?type=sports&displaySportsFilter=true&displaySportsFooter=true&year=2022&selectedSport=401&pageNumber=3&pageSize=20 - Displaying a sports dropdown, pagination and page 1, particular sport, and 20 items per page:
/veracross?type=sports&displaySportsFilter=true&displaySportsFooter=true&selectedSport=569&pageNumber=1&pageSize=20 - Displaying a sports dropdown, pagination and page 6, particular sport, and 20 items per page:
/veracross?type=sports&displaySportsFilter=true&displaySportsFooter=true&selectedSport=569&pageNumber=6&pageSize=20 - Displaying current year:
/veracross?type=sports&displaySportsFilter=true&displaySportsFooter=true&selectedSport=464&pageNumber=1&pageSize=50&useCurrentYear=true
Settings for Sport Fixtures
- Display Options:
- To display 'Pagination' = 'displaySportsFooter' (can be true or false like this: displaySportsFooter=true)
- To choose a 'Page Number' from the pagination to display = 'pageNumber' (this can be used even when pagination is hidden)
- To set how many items are displayed per page/view = 'pageSize' = number of items (this can be used even when pagination is hidden)
- Data to Show:
- To choose a specific Sport to show = 'sportId' = where you can set the sport id
- To filter Fixtures by dates = 'date_from' and 'date_to' = like this: date_from=2023-01-01&date_to=2023-07-31
- To retrieve next games: todayOnwards=true
- To filter by current academic year, use 'monthFrom' and 'monthTo' = like this: monthFrom=9&monthTo=6
- To filter by current day, use currentDay=true
- To filter by current week, use currentWeek=true
- To filter by current month, use currentMonth=true
NOTE: Sometimes the pagination is hidden if there are fewer items than the 'pageSize'.
Example:
- Displaying a specific sports events between 2 dates:
/veracross?type=sport_events&sportId=569&date_from=2023-05-01&date_to=2023-07-31 - SHOWCASE: Displaying a specific number (Ex: 5) of upcoming events:
- /veracross?type=sport_events&todayOnwards=true&pageSize=5
- Can be seen here: https://brentwoodacademy-staging.azurewebsites.net/body
- CALENDAR: Displaying all sports, with sport and date filters, with pagination, set to show the 1st page with no more than 20 results:
- SPECIFIC SPORT: Displaying a specific sport with date filters, with pagination, set to show the 1st page with no more than 20 results:
- NEXT GAMES: Displaying the latest number of games
- CURRENT ACADEMIC YEAR: Displaying current academic year where month from is Septemberand month to is June
- CURRENT DAY: Displaying events from current day:
- CURRENT WEEK: Displaying events from current week:
- CURRENT MONTH: Displaying events from current month:
Here is the list of sport ids and groups ids manual match: (the sportId parameter should be always one of the keys from the dictionary below)
"Sports":
"11861": "Lacrosse-MS-B", // MS: Lacrosse-MS-B
"11863": "Lacrosse-MS-G", // MS: Lacrosse-MS-G
"413": "Baseball-MS", // MS: Baseball-MS
"600": "Baseball-US-Junior Varsity", // US: Baseball-US-Junior Varsity
"401": "Baseball-US-Varsity", // US: Baseball-US-Varsity
"11854": "Baseball-MS-JV" // MS: Baseball-MS-JV
"567": "Basketball-6-Boys", // MS: Basketball-6-Boys
"568": "Basketball-6-Girls", // MS: Basketball-6-Girls
"569": "Basketball-MS-B-Team-Boys", // MS: Basketball-MS-B-Team-Boys
"570": "Basketball-MS-B-Team-Girls", // MS: Basketball-MS-B-Team-Girls
"572": "Basketball-MS-A-Team Boys", // MS: Basketball-MS-A-Team Boys
"571": "Basketball-MS-A-Team Girls", // MS: Basketball-MS-A-Team Girls
"367": "Basketball-MS-Combined- 7/8", // MS: Basketball-MS-Combined- 7/8
"586": "Basketball-US-Freshman Boys", // US: Basketball-US-Freshman Boys
"589": "Basketball-US-Junior Varsity Boys", // US: Basketball-US-Junior Varsity Boys
"590": "Basketball-US-Junior Varsity Girls", // US: Basketball-US-Junior Varsity Girls
"587": "Basketball-US-Varsity Boys", // US: Basketball-US-Varsity Boys
"588": "Basketball-US-Varsity Girls", // US: Basketball-US-Varsity Girls
"461": "Bowling", // US: Bowling
"466": "Cheerleading-MS", // MS: Cheerleading-MS
"596": "Cheerleaders-US-Football", // US: Cheerleaders-US-Football
"595": "Cheerleaders-US-Basketball", // US: Cheerleaders-US-Basketball
"597": "Cheerleaders - Wrestling", // US: Cheerleaders - Wrestling
"576": "Cross Country-MS-Boys", // MS: Cross Country-MS-Boys
"575": "Cross Country-MS-Girls", // MS: Cross Country-MS-Girls
"459": "Cross Country-US-Boys", // US: Cross Country-US-Boys
"601": "Cross Country-US-Girls", // US: Cross Country-US-Girls
"521": "Dance-MS", // MS: Dance-MS
"583": "Football-MS-6 ", // MS: Football-MS-6
"584": "Football.MS.7", // MS: Football.MS.7
"585": "Football.MS.8", // MS: Football.MS.8
"605": "Football-US-Freshman", // US: Football-US-Freshman
"604": "Football-US-Junior Varsity", // US: Football-US-Junior Varsity
"456": "Varsity Football", // US Varsity Football
"645": "Football-US-Seniors", // US: Football-US-Seniors
"640": "Rising Freshman Football", // US: Rising Freshman Football
GOLF SPORTS EVENTS:
US.GOLF.B -> &groupId=61790
US.GOLF.G -> &groupId=61800
US.GOLF.JVB -> &groupId=71939
MS.GOLF.B -> &groupId=71919
MS.GOLF.G -> &groupId=71920
GOLF ROSTERS:
US.GOLF.B -> &classId=37762
US.GOLF.G -> &classId=37766
US.GOLF.JVB -> &classId=37937
MS.GOLF.B -> &classId=37925
MS.GOLF.G -> &classId=37926
"522": "Hockey-US", // US: Hockey-US
"573": "Soccer-MS-Boys-A", // MS: Soccer-MS-Boys-A
"11867": "Soccer-MS-Boys-B", // MS: Soccer-MS-Boys-B
"574": "Soccer-MS-Girls", // MS: Soccer-MS-Girls
"613": "Soccer-US-Junior Varsity Boys", // US: Soccer-US-Junior Varsity Boys
"612": "Soccer-US-Junior Varsity Girls", // US: Soccer-US-Junior Varsity Girls
"592": "Soccer-US-Varsity Boys", // US: Soccer-US-Varsity Boys
"591": "Soccer-US-Varsity Girls", // US: Soccer-US-Varsity Girls
"11884": "Soccer-Junior Varsity Boys", // US: Soccer-Junior Varsity Boys
"402": "Softball-MS", // MS: Softball-MS
"403": "Softball-US", // US: Softball-US
"468": "Swimming-MS", // MS: Swimming-MS
"463": "Swimming-US", // US: Swimming-US
"582": "Tennis-MS-Boys", // MS: Tennis-MS-Boys
"581": "Tennis-MS-Girls", // MS: Tennis-MS-Girls
"602": "Tennis-US-Boys", // US: Tennis-US-Boys
"409": "Tennis-US-Girls", // US: Tennis-US-Girls
"11885": "Tennis-US-JV", // US: Tennis-US-JV
"580": "Track-MS-6", // MS: Track-MS-6
"578": "Track-MS-Girls", // MS: Track-MS-Girls
"579": "Track-MS-Boys", // MS: Track-MS-Boys
"603": "Track-US-Girls", // US: Track-US-Girls
"404": "Track-US-Boys", // US: Track-US-Boys
"11845": "Volleyball-MS.6", // MS: Volleyball-MS.6
"11846": "Volleyball-MS-B-Team", // MS: Volleyball-MS-B-Team
"469": "Volleyball-MS-A-Team", // MS: Volleyball-MS-A-Team
"464": "Volleyball-US-Varsity", // US: Volleyball-US-Varsity
"606": "Volleyball-US-Junior Varsity", // US: Volleyball-US-Junior Varsity
"11912": "Volleyball-US-Freshman", // US: Volleyball-US-Freshman
"470": "Wrestling-MS", // MS: Wrestling-MS
"462": "Wrestling-US", // US: Wrestling-US
"520": "Off-Season Weights - MS", // MS: Off-Season Weights - MS
"534": "Flight League - Student Workers", // US: Flight League - Student Workers
"11913": "US: MISC-US", // US: US: MISC-US
"642": "Summer MS Team Rosters", // MS: Summer MS Team Rosters
"607": "US Summer Team Rosters", // US: US Summer Team Rosters