Documentation

Teachers extends BaseEndpoint
in package

Routing class for the subnamespace `Teachers`

Table of Contents

Properties

$classes  : Classes
$_classes  : Classes|null
$endpoints  : array<string, BaseEndpoint>>
$url  : string

Methods

get()  : UsersOutputModel
Returns a collection of teacher user data.
getById()  : UserOutputModel
Returns a single teacher user for the specified ```id```.

Properties

$endpoints

protected array<string, BaseEndpoint>> $endpoints = ["classes" => "\\Blackbaud\\SKY\\OneRoster\\Endpoints\\Teachers\\Classes"]

$endpoints Routing subpaths

$url

protected string $url = "https://api.sky.blackbaud.com/afe-rostr/ims/oneroster/v1p1/teachers/{id}"

Methods

getById()

Returns a single teacher user for the specified ```id```.

public getById(array{id: string} $params) : UserOutputModel

Roles returned include:

  • Teacher

  • Pending Teacher

Parameters
$params : array{id: string}

An associative array

  • id: sourcedId for the teacher
Tags
throws
ArgumentException

if required parameters are not defined

Return values
UserOutputModel

Success


        
On this page

Search results