CreateSeason
CreateSeasonCreates a new season.
Parameters:
| Parameter | Type | Description |
|---|---|---|
input | SeasonInput | Season data. |
Example Query:
mutation CreateSeason($input: SeasonInput!) {
CreateSeason(input: $input) {
id
label
active
}
}UpdateSeason
UpdateSeasonUpdates an existing season.
Parameters:
| Parameter | Type | Description |
|---|---|---|
id | Int | ID of the season. |
input | SeasonInput | Updated data. |
DeleteSeason
DeleteSeasonDeletes a season.
Parameters:
| Parameter | Type | Description |
|---|---|---|
id | Int | ID of the season. |
EnableSeason / DisableSeason
EnableSeason / DisableSeasonEnables or disables a season.
Parameters:
| Parameter | Type | Description |
|---|---|---|
id | Int | ID of the season. |
Input Data Types
SeasonInput
SeasonInput