Docs home

Course Default Masterbatch Details

Returns the default (open-for-enrollment) batch of a course in an organization, with its dates, tutor and class counts. Use it on a public course page to show the schedule and who teaches it.

GET/bundles/{bundleId}/masterbatches
Course Default Masterbatch Details
curl --request GET \
  --url 'https://<your-api-host>/nuSource/api/v1/bundles/{bundleId}/masterbatches?organization_id=<organizationId>'
{
  "code": 200,
  "message": "Success",
  "master_batches": [
    {
      "master_batch_id": 59011,
      "master_batch_name": "UE 5: Batch Nov 2022",
      "start_date_unix": 1669766400,
      "end_date_unix": 1672444800,
      "tutor_id": 53044146,
      "tutor_name": "Edmingle Academy",
      "img_url": "https://dme2wmiz2suov.cloudfront.net/User(53044146)/1551906-user_avatar2.jpeg",
      "about": "<p><span style=\"color: #6a6f73; font-family: 'udemy sans', 'sf pro text', -apple-system, BlinkMacSystemFont, Roboto, 'segoe ui', Helvetica, Arial, sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol'; font-size: 16px;\"><b>Engineer, Programmer, Game Developer, Author</b></span></p><p style=\"margin-bottom: 0px; padding: 0px; max-width: 118.4rem; color: #1c1d1f; font-family: 'udemy sans', 'sf pro text', -apple-system, BlinkMacSystemFont, Roboto, 'segoe ui', Helvetica, Arial, sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\">When I&nbsp;earned my bachelor's degree in Chemical Engineering, I was exposed to the world of programming. I was instantly hooked. I&nbsp;have a passion for game development and&nbsp;a love for creative problem-solving. I&nbsp;have written and self-published a science fiction novel and love all things creative. I&nbsp;have experience assisting and tutoring in engineering, mathematics, physics, chemistry, and programming.</p><p style=\"margin-top: 0.8rem; margin-bottom: 0px; padding: 0px; max-width: 118.4rem; color: #1c1d1f; font-family: 'udemy sans', 'sf pro text', -apple-system, BlinkMacSystemFont, Roboto, 'segoe ui', Helvetica, Arial, sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\">I&nbsp;have since gained professional industry experience in the world of surgical simulations. It is extremely rewarding and my passion is to pass on my knowledge so others can achieve a highly engaging and fun career as I&nbsp;have!</p><p style=\"margin-top: 0.8rem; margin-bottom: 0px; padding: 0px; max-width: 118.4rem; color: #1c1d1f; font-family: 'udemy sans', 'sf pro text', -apple-system, BlinkMacSystemFont, Roboto, 'segoe ui', Helvetica, Arial, sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\">sdfsfgdfgI&nbsp;enjoy biking, drawing, 3D-design, and procedural generation in video games. I am currently teaching how to implement algorithms such as procedurally-generated level creation techniques on my YouTube page:&nbsp;Druid&nbsp;Mechanics.</p><p style=\"margin-top: 0.8rem; margin-bottom: 0px; padding: 0px; max-width: 118.4rem; color: #1c1d1f; font-family: 'udemy sans', 'sf pro text', -apple-system, BlinkMacSystemFont, Roboto, 'segoe ui', Helvetica, Arial, sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\">I&nbsp;have also written a book on Unreal Engine C++, available on Amazon, titled:&nbsp;Unreal Engine C++&nbsp;The Ultimate Developers Handbook.</p><p></p>\n",
      "completed": 4,
      "total_classes": 12,
      "cancelled": 0
    }
  ]
}

Access: Public, no API key needed.

Path parameters
bundle_idintegerrequired
ID of the course, e.g. bundles/1369/masterbatches.
Query parameters
organization_idintegerrequired
Organization offering the course.
The course's ID within an organization (from "Institution Course Bundles"). If sent, its organization is used instead of organization_id.
Response200application/json
codeinteger
Example: 200
messagestring
Example: Success
Show child attributesHide child attributes
Example: 59011
Example: UE 5: Batch Nov 2022
Example: 1669766400
Unix timestamps
Example: 1672444800
Example: 53044146
Example: Edmingle Academy
Tutor photo
Tutor bio, HTML
Example: 4
Example: 0

Notes: Returns "Invalid Bundle ID" if the course has no default batch in that organization.

Updated yesterday

Ask AI