POST api/Courses/retrieve_academy_course_purchases
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of vw_academy_course_purchaseName | 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": "d2d6b0bc-b469-464d-9ccb-3039af94eff4", "Order": 5, "Code": 6, "Credit": 7, "Materials": true, "Workshops": true, "Start": "2025-04-04T03:52:53.4225158+01:00", "Name": "sample string 10", "Finish": "2025-04-04T03:52:53.4225158+01:00", "totara_course_id": 1, "course_id": "c7c44666-d37c-4017-88a5-1a44d5272db8", "academy_short_course_id": "a737f782-a989-41aa-ba6d-3d186b9bccc0", "academy_short_course_name": "sample string 11", "totara_short_course_id": 1, "Identifier": "2eff449e-486e-4a69-bf29-8f9e5322b76c", "route_selected": 13, "current_tier": 14 }, { "Email": "sample string 1", "First": "sample string 2", "Last": "sample string 3", "totara_user_id": 1, "person_id": "d2d6b0bc-b469-464d-9ccb-3039af94eff4", "Order": 5, "Code": 6, "Credit": 7, "Materials": true, "Workshops": true, "Start": "2025-04-04T03:52:53.4225158+01:00", "Name": "sample string 10", "Finish": "2025-04-04T03:52:53.4225158+01:00", "totara_course_id": 1, "course_id": "c7c44666-d37c-4017-88a5-1a44d5272db8", "academy_short_course_id": "a737f782-a989-41aa-ba6d-3d186b9bccc0", "academy_short_course_name": "sample string 11", "totara_short_course_id": 1, "Identifier": "2eff449e-486e-4a69-bf29-8f9e5322b76c", "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-04-04T03:52:53.4225158+01:00</Finish> <First>sample string 2</First> <Identifier>2eff449e-486e-4a69-bf29-8f9e5322b76c</Identifier> <Last>sample string 3</Last> <Materials>true</Materials> <Name>sample string 10</Name> <Order>5</Order> <Start>2025-04-04T03:52:53.4225158+01:00</Start> <Workshops>true</Workshops> <academy_short_course_id>a737f782-a989-41aa-ba6d-3d186b9bccc0</academy_short_course_id> <academy_short_course_name>sample string 11</academy_short_course_name> <course_id>c7c44666-d37c-4017-88a5-1a44d5272db8</course_id> <current_tier>14</current_tier> <person_id>d2d6b0bc-b469-464d-9ccb-3039af94eff4</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-04-04T03:52:53.4225158+01:00</Finish> <First>sample string 2</First> <Identifier>2eff449e-486e-4a69-bf29-8f9e5322b76c</Identifier> <Last>sample string 3</Last> <Materials>true</Materials> <Name>sample string 10</Name> <Order>5</Order> <Start>2025-04-04T03:52:53.4225158+01:00</Start> <Workshops>true</Workshops> <academy_short_course_id>a737f782-a989-41aa-ba6d-3d186b9bccc0</academy_short_course_id> <academy_short_course_name>sample string 11</academy_short_course_name> <course_id>c7c44666-d37c-4017-88a5-1a44d5272db8</course_id> <current_tier>14</current_tier> <person_id>d2d6b0bc-b469-464d-9ccb-3039af94eff4</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>