POST api/Courses/retrieve_academy_course_purchases
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of vw_academy_course_purchase| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
None. |
||
| First | string |
None. |
|
| Last | string |
None. |
|
| totara_user_id | integer |
None. |
|
| person_id | globally unique identifier |
None. |
|
| Order | integer |
None. |
|
| Code | integer |
None. |
|
| Credit | integer |
None. |
|
| Materials | boolean |
None. |
|
| Workshops | boolean |
None. |
|
| Start | date |
None. |
|
| Name | string |
None. |
|
| Finish | date |
None. |
|
| totara_course_id | integer |
None. |
|
| course_id | globally unique identifier |
None. |
|
| academy_short_course_id | globally unique identifier |
None. |
|
| academy_short_course_name | string |
None. |
|
| totara_short_course_id | integer |
None. |
|
| Identifier | globally unique identifier |
None. |
|
| route_selected | integer |
None. |
|
| current_tier | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Email": "sample string 1",
"First": "sample string 2",
"Last": "sample string 3",
"totara_user_id": 1,
"person_id": "1d925ef0-be9d-4fb4-87d8-02588c1ef5d3",
"Order": 5,
"Code": 6,
"Credit": 7,
"Materials": true,
"Workshops": true,
"Start": "2025-12-27T05:08:28.9622792+00:00",
"Name": "sample string 10",
"Finish": "2025-12-27T05:08:28.9622792+00:00",
"totara_course_id": 1,
"course_id": "fc87b1df-d4d4-427f-a98f-70e8bc5d7081",
"academy_short_course_id": "dc7184f8-cfdd-47a7-8526-dc3a8b7a5e3f",
"academy_short_course_name": "sample string 11",
"totara_short_course_id": 1,
"Identifier": "d257efc2-5cc2-4e8d-a760-30dd79eb3f15",
"route_selected": 13,
"current_tier": 14
},
{
"Email": "sample string 1",
"First": "sample string 2",
"Last": "sample string 3",
"totara_user_id": 1,
"person_id": "1d925ef0-be9d-4fb4-87d8-02588c1ef5d3",
"Order": 5,
"Code": 6,
"Credit": 7,
"Materials": true,
"Workshops": true,
"Start": "2025-12-27T05:08:28.9622792+00:00",
"Name": "sample string 10",
"Finish": "2025-12-27T05:08:28.9622792+00:00",
"totara_course_id": 1,
"course_id": "fc87b1df-d4d4-427f-a98f-70e8bc5d7081",
"academy_short_course_id": "dc7184f8-cfdd-47a7-8526-dc3a8b7a5e3f",
"academy_short_course_name": "sample string 11",
"totara_short_course_id": 1,
"Identifier": "d257efc2-5cc2-4e8d-a760-30dd79eb3f15",
"route_selected": 13,
"current_tier": 14
}
]
application/xml, text/xml
Sample:
<ArrayOfvw_academy_course_purchase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Totara.WEBAPI">
<vw_academy_course_purchase>
<Code>6</Code>
<Credit>7</Credit>
<Email>sample string 1</Email>
<Finish>2025-12-27T05:08:28.9622792+00:00</Finish>
<First>sample string 2</First>
<Identifier>d257efc2-5cc2-4e8d-a760-30dd79eb3f15</Identifier>
<Last>sample string 3</Last>
<Materials>true</Materials>
<Name>sample string 10</Name>
<Order>5</Order>
<Start>2025-12-27T05:08:28.9622792+00:00</Start>
<Workshops>true</Workshops>
<academy_short_course_id>dc7184f8-cfdd-47a7-8526-dc3a8b7a5e3f</academy_short_course_id>
<academy_short_course_name>sample string 11</academy_short_course_name>
<course_id>fc87b1df-d4d4-427f-a98f-70e8bc5d7081</course_id>
<current_tier>14</current_tier>
<person_id>1d925ef0-be9d-4fb4-87d8-02588c1ef5d3</person_id>
<route_selected>13</route_selected>
<totara_course_id>1</totara_course_id>
<totara_short_course_id>1</totara_short_course_id>
<totara_user_id>1</totara_user_id>
</vw_academy_course_purchase>
<vw_academy_course_purchase>
<Code>6</Code>
<Credit>7</Credit>
<Email>sample string 1</Email>
<Finish>2025-12-27T05:08:28.9622792+00:00</Finish>
<First>sample string 2</First>
<Identifier>d257efc2-5cc2-4e8d-a760-30dd79eb3f15</Identifier>
<Last>sample string 3</Last>
<Materials>true</Materials>
<Name>sample string 10</Name>
<Order>5</Order>
<Start>2025-12-27T05:08:28.9622792+00:00</Start>
<Workshops>true</Workshops>
<academy_short_course_id>dc7184f8-cfdd-47a7-8526-dc3a8b7a5e3f</academy_short_course_id>
<academy_short_course_name>sample string 11</academy_short_course_name>
<course_id>fc87b1df-d4d4-427f-a98f-70e8bc5d7081</course_id>
<current_tier>14</current_tier>
<person_id>1d925ef0-be9d-4fb4-87d8-02588c1ef5d3</person_id>
<route_selected>13</route_selected>
<totara_course_id>1</totara_course_id>
<totara_short_course_id>1</totara_short_course_id>
<totara_user_id>1</totara_user_id>
</vw_academy_course_purchase>
</ArrayOfvw_academy_course_purchase>