Normally season statistics are built automatically based on match statistics. For some scenarios such as historical imports where the match level data is not available, that 'already aggregated' data can be imported into the base statistics. These will then be aggregated with the match generated statistics to create the competition and career statsitics.
Return a list of team base statistics for a season
Required scopes
This endpoint requires the following scopes:
: Read any data from the organization down
Authorizations
OAuth2clientCredentialsRequired
You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.
Token URL:
Path parameters
organizationIdstring · min: 5 · max: 5Required
The unique identifier of the organization
Example: b1a23
seasonIdstring · uuidRequired
The unique identifier of the season
Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
Query parameters
addedstring · date-timeOptional
Record was added after this date/time. In UTC.
Example: 2018-08-16T02:10:48
competitorTypestring · enumOptional
The type of competitors in this fixture
ENTITY Entity
PERSON Person
Example: PERSONPossible values:
entityIdstring · uuidOptional
The unique identifier of the entity
Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
externalstringOptional
A comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.
Example: entityId,personId
fieldsstringOptional
A comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.
Delete a base statistic record for a team in a season.
Required scopes
This endpoint requires the following scopes:
: Write/Update any data from below the organization
Authorizations
OAuth2clientCredentialsRequired
You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.
Token URL:
Path parameters
organizationIdstring · min: 5 · max: 5Required
The unique identifier of the organization
Example: b1a23
seasonIdstring · uuidRequired
The unique identifier of the season
Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
Query parameters
competitorTypestring · enumOptional
The type of competitors in this fixture
ENTITY Entity
PERSON Person
Example: PERSONPossible values:
entityIdstring · uuidOptional
The unique identifier of the entity
Example: 009e9276-5c80-11e8-9c2d-fa7ae01bbebc
externalstringOptional
A comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.
Example: entityId,personId
fieldsstringOptional
A comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.
Depending on the data, add or update a base statistic record for a team in a season.
Required scopes
This endpoint requires the following scopes:
: Write/Update any data from below the organization
Authorizations
OAuth2clientCredentialsRequired
You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.
Token URL:
Path parameters
organizationIdstring · min: 5 · max: 5Required
The unique identifier of the organization
Example: b1a23
Query parameters
externalstringOptional
A comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.
Example: entityId,personId
fieldsstringOptional
A comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.