AVAILABLE WITH BUSINESS SUBSCRIPTION

Request: GET /training/{trainingId}

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
trainingId (required)The training ID you would like to get info on.
Existing customers may continue using ispringlearn.com, and new customers should use ispring.com.

Response Parameters

Parameter

Description

titleThe title of the training.
organizerThe training organizer’s ID.
sessionsAn array with session IDs.
typeThe training type.

Response Codes

Code

Text

Description

200OKThe request has been successfully processed. The response body contains training data in JSON format.
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 HTTP/1.1
Host: api-learn.ispringlearn.com
Accept: application/json
Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE
CODE

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json

{
  "title": "Sales Training and Strategy",
  "organizer": "a5ae3268-2d13-11ed-9c2b-0242c0a87043",
  "sessions": [
    "b437976a-2d14-11ed-9e57-0242c0a87043",
    "da7f4200-2d1f-11ed-afa0-0242c0a88043",
    "86c3a3c4-2dbd-11ed-842c-0242c0a88043",
    "a2507782-2f40-11ed-a4b8-0242c0a8d043",
    "3c952448-2f44-11ed-b496-0242c0a8e043",
    "1cc8b7a2-37ea-11ed-a404-0242ac160043"
  ],
  "type": "meeting"
}
CODE