Request: GET/training/session/participants/{session_id}

Permissions to Run the Request

Account OwnerAccount AdministratorsDepartment Administratorsor custom roles that permit a training to be viewed.

Request Headers

Header

Description

X-Auth-Account-Url (required)The base URL of the account, e.g. https://myaccount.ispringlearn.com.
X-Auth-Email (required)The login of Account OwnerAccount AdministratorDepartment Administrator, or a user with a role with custom settings. 
X-Auth-Password (required)The password of Account OwnerAccount AdministratorDepartment Administrator, or a user with a role with custom settings. 
ParameterDescription
sessionId (required)The session ID you would like to get info on.

Response Parameters

Parameter

Description

participants

An array with users’s ID, enrolled in the training.

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 session.
404Session not foundThe session you requested could not be found.

Sample Request

GET /training/session/participants/4728d100-c96a-11ed-a664-b6c48b3dc692
Host: api-learn.ispringlearn.com
X-Auth-Account-Url: https://myaccount.ispringlearn.com
X-Auth-Email: admin@company.com
X-Auth-Password: password
Content-Type:application/xml

Sample Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <participants>
        <id>76a38028-c8b7-11ed-a616-0242ac15004f</id>
        <id>f5bafbba-c7eb-11ed-a327-0242ac12004e</id>
    </participants>
</response>