Skip to content
Dark mode

Learning object content types

The content types returned by the module learning object response, with the fields and an example for each.

Prerequisites

  1. Authentication and setup: A valid access token.
  2. 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.

Represents media-based content such as images and embedded resources.

  • Contains an id and a type set to Content.
  • Contains a media object with details of id, type, url, and title.

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"
}
}

Before relying on transcription_url, check the transcript access guidance. Its presence in this example does not guarantee transcript availability.

  • Contains an id and a type set to Content.
  • Contains a media object with details of id, type, url, transcription_url, and title.

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"
}
}

Represents a multiple-choice question with selectable options.

  • Contains a question and an options list.
  • Each option has an option text, an isCorrect flag, and an order.
  • Includes an optional supporting_media_url for 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"
}

Text-based question and answer matching quiz.

  • Contains a question and an options list.
  • Each option has a question description, a correct answer, and an order.
  • Includes an optional supporting_media_url for 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"
}

Similar to multiple-choice questions but with images as options.

  • Contains a question and an options list.
  • Each option has a question description, an image URL, and an isCorrect flag.
  • Includes an optional supporting_media_url for 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 }
]
}

Requires users to enter a word based on a question prompt.

  • Contains a question field with the question and an answer field with the correct response.
  • Includes an optional supporting_media_url for additional reference.

Example:

{
"id": "1234567890123456108",
"type": "Word guess",
"question": "<p>Name the stage where a buyer signs the contract</p>",
"answer": "CLOSING"
}

Users must identify a specific location on an image.

  • Contains a question and an options list.
  • Each option contains left and top coordinates and an isCorrect flag.
  • Includes an optional supporting_media_url for 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 }
]
}

Users must input text that matches or closely resembles the expected answer.

  • Contains a question field with the question.
  • Includes exactAnswer.
  • Includes an optional supporting_media_url for additional reference.

Example:

{
"id": "1234567890123456110",
"type": "Text answer",
"question": "<p>What does CRM stand for?</p>",
"exactAnswer": "Customer relationship management"
}

Users must determine whether a statement is true or false.

  • Contains a question and an options list.
  • Each option has a text label and an isTrue flag.
  • Includes an optional supporting_media_url for 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 }
]
}

A poll for users to vote on. The example below shows poll-level fields.

  • Contains a question text.
  • Each option has a text label and an isTrue flag.
  • Includes an optional supporting_media_url for 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"
}