AVAILABLE WITH BUSINESS SUBSCRIPTION
Request: GET /training/{training_id}
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, or custom roles that permit a training to be viewed.
Header | Description |
---|
Authorization (required) | Access token. You can obtain a token by making a request. |
Parameter | Description |
---|
training_id (required) | The training ID you would like to get info on. |
Response Parameters
Parameter | Description |
---|
training | An array with the training’s data. |
title | The title of the training. |
organizer | The training organizer’s ID. |
sessions | An array with a session’s ID. |
type | The training type. |
Response Codes
Code | Text | Description |
---|
200 | OK | The request has been successfully processed. The response body will contain XML data with the information on the training. |
400 | Bad Request | A request error. |
401 | Unauthorized | An authorization error. |
403 | Permission Denied | The user doesn't have enough permissions to get information on training. |
404 | Training not found | The training you requested could not be found. |
Sample Request
GET /training/b431d5a0-2d14-11ed-b56c-0242c0a87043
Host: api-learn.ispringlearn.com
Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE
XML
Sample Response
<?xml version="1.0" encoding="UTF-8" ?>
<response>
<training>
<title>Sales Training and Strategy</title>
<organizer>a5ae3268-2d13-11ed-9c2b-0242c0a87043</organizer>
<sessions>
<id>b437976a-2d14-11ed-9e57-0242c0a87043</id>
<id>da7f4200-2d1f-11ed-afa0-0242c0a88043</id>
<id>86c3a3c4-2dbd-11ed-842c-0242c0a88043</id>
<id>a2507782-2f40-11ed-a4b8-0242c0a8d043</id>
<id>3c952448-2f44-11ed-b496-0242c0a8e043</id>
<id>1cc8b7a2-37ea-11ed-a404-0242ac160043</id>
</sessions>
</training>
</response>
XML