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.

Request Headers

Header

Description

Authorization (required)Access token. You can obtain a token by making a request.
ParameterDescription
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.
titleThe title of the training.
organizerThe training organizer’s ID.
sessionsAn array with a session’s ID.
typeThe training type.

Response Codes

Code

Text

Description

200OKThe request has been successfully processed. The response body will contain XML data with the information on the training.
400Bad RequestA request error.
401UnauthorizedAn authorization error.
403Permission DeniedThe user doesn't have enough permissions to get information on training.
404Training not foundThe 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