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": "8ba294ea-3bd0-4a99-a3b9-5144ee20dab4", "Order": 5, "Code": 6, "Credit": 7, "Materials": true, "Workshops": true, "Start": "2024-11-21T08:30:12.1606725+00:00", "Name": "sample string 10", "Finish": "2024-11-21T08:30:12.1606725+00:00", "totara_course_id": 1, "course_id": "cd11006e-2b18-4b1c-9b1c-abee200071ab", "academy_short_course_id": "c3a614ba-10a9-49cb-aca9-392813461380", "academy_short_course_name": "sample string 11", "totara_short_course_id": 1, "Identifier": "51e56709-48da-4fdd-a4a3-cc80eaaf666a", "route_selected": 13, "current_tier": 14 }, { "Email": "sample string 1", "First": "sample string 2", "Last": "sample string 3", "totara_user_id": 1, "person_id": "8ba294ea-3bd0-4a99-a3b9-5144ee20dab4", "Order": 5, "Code": 6, "Credit": 7, "Materials": true, "Workshops": true, "Start": "2024-11-21T08:30:12.1606725+00:00", "Name": "sample string 10", "Finish": "2024-11-21T08:30:12.1606725+00:00", "totara_course_id": 1, "course_id": "cd11006e-2b18-4b1c-9b1c-abee200071ab", "academy_short_course_id": "c3a614ba-10a9-49cb-aca9-392813461380", "academy_short_course_name": "sample string 11", "totara_short_course_id": 1, "Identifier": "51e56709-48da-4fdd-a4a3-cc80eaaf666a", "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>2024-11-21T08:30:12.1606725+00:00</Finish> <First>sample string 2</First> <Identifier>51e56709-48da-4fdd-a4a3-cc80eaaf666a</Identifier> <Last>sample string 3</Last> <Materials>true</Materials> <Name>sample string 10</Name> <Order>5</Order> <Start>2024-11-21T08:30:12.1606725+00:00</Start> <Workshops>true</Workshops> <academy_short_course_id>c3a614ba-10a9-49cb-aca9-392813461380</academy_short_course_id> <academy_short_course_name>sample string 11</academy_short_course_name> <course_id>cd11006e-2b18-4b1c-9b1c-abee200071ab</course_id> <current_tier>14</current_tier> <person_id>8ba294ea-3bd0-4a99-a3b9-5144ee20dab4</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>2024-11-21T08:30:12.1606725+00:00</Finish> <First>sample string 2</First> <Identifier>51e56709-48da-4fdd-a4a3-cc80eaaf666a</Identifier> <Last>sample string 3</Last> <Materials>true</Materials> <Name>sample string 10</Name> <Order>5</Order> <Start>2024-11-21T08:30:12.1606725+00:00</Start> <Workshops>true</Workshops> <academy_short_course_id>c3a614ba-10a9-49cb-aca9-392813461380</academy_short_course_id> <academy_short_course_name>sample string 11</academy_short_course_name> <course_id>cd11006e-2b18-4b1c-9b1c-abee200071ab</course_id> <current_tier>14</current_tier> <person_id>8ba294ea-3bd0-4a99-a3b9-5144ee20dab4</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>