Description: To create a chapter under a course in academy
Request URL: /api/v4/<orgId>/sections.json (How do I get my orgId?)
Method: POST
OAuth scope: TrainerCentral.sectionapi.CREATE
Parameters:
- {
- "section":{
- "courseId": "<courseId>",
- "name": "<section name>"
- }
- }
Parameters - description:
1. courseId - The Id of the course under which the chapter has to be created.
2. name: The name of the chapter.
Sample Response:
- Section:
- {
- "section":
- {
- "sectionName”:<SectionName>,
- "sectionIndex":"0",
- "lastUpdatedBy”:<userId>,
- "createdBy”:<userId>,
- "createdTime":"1646207388070",
- "lastUpdatedTime":"1646207388070",
- "id”:<sectionId>,
- "sectionId”:<sectionId>,
- "status":"0"
- }
- }
-