/users/enrollments missing "next_link"
/users/enrollments seems to be missing the next_link property. The property never appears even when there are more responses than the response contains.
PowerShell example:
Call /users/enrollments, requesting 10 records per page:
$SchoolLevelId = ‘123456789’
$YourSubscriptionKey = 'YOUR_SUBSCRIPTION_KEY_HERE'
$YourAccessToken = 'YOUR_ACCESS_TOKEN_HERE'
Invoke-RestMethod "https://api.sky.blackbaud.com/school/v1/users/enrollments?school_year=2024 - 2025&school_level_id=$SchoolLevelId&limit=10&offset=0" -Headers @{'Bb-Api-Subscription-Key' = "$YourSubscriptionKey"; 'Authorization' = "Bearer $YourAccessToken"}
Expected response properties:
- count
- value
- next_link
Actual response properties:
- count
- value
Comments
-
The SKY OpenAPI schema for this endpoint shows next_link:
"UserEnrollmentCollection": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"description": "The number of items in the collection",
"format": "int32",
"readOnly": true
},
"next_link": {
"type": "string",
"description": "For paginated responses, the URI for the next page of results",
"nullable": true
},
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserEnrollment"
},
"description": "The set of items included in the response. This may be a subset of the items in the collection",
"nullable": true
}
},
"additionalProperties": false,
"description": "A Collection"
}
0 -
@Eric Eskildsen
This is a case of next_link not being removed properly/entirely.The endpoint does not paginate; all users with an enrollment record for the specified year will be in the response. So the dev meant to remove next_link to eliminate confusion. I'll add a cleanup item to either add it back or remove it properly.
0 -
@Eric Eskildsen
Sorry, there is pagination. My mistake.
Doesn't affect the cleanup needed, so that will still happen.1
Categories
- All Categories
- 6 Blackbaud Community Help
- 209 bbcon®
- 1.4K Blackbaud Altru®
- 395 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 648 Blackbaud Grantmaking™
- 566 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 937 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.5K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 247 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 239 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 31 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 782 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)

