ListLearners
GET /tp-api/learners
Retrieve a list of training provider learners for the given training provider.
Query Parameters
- cursor string
Cursor to return items after a specific position in the list.
- limit integer
Possible values:
>= 1
and<= 100
Default value:
10
Maximum number of items to return.
- skip integer
Query to retrieve the items starting from that position in the dataset.
- name string
Filter by full name using case-insensitive
partial
match. - email string
Filter by the email address using case-insensitive
partial
match.
Header Parameters
- training-provider-id string required
Responses
- 200
- 400
Default Response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- id string required
Learner ID.
firstname object required
- anyOf
- MOD1
stringLearner first name.
- anyOf
lastname object required
- anyOf
- MOD1
stringLearner last name.
- anyOf
uniqueSystemIdentifier object required
- anyOf
- MOD1
stringLearner unique system ID.
- anyOf
email object required
- anyOf
- MOD1
stringLearner email.
- anyOf
phone object required
- anyOf
- MOD1
stringLearner phone.
- anyOf
- created string required
Learner creation date.
- ]
[
{
"id": "string",
"firstname": "string",
"lastname": "string",
"uniqueSystemIdentifier": "string",
"email": "string",
"phone": "string",
"created": "string"
}
]
Default Response
- application/json
- Schema
- Example (from schema)
Schema
- anyOf
- MOD1
- MOD2
statusCode number requiredcode stringError code
error string requiredError key
message string requiredError message
error object required
key string requiredError key
message string requiredError message
{
"statusCode": 0,
"code": "string",
"error": "string",
"message": "string"
}
Loading...