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}/masterbatchesCourse 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 earned my bachelor's degree in Chemical Engineering, I was exposed to the world of programming. I was instantly hooked. I have a passion for game development and a love for creative problem-solving. I have written and self-published a science fiction novel and love all things creative. I 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 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 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 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: Druid 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 have also written a book on Unreal Engine C++, available on Amazon, titled: Unreal Engine C++ The Ultimate Developers Handbook.</p><p></p>\n",
"completed": 4,
"total_classes": 12,
"cancelled": 0
}
]
}Access: Public, no API key needed.
Path parameters
ID of the course, e.g.
bundles/1369/masterbatches.Query parameters
Organization offering the course.
institution_bundle_idinteger
The course's ID within an organization (from "Institution Course Bundles"). If sent, its organization is used instead of
organization_id.Response
codeinteger
Example:
200messagestring
Example:
Successmaster_batchesobject[]
Show child attributesHide child attributes
Example:
59011Example:
UE 5: Batch Nov 2022Example:
1669766400master_batches.tutor_idinteger
Example:
53044146Example:
Edmingle Academymaster_batches.img_urlstring
Tutor photo
master_batches.aboutstring
Tutor bio, HTML
master_batches.completedinteger
Example:
4master_batches.total_classesinteger
Example:
12master_batches.cancelledinteger
Example:
0Notes: Returns "Invalid Bundle ID" if the course has no default batch in that organization.