Opponents
extends BaseEndpoint
in package
Table of Contents
Properties
- $url : string
Methods
- list_() : OpponentFlyweightCollection
- Returns a collection of athletic opponents.
- post() : int
- Creates a new athletic opponent.
Properties
$url
protected
string
$url
= "https://api.sky.blackbaud.com/school/v1/athletics/opponents"
Endpoint URL pattern
Methods
list_()
Returns a collection of athletic opponents.
public
list_() : OpponentFlyweightCollection
Requires at least one of the following roles in the Education Management system:
-
Athletic Group Manager
-
Team Schedule Manager
-
Page Manager
-
Coach
-
Pending Coach
Return values
OpponentFlyweightCollection —Success
post()
Creates a new athletic opponent.
public
post(OpponentUpdateModel $requestBody) : int
Requires at least one of the following roles in the Education Management system:
-
Athletic Group Manager
-
Team Schedule Manager
-
Schedule Manager
-
Page Manager
-
Coach
-
Pending Coach
Parameters
- $requestBody : OpponentUpdateModel
-
The opponent to be created
Tags
Return values
int —Success