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.

Sets

Collection of Set

None.

Tutors

Collection of Tutor

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Identifier": "4972b79a-bf1f-4215-8f75-7e1266e251b9",
    "Inserted": "2024-04-19T06:03:20.3057847+01:00",
    "Updated": "2024-04-19T06:03:20.3057847+01:00",
    "Deleted": "2024-04-19T06:03:20.3215636+01:00",
    "Activation": true,
    "Content": "sample string 4",
    "Course": "f4f455b1-73dd-4f5b-a24c-245b4058241e",
    "Credit": 6,
    "Description": "sample string 7",
    "Mandatory": true,
    "Name": "sample string 9",
    "Totara": 1,
    "Sets": [
      {
        "Identifier": "279fa3b3-99b4-4370-819c-4758ade1ee64",
        "Inserted": "2024-04-19T06:03:20.3215636+01:00",
        "Updated": "2024-04-19T06:03:20.3215636+01:00",
        "Deleted": "2024-04-19T06:03:20.3215636+01:00",
        "Activation": true,
        "Country": "ad52a445-fbd9-4800-b329-76b9b4ee75de",
        "Enrolments": 5,
        "Finish": "2024-04-19T06:03:20.3215636+01:00",
        "Location": "sample string 6",
        "Maximum": 7,
        "Minimum": 8,
        "Module": "4972b79a-bf1f-4215-8f75-7e1266e251b9",
        "Start": "2024-04-19T06:03:20.3215636+01:00",
        "Totara": 1,
        "Workshops": 10
      }
    ],
    "Tutors": [
      {
        "Identifier": "d340404e-3fcd-4aad-83fc-92ee062821f4",
        "Inserted": "2024-04-19T06:03:20.3215636+01:00",
        "Updated": "2024-04-19T06:03:20.3215636+01:00",
        "Deleted": "2024-04-19T06:03:20.3215636+01:00",
        "Activation": true,
        "Enrolments": 4,
        "Module": "4972b79a-bf1f-4215-8f75-7e1266e251b9",
        "Name": "sample string 6",
        "Totara": 1
      }
    ]
  },
  {
    "Identifier": "4972b79a-bf1f-4215-8f75-7e1266e251b9",
    "Inserted": "2024-04-19T06:03:20.3057847+01:00",
    "Updated": "2024-04-19T06:03:20.3057847+01:00",
    "Deleted": "2024-04-19T06:03:20.3215636+01:00",
    "Activation": true,
    "Content": "sample string 4",
    "Course": "f4f455b1-73dd-4f5b-a24c-245b4058241e",
    "Credit": 6,
    "Description": "sample string 7",
    "Mandatory": true,
    "Name": "sample string 9",
    "Totara": 1,
    "Sets": [
      {
        "Identifier": "279fa3b3-99b4-4370-819c-4758ade1ee64",
        "Inserted": "2024-04-19T06:03:20.3215636+01:00",
        "Updated": "2024-04-19T06:03:20.3215636+01:00",
        "Deleted": "2024-04-19T06:03:20.3215636+01:00",
        "Activation": true,
        "Country": "ad52a445-fbd9-4800-b329-76b9b4ee75de",
        "Enrolments": 5,
        "Finish": "2024-04-19T06:03:20.3215636+01:00",
        "Location": "sample string 6",
        "Maximum": 7,
        "Minimum": 8,
        "Module": "4972b79a-bf1f-4215-8f75-7e1266e251b9",
        "Start": "2024-04-19T06:03:20.3215636+01:00",
        "Totara": 1,
        "Workshops": 10
      }
    ],
    "Tutors": [
      {
        "Identifier": "d340404e-3fcd-4aad-83fc-92ee062821f4",
        "Inserted": "2024-04-19T06:03:20.3215636+01:00",
        "Updated": "2024-04-19T06:03:20.3215636+01:00",
        "Deleted": "2024-04-19T06:03:20.3215636+01:00",
        "Activation": true,
        "Enrolments": 4,
        "Module": "4972b79a-bf1f-4215-8f75-7e1266e251b9",
        "Name": "sample string 6",
        "Totara": 1
      }
    ]
  }
]

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 'System.Data.Linq.EntitySet`1[[Totara.WEBAPI.Set, Totara.WEBAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'System.Data.Linq.EntitySet`1[[Totara.WEBAPI.Set, Totara.WEBAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.