The courses API group allows you to retrieve the LMS course(s) data for a particular school. This course data can enable a school's bookstore to better manage the school's digital course materials program when the school is utilizing the VitalSource LTI tool to access their digital materials.
This endpoint allows you to retrieve all courses for a particular school, or courses that have been created or updated in a given time period.
Verb/URI
https://launch.vitalsource.com/api/v4/courses
Data Definitions
Name
|
Usage
|
Description
|
Data Type
|
Example
|
Required
|
---|---|---|---|---|---|
page | URL param / Message body | page number of course request, default to page 1 | integer | /courses?page=1 | No |
per_page | URL param / Message body | number of courses returned per request, default is 100 | integer 1-1000 | /courses?per_page=1000 | No |
created_from | URL param | returns courses that have been created at or since this time | ISO-8601 date/time | /courses?created_from=2019-06-07T20:25:22Z | No |
created_until | URL param | returns courses that have been created at or since this time | ISO-8601 date/time | /courses?created_until=2019-06-11T20:25:22Z | No |
updated_from | URL param | returns courses that have been updated at or since this time | ISO-8601 date/time | /courses?updated_from=2019-06-07T20:25:22Z | No |
updated_until | URL param | returns courses that have been updated at or until this time | ISO-8601 date/time | /courses?updated_until=2019-06-11T20:25:22Z | No |
id | Message Body | VitalSource identifier for the course | integer | 12345678910 | N/A |
tenant_id | Message Body | VitalSource identifier for the school | integer | 12345678910 | N/A |
term_id | Message Body | VitalSource identifier for the term the course is a part of. Terms are not always used, this will vary by LMS. | integer | 12345678910 | N/A |
name | Message Body | VitalSource name for the course, often sourced from the LTI context_id | String |
eou1e5vbkw0ag2j3xyc8 |
N/A |
title | Message Body | LMS course title / LTI context_title, may not be unique per course | String | English 101 - Introduction to English Literature | N/A |
label | Message Body | LMS course label / LTI context_label, may not be unique per course | String | FA2019-ENGL-101-001 | N/A |
lms_context_id | Message Body | LTI context_id, unique per course | String |
01fmc37hw81p4hq3u8jl |
N/A |
sis_id | Message Body | SIS course identifier | String | FA2019ENGL101001123456 |
N/A |
lms_course_id | Message Body | Course identifier specific to the LMS platform, may vary by LMS | String |
a3op0bfsci5hfzzg6nko |
N/A |
start_date | Message Body | Course start date | Date | YYYY-MM-DD | N/A |
end_date | Message Body | Course end date | Date | YYYY-MM-DD | N/A |
census_date | Message Body | Date marking the end of the add/drop period, used for determining when add/drop licenses should be issued | Date | YYYY-MM-DD | N/A |
opt_out_date | Message Body | Date marking the end of the add/drop period, used for determining when the opt in/opt out toggle should be available to students in the Launch UI | Date | YYYY-MM-DD | N/A |
active | URL param / Message body | Used to indicate if a course is active or not. Courses become inactive after the end_date has passed. If no end_date is available, courses become inactive 45 days after the last student LTI launch from the course | Boolean | true | No |
created_at | Message Body | The date the course was created in the VitalSource system | ISO-8601 date/time |
2018-12-04T15:59:59Z |
N/A |
updated_at | Message Body | The date the course was last updated in the VitalSource system | ISO-8601 date/time |
2018-12-04T15:59:59Z |
N/A |
Request Headers
X-VitalSource-API-Key: ABCDEFGHIJKLMNOP
Accept: application/json
Content-type: application/json
Response
Response Body
JSON
Successful Response Code and Message
HTTP: 200 OK
Error Codes
HTTP Status
|
Message
|
Notes
|
---|---|---|
401 | Unauthorized | The API key provided is not associated with any LTI integration |
404 | Not Found |
Comments
Please sign in to leave a comment.