Learning object content types
The content types returned by the module learning object response, with the fields and an example for each.
Prerequisites
- Authentication and setup: A valid access token.
- Get module learning object details: The endpoint that returns these content types.
The following examples illustrate module learning object response shapes. Confirm media-type casing before using case-sensitive comparisons; do not treat IMAGE and Image as interchangeable values.
Content without transcription
Section titled “Content without transcription”Represents media-based content such as images and embedded resources.
- Contains an
idand atypeset toContent. - Contains a
mediaobject with details ofid,type,url, andtitle.
Supported media types: image, image album.
Example:
{ "id": "1234567890123456101", "type": "Content", "media": { "id": "1234567890123456102", "type": "Image", "url": "https://cdn.example.com/media/product-overview.png", "title": "product-overview.png" }}Content with transcription
Section titled “Content with transcription”Before relying on transcription_url, check the transcript access guidance. Its presence in this example does not guarantee transcript availability.
- Contains an
idand atypeset toContent. - Contains a
mediaobject with details ofid,type,url,transcription_url, andtitle.
Supported media types: audio, video, document (PDF, PPT, DOC, XLS), voice-over slideshow, video recording, screen recording, text document.
Example:
{ "id": "1234567890123456103", "type": "Content", "media": { "url": "https://cdn.example.com/media/discovery-call-basics.mp4", "transcription_url": "https://cdn.example.com/media/discovery-call-basics-transcript.json", "id": "1234567890123456104", "type": "Video", "title": "Discovery Call Basics" }}Multiple choice question
Section titled “Multiple choice question”Represents a multiple-choice question with selectable options.
- Contains a
questionand anoptionslist. - Each option has an option text, an
isCorrectflag, and anorder. - Includes an optional
supporting_media_urlfor additional reference.
Example:
{ "id": "1234567890123456105", "type": "Multiple choice question", "question": "<p>Which question best opens a discovery call?</p>", "options": [ { "option": "What challenges is your team facing?", "isCorrect": true, "order": 0 }, { "option": "Can I send you a quote today?", "isCorrect": false, "order": 1 } ], "supporting_media_url": "https://cdn.example.com/media/supporting-image.png"}Match the labels
Section titled “Match the labels”Text-based question and answer matching quiz.
- Contains a
questionand anoptionslist. - Each option has a question description, a correct answer, and an
order. - Includes an optional
supporting_media_urlfor additional reference.
Example:
{ "id": "1234567890123456106", "type": "Match the labels", "question": "<p>Match each label with its card</p>", "options": [ { "question": "Discovery", "answer": "Understand the buyer's needs", "order": 0 }, { "question": "Negotiation", "answer": "Agree on terms and pricing", "order": 1 } ], "supporting_media_url": "https://cdn.example.com/media/supporting-image.png"}Multiple choice images
Section titled “Multiple choice images”Similar to multiple-choice questions but with images as options.
- Contains a
questionand anoptionslist. - Each option has a question description, an image URL, and an
isCorrectflag. - Includes an optional
supporting_media_urlfor additional reference.
Example:
{ "id": "1234567890123456107", "type": "Multiple choice images", "question": "<p>Select the chart that shows the quarterly pipeline</p>", "options": [ { "text": "Pipeline chart", "url": "https://cdn.example.com/media/pipeline-chart.png", "isCorrect": true }, { "text": "Headcount chart", "url": "https://cdn.example.com/media/headcount-chart.png", "isCorrect": false } ]}Word guess
Section titled “Word guess”Requires users to enter a word based on a question prompt.
- Contains a
questionfield with the question and ananswerfield with the correct response. - Includes an optional
supporting_media_urlfor additional reference.
Example:
{ "id": "1234567890123456108", "type": "Word guess", "question": "<p>Name the stage where a buyer signs the contract</p>", "answer": "CLOSING"}Mark the location
Section titled “Mark the location”Users must identify a specific location on an image.
- Contains a
questionand anoptionslist. - Each option contains
leftandtopcoordinates and anisCorrectflag. - Includes an optional
supporting_media_urlfor additional reference.
Example:
{ "id": "1234567890123456109", "type": "Mark the location", "question": "<p>Mark the renewal date on the contract</p>", "options": [ { "left": 377, "top": 227, "isCorrect": true }, { "left": 269, "top": 114, "isCorrect": false } ]}Text answer
Section titled “Text answer”Users must input text that matches or closely resembles the expected answer.
- Contains a
questionfield with the question. - Includes
exactAnswer. - Includes an optional
supporting_media_urlfor additional reference.
Example:
{ "id": "1234567890123456110", "type": "Text answer", "question": "<p>What does CRM stand for?</p>", "exactAnswer": "Customer relationship management"}True or false
Section titled “True or false”Users must determine whether a statement is true or false.
- Contains a
questionand anoptionslist. - Each option has a text label and an
isTrueflag. - Includes an optional
supporting_media_urlfor additional reference.
Example:
{ "id": "1234567890123456111", "type": "True or false", "question": "<p>A discovery call should start with open-ended questions.</p>", "options": [ { "text": "Yes", "isTrue": true }, { "text": "No", "isTrue": false } ]}Multiple choice poll
Section titled “Multiple choice poll”A poll for users to vote on. The example below shows poll-level fields.
- Contains a
questiontext. - Each option has a text label and an
isTrueflag. - Includes an optional
supporting_media_urlfor additional reference.
Example:
{ "id": "1234567890123456112", "type": "Multiple choice poll", "question": "<p>How would you rate this course?</p>", "supporting_media_url": "https://cdn.example.com/media/supporting-image.png"}