POST api/Courses/retrieve_academy_course_modules

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Module
NameDescriptionTypeAdditional information
Identifier

globally unique identifier

None.

Inserted

date

None.

Updated

date

None.

Deleted

date

None.

Activation

boolean

None.

Content

string

None.

Course

globally unique identifier

None.

Credit

integer

None.

Description

string

None.

Mandatory

boolean

None.

Name

string

None.

Totara

integer

None.

tier

integer

None.

routes

integer

None.

Sets

Collection of Set

None.

Tutors

Collection of Tutor

None.

Course1

Course

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Identifier": "8a6a1851-9f95-4e5d-8fe8-37004fe071b0",
    "Inserted": "2024-11-21T08:40:59.5823959+00:00",
    "Updated": "2024-11-21T08:40:59.5823959+00:00",
    "Deleted": "2024-11-21T08:40:59.5823959+00:00",
    "Activation": true,
    "Content": "sample string 4",
    "Course": "2a49762c-a3f0-43c2-b065-0df651bc2823",
    "Credit": 6,
    "Description": "sample string 7",
    "Mandatory": true,
    "Name": "sample string 9",
    "Totara": 1,
    "tier": 10,
    "routes": 11,
    "Sets": [
      {
        "Identifier": "a495f40e-958b-4319-ab06-2007e0178801",
        "Inserted": "2024-11-21T08:40:59.5823959+00:00",
        "Updated": "2024-11-21T08:40:59.5823959+00:00",
        "Deleted": "2024-11-21T08:40:59.5823959+00:00",
        "Activation": true,
        "Country": "dd0b31a5-54ef-441c-a21b-831db9e35c83",
        "Enrolments": 5,
        "Finish": "2024-11-21T08:40:59.5823959+00:00",
        "Location": "sample string 6",
        "Maximum": 7,
        "Minimum": 8,
        "Module": "8a6a1851-9f95-4e5d-8fe8-37004fe071b0",
        "Start": "2024-11-21T08:40:59.5823959+00:00",
        "Totara": 1,
        "Workshops": 10
      }
    ],
    "Tutors": [
      {
        "Identifier": "febdf0d1-9bfb-4b00-9cb8-8f433d8e4b20",
        "Inserted": "2024-11-21T08:40:59.5823959+00:00",
        "Updated": "2024-11-21T08:40:59.5823959+00:00",
        "Deleted": "2024-11-21T08:40:59.5823959+00:00",
        "Activation": true,
        "Enrolments": 4,
        "Module": "8a6a1851-9f95-4e5d-8fe8-37004fe071b0",
        "Name": "sample string 6",
        "Totara": 1
      }
    ],
    "Course1": {
      "Identifier": "2a49762c-a3f0-43c2-b065-0df651bc2823",
      "Inserted": "2024-11-21T08:40:59.5823959+00:00",
      "Updated": "2024-11-21T08:40:59.5823959+00:00",
      "Deleted": "2024-11-21T08:40:59.5823959+00:00",
      "Content": "sample string 3",
      "Credit": 4,
      "Description": "sample string 5",
      "Finish": "2024-11-21T08:40:59.5823959+00:00",
      "Name": "sample string 6",
      "Start": "2024-11-21T08:40:59.5823959+00:00",
      "Totara": 1,
      "routes_available": 8,
      "Modules": []
    }
  },
  {
    "Identifier": "8a6a1851-9f95-4e5d-8fe8-37004fe071b0",
    "Inserted": "2024-11-21T08:40:59.5823959+00:00",
    "Updated": "2024-11-21T08:40:59.5823959+00:00",
    "Deleted": "2024-11-21T08:40:59.5823959+00:00",
    "Activation": true,
    "Content": "sample string 4",
    "Course": "2a49762c-a3f0-43c2-b065-0df651bc2823",
    "Credit": 6,
    "Description": "sample string 7",
    "Mandatory": true,
    "Name": "sample string 9",
    "Totara": 1,
    "tier": 10,
    "routes": 11,
    "Sets": [
      {
        "Identifier": "a495f40e-958b-4319-ab06-2007e0178801",
        "Inserted": "2024-11-21T08:40:59.5823959+00:00",
        "Updated": "2024-11-21T08:40:59.5823959+00:00",
        "Deleted": "2024-11-21T08:40:59.5823959+00:00",
        "Activation": true,
        "Country": "dd0b31a5-54ef-441c-a21b-831db9e35c83",
        "Enrolments": 5,
        "Finish": "2024-11-21T08:40:59.5823959+00:00",
        "Location": "sample string 6",
        "Maximum": 7,
        "Minimum": 8,
        "Module": "8a6a1851-9f95-4e5d-8fe8-37004fe071b0",
        "Start": "2024-11-21T08:40:59.5823959+00:00",
        "Totara": 1,
        "Workshops": 10
      }
    ],
    "Tutors": [
      {
        "Identifier": "febdf0d1-9bfb-4b00-9cb8-8f433d8e4b20",
        "Inserted": "2024-11-21T08:40:59.5823959+00:00",
        "Updated": "2024-11-21T08:40:59.5823959+00:00",
        "Deleted": "2024-11-21T08:40:59.5823959+00:00",
        "Activation": true,
        "Enrolments": 4,
        "Module": "8a6a1851-9f95-4e5d-8fe8-37004fe071b0",
        "Name": "sample string 6",
        "Totara": 1
      }
    ],
    "Course1": {
      "Identifier": "2a49762c-a3f0-43c2-b065-0df651bc2823",
      "Inserted": "2024-11-21T08:40:59.5823959+00:00",
      "Updated": "2024-11-21T08:40:59.5823959+00:00",
      "Deleted": "2024-11-21T08:40:59.5823959+00:00",
      "Content": "sample string 3",
      "Credit": 4,
      "Description": "sample string 5",
      "Finish": "2024-11-21T08:40:59.5823959+00:00",
      "Name": "sample string 6",
      "Start": "2024-11-21T08:40:59.5823959+00:00",
      "Totara": 1,
      "routes_available": 8,
      "Modules": []
    }
  }
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'Totara.WEBAPI.Course' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Totara.WEBAPI.Course' contains cycles and cannot be serialized if reference tracking is disabled.