Edit chapter API

Edit chapter API

Description: To edit a chapter name or reorder a chapter inside a course.

Request URL: <domain>/api/v4/<orgId>/course/<courseId>/sections/<sectionId>.json
Method: PUT
OAuth Scope: TrainerCentral.sectionapi.UPDATE
Parameters: Not applicable

Request Body: 
  1. {
  2.    "section": {
  3.         "name": "<chapter name>",
  4.         "sectionIndex":<chapter index> [This is required only when the lesson order needs to be updated. Indexing starts from 0]
  5.     }
  6. }

Sample Request:
https://zylkeracademy.trainercentral.com/api/v4/700000804/course/3000094000002000004/sections/3200000000002000012.json

Sample Request Body:
  1. {
  2.    "section": {
  3.         "name": "Introduction",
  4.          "sectionIndex":0
  5.     }
  6. }

Also read:  
    • Related Articles

    • List of all TrainerCentral APIs

      Getting Started Get Oauth token API Course APIs Create chapter API Edit chapter API Create course API Edit course API Create lesson API Edit lesson API Create assignment API Delete lesson/live workshop/assignment API Delete chapter API Delete course ...
    • Edit webpage

      TrainerCentral's website builder allows you to create, edit, and customize your academy webpages to help your audience identify, engage, and make a decision. It includes text, images, videos, or interactive elements to convey specific information. ...
    • Edit course API

      Description: To edit a course in the academy Request URL: <domain>/api/v4/<orgId>/courses/<courseId>.json Method: PUT OAuth Scope: TrainerCentral.courseapi.UPDATE Parameters: Not applicable Request Body:  {   "course":{        "courseName":"<course ...
    • Edit lesson API

      Description: To edit a lesson inside a course. Request URL: <domain>/api/v4/<orgId>/sessions/<sessionId>.json Method: PUT OAuth Scope: TrainerCentral.sessionapi.UPDATE Parameters: NA Request Body:  {   "session": {      "name":"<lesson name>",     ...
    • Create chapter API

      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": ...