# Season Team Base Statistics

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.

## Team season base statistics

> Return a list of team base statistics for a season

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - basketball","version":"v1"},"tags":[{"name":"Season Team Base Statistics","description":"\n    Normally season statistics are built automatically based on match statistics.\n    For some scenarios such as historical imports where the match level data is not available,\n    that 'already aggregated' data can be imported into the base statistics.\n    These will then be aggregated with the match generated statistics to create the competition and\n    career statsitics.\n    "}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["read:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) 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."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Season_Entity_Base_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The season linked to this record","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The team information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this season team base statistics belongs to","type":"object"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50},"representing":{"description":"Who was being represented for the season base statistics","type":"string","maxLength":100},"statistics":{"type":"object","additionalProperties":false,"properties":{"assists":{"description":"The number of assists","type":"integer","nullable":true,"format":"int32"},"assistsAgainst":{"description":"The number of assists by the opposing team","type":"integer","nullable":true,"format":"int32"},"assistsAgainstPerGame":{"description":"Average number of assists per game by the opposing team","type":"number","format":"float"},"assistsPerGame":{"description":"Average number of assists per game","type":"number","format":"float"},"assistsDefensive":{"description":"The number of defensive assists","type":"integer","nullable":true,"format":"int32"},"assistsTurnoverRatio":{"description":"The ratio of assists to turnovers","type":"number","format":"float"},"biggestLead":{"description":"The largest lead","type":"integer","nullable":true,"format":"int32"},"biggestScoringRun":{"description":"The longest scoring run","type":"integer","nullable":true,"format":"int32"},"blocks":{"description":"The number of blocks made","type":"integer","nullable":true,"format":"int32"},"blocksPerGame":{"description":"Average number of blocks per game","type":"number","format":"float"},"blocksReceived":{"description":"The number of times entity has been blocked","type":"integer","nullable":true,"format":"int32"},"blocksReceivedPerGame":{"description":"Average number of times entity has been blocked per game","type":"number","format":"float"},"draws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"dunks":{"description":"The number of dunks made","type":"integer","nullable":true,"format":"int32"},"dunksPerGame":{"description":"Average number of dunks per game","type":"number","format":"float"},"efficiencyCustom":{"description":"Custom Efficiency rating","type":"number","nullable":true,"format":"float"},"efficiency":{"description":"Efficiency rating","type":"number","format":"float"},"pir":{"description":"Performance Index Rating","type":"number","format":"float"},"fieldGoalsAttempted":{"description":"The number of field goals (2pt + 3pt) attempted","type":"integer","nullable":true,"format":"int32"},"fieldGoalsAttemptedAgainst":{"description":"The number of field goals (2pt + 3pt) attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"fieldGoalsAttemptedAgainstPerGame":{"description":"Average number of field goals (2pt + 3pt) attempted per game by the opposing team","type":"number","format":"float"},"fieldGoalsMade":{"description":"The number of field goals (2pt + 3pt) made","type":"integer","nullable":true,"format":"int32"},"fieldGoalsMadeAgainst":{"description":"The number of field goals (2pt + 3pt) made by the opposing team","type":"integer","nullable":true,"format":"int32"},"fieldGoalsMadeAgainstPerGame":{"description":"Average number of field goals (2pt + 3pt) made per game by the opposing team","type":"number","format":"float"},"fieldGoalsEffectivePercentage":{"description":"The effective percentage of successful field goals","type":"number","format":"float"},"fieldGoalsPercentage":{"description":"The percentage of successful field goals","type":"number","format":"float"},"fieldGoalsAgainstPercentage":{"description":"The percentage of successful field goals by the opposing team","type":"number","format":"float"},"freeThrowsAttempted":{"description":"The number of free throws attempted","type":"integer","nullable":true,"format":"int32"},"freeThrowsAttemptedAgainst":{"description":"The number of free throws attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"freeThrowsAttemptedAgainstPerGame":{"description":"Average number of free throws attempted per game by the opposing team","type":"number","format":"float"},"freeThrowsAttemptedPerGame":{"description":"Average number of free throws attempted per game","type":"number","format":"float"},"freeThrowsMade":{"description":"The number of free throws made","type":"integer","nullable":true,"format":"int32"},"freeThrowsMadeAgainst":{"description":"The number of free throws made by the opposing team","type":"integer","nullable":true,"format":"int32"},"freeThrowsMadeAgainstPerGame":{"description":"Average number of free throws made per game by the opposing team","type":"number","format":"float"},"freeThrowsMadePerGame":{"description":"Average number of free throws made per game","type":"number","format":"float"},"freeThrowsPercentage":{"description":"The percentage of successful free throws","type":"number","format":"float"},"freeThrowsAgainstPercentage":{"description":"The percentage of successful free throws by the opposing team","type":"number","format":"float"},"foulsBenchTechnical":{"description":"The number of technical fouls on the bench","type":"integer","nullable":true,"format":"int32"},"foulsCoachDisqualifying":{"description":"The number of disqualifying fouls on the coach","type":"integer","nullable":true,"format":"int32"},"foulsCoachTechnical":{"description":"The number of technical fouls on the coach","type":"integer","nullable":true,"format":"int32"},"foulsDisqualifying":{"description":"The number of disqualifying fouls","type":"integer","nullable":true,"format":"int32"},"foulsOffensive":{"description":"The number of offensive fouls","type":"integer","nullable":true,"format":"int32"},"foulsDrawn":{"description":"The number of times this player has been fouled on","type":"integer","nullable":true,"format":"int32"},"foulsDrawnPerGame":{"description":"Average number of times this player has been fouled on per game","type":"number","format":"float"},"foulsPersonal":{"description":"The number of personal fouls","type":"integer","nullable":true,"format":"int32"},"foulsPersonalAgainst":{"description":"The number of personal fouls by the opposing team","type":"integer","nullable":true,"format":"int32"},"foulsPersonalAgainstPerGame":{"description":"Average number of personal fouls per game by the opposing team","type":"number","format":"float"},"foulsPersonalPerGame":{"description":"Average number of personal fouls per game","type":"number","format":"float"},"foulsTechnical":{"description":"The number of technical fouls","type":"integer","nullable":true,"format":"int32"},"foulsTechnicalAgainst":{"description":"The number of technical fouls by the opposing team","type":"integer","nullable":true,"format":"int32"},"foulsTechnicalAgainstPerGame":{"description":"Average number of technical fouls per game by the opposing team","type":"number","format":"float"},"foulsTotal":{"description":"Total number of fouls (aggregate of persons)","type":"integer","format":"int32"},"foulsUnsportsmanlike":{"description":"The number of unsportsmanlike fouls","type":"integer","nullable":true,"format":"int32"},"games":{"description":"The number of matches that they have participated in","type":"integer","nullable":true,"format":"int32"},"indexOfSuccess":{"description":"Index of Success","type":"number","format":"float"},"losses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"minutes":{"description":"The number of minutes (in ISO8601 Duration format) that the team had players on the court. eg. PT1M30S equals 1 minute and 30 seconds","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"offensiveRating":{"description":"Is this needed?","type":"number","nullable":true,"format":"float"},"points":{"description":"Total number of points","type":"integer","nullable":true,"format":"int32"},"pointsAgainst":{"description":"Points scored against","type":"integer","nullable":true,"format":"int32"},"pointsAgainstPerGame":{"description":"Average number of points scored against per game","type":"number","nullable":true,"format":"float"},"pointsFastBreak":{"description":"Total of fast break points","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakPerGame":{"description":"Average number of fast break points per game","type":"number","nullable":true,"format":"float"},"pointsFastBreakAgainst":{"description":"Total of fast break points by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakAgainstPerGame":{"description":"Average number of fast break points by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsFastBreakAttempted":{"description":"Number of fast break points attempted","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakMade":{"description":"Number of fast break points made","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnover":{"description":"The number of points from turnovers","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnoverAgainst":{"description":"The number of points from turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnoverAgainstPerGame":{"description":"Average number of points from turnovers by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsInThePaint":{"description":"Total of points in the paint","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintPerGame":{"description":"Average number of points in the paint per game","type":"number","nullable":true,"format":"float"},"pointsInThePaintAgainst":{"description":"Total of points in the paint by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintAgainstPerGame":{"description":"Average number of points in the paint by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsInThePaintMade":{"description":"Number of points in the paint made","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintAttempted":{"description":"Number of points in the paint attempted","type":"integer","nullable":true,"format":"int32"},"pointsFromBench":{"description":"Total of points from bench players","type":"integer","nullable":true,"format":"int32"},"pointsFromBenchPerGame":{"description":"Average number of points from bench players per game","type":"number","nullable":true,"format":"float"},"pointsFromBenchAgainst":{"description":"Total of points from bench players by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFromBenchAgainstPerGame":{"description":"Average number of points from bench players by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsPerGame":{"description":"Average number of points per game","type":"number","format":"float"},"pointsSecondChance":{"description":"Total of second chance points","type":"integer","nullable":true,"format":"int32"},"pointsSecondChancePerGame":{"description":"Average number of second chance points per game","type":"number","nullable":true,"format":"float"},"pointsSecondChanceAgainst":{"description":"Total of second chance points by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsSecondChanceAgainstPerGame":{"description":"Average number of second chance points by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsSecondChanceAttempted":{"description":"Number of second chance points attempted","type":"integer","nullable":true,"format":"int32"},"pointsSecondChanceMade":{"description":"Number of second chance points made","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttempted":{"description":"The number of two point shots attempted","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttemptedAgainst":{"description":"The number of two point shots attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttemptedAgainstPerGame":{"description":"Average number of two point shots attempted per game by the opposing team","type":"number","format":"float"},"pointsTwoAttemptedPerGame":{"description":"Average number of two point shots attempted per game","type":"number","format":"float"},"pointsTwoMade":{"description":"The number of two point shots made","type":"integer","nullable":true,"format":"int32"},"pointsTwoMadeAgainst":{"description":"The number of two point shots made by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsTwoMadeAgainstPerGame":{"description":"Average number of two point shots made per game by the opposing team","type":"number","format":"float"},"pointsTwoMadePerGame":{"description":"Average number of two point shots made per game","type":"number","format":"float"},"pointsTwoPercentage":{"description":"The percentage of successful two point shots","type":"number","format":"float"},"pointsTwoPercentageAgainst":{"description":"The percentage of successful two point shots by the opposing team","type":"number","format":"float"},"pointsThreeAttempted":{"description":"The number of three point shots attempted","type":"integer","nullable":true,"format":"int32"},"pointsThreeAttemptedAgainst":{"description":"The number of three point shots attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsThreeAttemptedAgainstPerGame":{"description":"Average number of three point shots attempted per game by the opposing team","type":"number","format":"float"},"pointsThreeAttemptedPerGame":{"description":"Average number of three point shots attempted per game","type":"number","format":"float"},"pointsThreeMade":{"description":"The number of three point shots made","type":"integer","nullable":true,"format":"int32"},"pointsThreeMadeAgainst":{"description":"The number of three point shots made by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsThreeMadeAgainstPerGame":{"description":"Average number of three point shots made per game by the opposing team","type":"number","format":"float"},"pointsThreeMadePerGame":{"description":"Average number of three point shots made per game","type":"number","format":"float"},"pointsThreePercentage":{"description":"The percentage of successful three point shots","type":"number","format":"float"},"pointsThreePercentageAgainst":{"description":"The percentage of successful three point shots","type":"number","format":"float"},"powerPlayPoints":{"description":"The number of points from power play","type":"integer","nullable":true,"format":"int32"},"powerPlayPointsAwarded":{"description":"The number of points being awarded from power play","type":"integer","nullable":true,"format":"int32"},"rebounds":{"description":"The total number of rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsAgainst":{"description":"The total number of rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsAgainstPerGame":{"description":"Average number of rebounds per game by the opposing team","type":"number","format":"float"},"reboundsTeamTotal":{"description":"The total number of team rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamTotalAgainst":{"description":"The total number of team rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamTotalAgainstPerGame":{"description":"Average number of team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsPerGame":{"description":"Average number of rebounds per game","type":"number","format":"float"},"reboundsTeamDefensive":{"description":"The number of team defensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamDefensiveAgainst":{"description":"The number of team defensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsTeamDefensiveAgainstPerGame":{"description":"Average number of defensive team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsDefensive":{"description":"The number of total defensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsDefensiveAgainst":{"description":"The number of total defensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsDefensiveAgainstPerGame":{"description":"Average number of defensive rebounds per game by the opposing team","type":"number","format":"float"},"reboundsDefensivePerGame":{"description":"Average number of defensive rebounds per game","type":"number","format":"float"},"reboundsTeamOffensive":{"description":"The number of team offensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamOffensiveAgainst":{"description":"The number of team offensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsTeamOffensiveAgainstPerGame":{"description":"Average number of offensive team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsOffensive":{"description":"The number of total offensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsOffensiveAgainst":{"description":"The number of total offensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsOffensiveAgainstPerGame":{"description":"Average number of offensive rebounds per game by the opposing team","type":"number","format":"float"},"reboundsOffensivePerGame":{"description":"Average number of offensive rebounds per game","type":"number","format":"float"},"steals":{"description":"The number of steals","type":"integer","nullable":true,"format":"int32"},"stealsAgainst":{"description":"The number of steals by the opposing team","type":"integer","nullable":true,"format":"int32"},"stealsAgainstPerGame":{"description":"Average number of steals per game by the opposing team","type":"number","format":"float"},"stealsPerGame":{"description":"Average number of steals per game","type":"number","format":"float"},"trueShootingAttempts":{"description":"The number of true shooting attempts","type":"number","nullable":true,"format":"float"},"trueShootingPercentage":{"description":"The true shooting percentage","type":"number","format":"float"},"turnovers":{"description":"The number of total turnovers","type":"integer","nullable":true,"format":"int32"},"turnoversAgainst":{"description":"The number of total turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"turnoversAgainstPerGame":{"description":"Average number of turnovers per game by the opposing team","type":"number","format":"float"},"turnoversTeam":{"description":"The number of team turnovers","type":"integer","nullable":true,"format":"int32"},"turnoversTeamAgainst":{"description":"The number of team turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"turnoversTeamAgainstPerGame":{"description":"Average number of team turnovers per game by the opposing team","type":"number","format":"float"},"turnoversPercentage":{"description":"The turnover percentage","type":"number","format":"float"},"turnoversPerGame":{"description":"Average number of turnovers per game","type":"number","format":"float"},"wins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"}}},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"season team base statistics model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"added":{"name":"added","description":"Record was added after this date/time. In UTC.","schema":{"type":"string","format":"date-time"},"required":false,"in":"query"},"competitorType":{"name":"competitorType","description":"The type of competitors in this fixture\n>- `ENTITY` Entity\n>- `PERSON` Person\n","schema":{"type":"string","enum":["PERSON","ENTITY"]},"required":false,"in":"query"},"entityId":{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fixtureType":{"name":"fixtureType","description":"Type of Fixture\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","schema":{"type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"includeTotalCount":{"name":"includeTotalCount","description":"Include the total number of records matching the filters.","schema":{"type":"boolean"},"required":false,"in":"query"},"limit":{"name":"limit","description":"The maximum number of records to return. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32","maximum":1000,"minimum":1,"default":10},"required":false,"in":"query"},"offset":{"name":"offset","description":"The offset of the records. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32"},"required":false,"in":"query"},"representing":{"name":"representing","description":"Who the person was representing","schema":{"type":"string","maxLength":100},"required":false,"in":"query"},"representingCountry":{"name":"representingCountry","description":"What country representation is used\n>- `ANY` Any country\n>- `NONE` No country\n","schema":{"type":"string","enum":["NONE","ANY"]},"required":false,"in":"query"},"updated":{"name":"updated","description":"Record was modified after this date/time. In UTC.","schema":{"type":"string","format":"date-time"},"required":false,"in":"query"}}},"paths":{"/basketball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}":{"get":{"tags":["Season Team Base Statistics"],"summary":"Team season base statistics","description":"Return a list of team base statistics for a season","operationId":"sebs_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entity_Base_Statistics Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Season_Entity_Base_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitorType"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/includeTotalCount"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"},{"$ref":"#/components/parameters/representing"},{"$ref":"#/components/parameters/representingCountry"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}]}}}}
```

## Delete season team base statistics

> Delete a base statistic record for a team in a season.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - basketball","version":"v1"},"tags":[{"name":"Season Team Base Statistics","description":"\n    Normally season statistics are built automatically based on match statistics.\n    For some scenarios such as historical imports where the match level data is not available,\n    that 'already aggregated' data can be imported into the base statistics.\n    These will then be aggregated with the match generated statistics to create the competition and\n    career statsitics.\n    "}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["write:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) 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."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Season_Entity_Base_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The season linked to this record","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The team information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this season team base statistics belongs to","type":"object"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50},"representing":{"description":"Who was being represented for the season base statistics","type":"string","maxLength":100},"statistics":{"type":"object","additionalProperties":false,"properties":{"assists":{"description":"The number of assists","type":"integer","nullable":true,"format":"int32"},"assistsAgainst":{"description":"The number of assists by the opposing team","type":"integer","nullable":true,"format":"int32"},"assistsAgainstPerGame":{"description":"Average number of assists per game by the opposing team","type":"number","format":"float"},"assistsPerGame":{"description":"Average number of assists per game","type":"number","format":"float"},"assistsDefensive":{"description":"The number of defensive assists","type":"integer","nullable":true,"format":"int32"},"assistsTurnoverRatio":{"description":"The ratio of assists to turnovers","type":"number","format":"float"},"biggestLead":{"description":"The largest lead","type":"integer","nullable":true,"format":"int32"},"biggestScoringRun":{"description":"The longest scoring run","type":"integer","nullable":true,"format":"int32"},"blocks":{"description":"The number of blocks made","type":"integer","nullable":true,"format":"int32"},"blocksPerGame":{"description":"Average number of blocks per game","type":"number","format":"float"},"blocksReceived":{"description":"The number of times entity has been blocked","type":"integer","nullable":true,"format":"int32"},"blocksReceivedPerGame":{"description":"Average number of times entity has been blocked per game","type":"number","format":"float"},"draws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"dunks":{"description":"The number of dunks made","type":"integer","nullable":true,"format":"int32"},"dunksPerGame":{"description":"Average number of dunks per game","type":"number","format":"float"},"efficiencyCustom":{"description":"Custom Efficiency rating","type":"number","nullable":true,"format":"float"},"efficiency":{"description":"Efficiency rating","type":"number","format":"float"},"pir":{"description":"Performance Index Rating","type":"number","format":"float"},"fieldGoalsAttempted":{"description":"The number of field goals (2pt + 3pt) attempted","type":"integer","nullable":true,"format":"int32"},"fieldGoalsAttemptedAgainst":{"description":"The number of field goals (2pt + 3pt) attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"fieldGoalsAttemptedAgainstPerGame":{"description":"Average number of field goals (2pt + 3pt) attempted per game by the opposing team","type":"number","format":"float"},"fieldGoalsMade":{"description":"The number of field goals (2pt + 3pt) made","type":"integer","nullable":true,"format":"int32"},"fieldGoalsMadeAgainst":{"description":"The number of field goals (2pt + 3pt) made by the opposing team","type":"integer","nullable":true,"format":"int32"},"fieldGoalsMadeAgainstPerGame":{"description":"Average number of field goals (2pt + 3pt) made per game by the opposing team","type":"number","format":"float"},"fieldGoalsEffectivePercentage":{"description":"The effective percentage of successful field goals","type":"number","format":"float"},"fieldGoalsPercentage":{"description":"The percentage of successful field goals","type":"number","format":"float"},"fieldGoalsAgainstPercentage":{"description":"The percentage of successful field goals by the opposing team","type":"number","format":"float"},"freeThrowsAttempted":{"description":"The number of free throws attempted","type":"integer","nullable":true,"format":"int32"},"freeThrowsAttemptedAgainst":{"description":"The number of free throws attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"freeThrowsAttemptedAgainstPerGame":{"description":"Average number of free throws attempted per game by the opposing team","type":"number","format":"float"},"freeThrowsAttemptedPerGame":{"description":"Average number of free throws attempted per game","type":"number","format":"float"},"freeThrowsMade":{"description":"The number of free throws made","type":"integer","nullable":true,"format":"int32"},"freeThrowsMadeAgainst":{"description":"The number of free throws made by the opposing team","type":"integer","nullable":true,"format":"int32"},"freeThrowsMadeAgainstPerGame":{"description":"Average number of free throws made per game by the opposing team","type":"number","format":"float"},"freeThrowsMadePerGame":{"description":"Average number of free throws made per game","type":"number","format":"float"},"freeThrowsPercentage":{"description":"The percentage of successful free throws","type":"number","format":"float"},"freeThrowsAgainstPercentage":{"description":"The percentage of successful free throws by the opposing team","type":"number","format":"float"},"foulsBenchTechnical":{"description":"The number of technical fouls on the bench","type":"integer","nullable":true,"format":"int32"},"foulsCoachDisqualifying":{"description":"The number of disqualifying fouls on the coach","type":"integer","nullable":true,"format":"int32"},"foulsCoachTechnical":{"description":"The number of technical fouls on the coach","type":"integer","nullable":true,"format":"int32"},"foulsDisqualifying":{"description":"The number of disqualifying fouls","type":"integer","nullable":true,"format":"int32"},"foulsOffensive":{"description":"The number of offensive fouls","type":"integer","nullable":true,"format":"int32"},"foulsDrawn":{"description":"The number of times this player has been fouled on","type":"integer","nullable":true,"format":"int32"},"foulsDrawnPerGame":{"description":"Average number of times this player has been fouled on per game","type":"number","format":"float"},"foulsPersonal":{"description":"The number of personal fouls","type":"integer","nullable":true,"format":"int32"},"foulsPersonalAgainst":{"description":"The number of personal fouls by the opposing team","type":"integer","nullable":true,"format":"int32"},"foulsPersonalAgainstPerGame":{"description":"Average number of personal fouls per game by the opposing team","type":"number","format":"float"},"foulsPersonalPerGame":{"description":"Average number of personal fouls per game","type":"number","format":"float"},"foulsTechnical":{"description":"The number of technical fouls","type":"integer","nullable":true,"format":"int32"},"foulsTechnicalAgainst":{"description":"The number of technical fouls by the opposing team","type":"integer","nullable":true,"format":"int32"},"foulsTechnicalAgainstPerGame":{"description":"Average number of technical fouls per game by the opposing team","type":"number","format":"float"},"foulsTotal":{"description":"Total number of fouls (aggregate of persons)","type":"integer","format":"int32"},"foulsUnsportsmanlike":{"description":"The number of unsportsmanlike fouls","type":"integer","nullable":true,"format":"int32"},"games":{"description":"The number of matches that they have participated in","type":"integer","nullable":true,"format":"int32"},"indexOfSuccess":{"description":"Index of Success","type":"number","format":"float"},"losses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"minutes":{"description":"The number of minutes (in ISO8601 Duration format) that the team had players on the court. eg. PT1M30S equals 1 minute and 30 seconds","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"offensiveRating":{"description":"Is this needed?","type":"number","nullable":true,"format":"float"},"points":{"description":"Total number of points","type":"integer","nullable":true,"format":"int32"},"pointsAgainst":{"description":"Points scored against","type":"integer","nullable":true,"format":"int32"},"pointsAgainstPerGame":{"description":"Average number of points scored against per game","type":"number","nullable":true,"format":"float"},"pointsFastBreak":{"description":"Total of fast break points","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakPerGame":{"description":"Average number of fast break points per game","type":"number","nullable":true,"format":"float"},"pointsFastBreakAgainst":{"description":"Total of fast break points by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakAgainstPerGame":{"description":"Average number of fast break points by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsFastBreakAttempted":{"description":"Number of fast break points attempted","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakMade":{"description":"Number of fast break points made","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnover":{"description":"The number of points from turnovers","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnoverAgainst":{"description":"The number of points from turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnoverAgainstPerGame":{"description":"Average number of points from turnovers by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsInThePaint":{"description":"Total of points in the paint","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintPerGame":{"description":"Average number of points in the paint per game","type":"number","nullable":true,"format":"float"},"pointsInThePaintAgainst":{"description":"Total of points in the paint by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintAgainstPerGame":{"description":"Average number of points in the paint by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsInThePaintMade":{"description":"Number of points in the paint made","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintAttempted":{"description":"Number of points in the paint attempted","type":"integer","nullable":true,"format":"int32"},"pointsFromBench":{"description":"Total of points from bench players","type":"integer","nullable":true,"format":"int32"},"pointsFromBenchPerGame":{"description":"Average number of points from bench players per game","type":"number","nullable":true,"format":"float"},"pointsFromBenchAgainst":{"description":"Total of points from bench players by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFromBenchAgainstPerGame":{"description":"Average number of points from bench players by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsPerGame":{"description":"Average number of points per game","type":"number","format":"float"},"pointsSecondChance":{"description":"Total of second chance points","type":"integer","nullable":true,"format":"int32"},"pointsSecondChancePerGame":{"description":"Average number of second chance points per game","type":"number","nullable":true,"format":"float"},"pointsSecondChanceAgainst":{"description":"Total of second chance points by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsSecondChanceAgainstPerGame":{"description":"Average number of second chance points by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsSecondChanceAttempted":{"description":"Number of second chance points attempted","type":"integer","nullable":true,"format":"int32"},"pointsSecondChanceMade":{"description":"Number of second chance points made","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttempted":{"description":"The number of two point shots attempted","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttemptedAgainst":{"description":"The number of two point shots attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttemptedAgainstPerGame":{"description":"Average number of two point shots attempted per game by the opposing team","type":"number","format":"float"},"pointsTwoAttemptedPerGame":{"description":"Average number of two point shots attempted per game","type":"number","format":"float"},"pointsTwoMade":{"description":"The number of two point shots made","type":"integer","nullable":true,"format":"int32"},"pointsTwoMadeAgainst":{"description":"The number of two point shots made by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsTwoMadeAgainstPerGame":{"description":"Average number of two point shots made per game by the opposing team","type":"number","format":"float"},"pointsTwoMadePerGame":{"description":"Average number of two point shots made per game","type":"number","format":"float"},"pointsTwoPercentage":{"description":"The percentage of successful two point shots","type":"number","format":"float"},"pointsTwoPercentageAgainst":{"description":"The percentage of successful two point shots by the opposing team","type":"number","format":"float"},"pointsThreeAttempted":{"description":"The number of three point shots attempted","type":"integer","nullable":true,"format":"int32"},"pointsThreeAttemptedAgainst":{"description":"The number of three point shots attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsThreeAttemptedAgainstPerGame":{"description":"Average number of three point shots attempted per game by the opposing team","type":"number","format":"float"},"pointsThreeAttemptedPerGame":{"description":"Average number of three point shots attempted per game","type":"number","format":"float"},"pointsThreeMade":{"description":"The number of three point shots made","type":"integer","nullable":true,"format":"int32"},"pointsThreeMadeAgainst":{"description":"The number of three point shots made by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsThreeMadeAgainstPerGame":{"description":"Average number of three point shots made per game by the opposing team","type":"number","format":"float"},"pointsThreeMadePerGame":{"description":"Average number of three point shots made per game","type":"number","format":"float"},"pointsThreePercentage":{"description":"The percentage of successful three point shots","type":"number","format":"float"},"pointsThreePercentageAgainst":{"description":"The percentage of successful three point shots","type":"number","format":"float"},"powerPlayPoints":{"description":"The number of points from power play","type":"integer","nullable":true,"format":"int32"},"powerPlayPointsAwarded":{"description":"The number of points being awarded from power play","type":"integer","nullable":true,"format":"int32"},"rebounds":{"description":"The total number of rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsAgainst":{"description":"The total number of rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsAgainstPerGame":{"description":"Average number of rebounds per game by the opposing team","type":"number","format":"float"},"reboundsTeamTotal":{"description":"The total number of team rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamTotalAgainst":{"description":"The total number of team rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamTotalAgainstPerGame":{"description":"Average number of team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsPerGame":{"description":"Average number of rebounds per game","type":"number","format":"float"},"reboundsTeamDefensive":{"description":"The number of team defensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamDefensiveAgainst":{"description":"The number of team defensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsTeamDefensiveAgainstPerGame":{"description":"Average number of defensive team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsDefensive":{"description":"The number of total defensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsDefensiveAgainst":{"description":"The number of total defensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsDefensiveAgainstPerGame":{"description":"Average number of defensive rebounds per game by the opposing team","type":"number","format":"float"},"reboundsDefensivePerGame":{"description":"Average number of defensive rebounds per game","type":"number","format":"float"},"reboundsTeamOffensive":{"description":"The number of team offensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamOffensiveAgainst":{"description":"The number of team offensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsTeamOffensiveAgainstPerGame":{"description":"Average number of offensive team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsOffensive":{"description":"The number of total offensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsOffensiveAgainst":{"description":"The number of total offensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsOffensiveAgainstPerGame":{"description":"Average number of offensive rebounds per game by the opposing team","type":"number","format":"float"},"reboundsOffensivePerGame":{"description":"Average number of offensive rebounds per game","type":"number","format":"float"},"steals":{"description":"The number of steals","type":"integer","nullable":true,"format":"int32"},"stealsAgainst":{"description":"The number of steals by the opposing team","type":"integer","nullable":true,"format":"int32"},"stealsAgainstPerGame":{"description":"Average number of steals per game by the opposing team","type":"number","format":"float"},"stealsPerGame":{"description":"Average number of steals per game","type":"number","format":"float"},"trueShootingAttempts":{"description":"The number of true shooting attempts","type":"number","nullable":true,"format":"float"},"trueShootingPercentage":{"description":"The true shooting percentage","type":"number","format":"float"},"turnovers":{"description":"The number of total turnovers","type":"integer","nullable":true,"format":"int32"},"turnoversAgainst":{"description":"The number of total turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"turnoversAgainstPerGame":{"description":"Average number of turnovers per game by the opposing team","type":"number","format":"float"},"turnoversTeam":{"description":"The number of team turnovers","type":"integer","nullable":true,"format":"int32"},"turnoversTeamAgainst":{"description":"The number of team turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"turnoversTeamAgainstPerGame":{"description":"Average number of team turnovers per game by the opposing team","type":"number","format":"float"},"turnoversPercentage":{"description":"The turnover percentage","type":"number","format":"float"},"turnoversPerGame":{"description":"Average number of turnovers per game","type":"number","format":"float"},"wins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"}}},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"season team base statistics model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"competitorType":{"name":"competitorType","description":"The type of competitors in this fixture\n>- `ENTITY` Entity\n>- `PERSON` Person\n","schema":{"type":"string","enum":["PERSON","ENTITY"]},"required":false,"in":"query"},"entityId":{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fixtureType":{"name":"fixtureType","description":"Type of Fixture\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","schema":{"type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"required":false,"in":"query"},"forceDelete":{"name":"forceDelete","description":"Force a delete command to run and delete child records as well if there are existing records depending on the record.","schema":{"type":"boolean"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"}}},"paths":{"/basketball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}":{"delete":{"tags":["Season Team Base Statistics"],"summary":"Delete season team base statistics","description":"Delete a base statistic record for a team in a season.","operationId":"sebs_delete_all","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entity_Base_Statistics Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Season_Entity_Base_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/competitorType"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/forceDelete"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"}]}}}}
```

## Create/Update season team base statistics

> Depending on the data, add or update a base statistic record for a team in a season.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - basketball","version":"v1"},"tags":[{"name":"Season Team Base Statistics","description":"\n    Normally season statistics are built automatically based on match statistics.\n    For some scenarios such as historical imports where the match level data is not available,\n    that 'already aggregated' data can be imported into the base statistics.\n    These will then be aggregated with the match generated statistics to create the competition and\n    career statsitics.\n    "}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["write:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) 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."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"Season_Entity_Base_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The season linked to this record","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The team information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this season team base statistics belongs to","type":"object"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50},"representing":{"description":"Who was being represented for the season base statistics","type":"string","maxLength":100},"statistics":{"type":"object","additionalProperties":false,"properties":{"assists":{"description":"The number of assists","type":"integer","nullable":true,"format":"int32"},"assistsAgainst":{"description":"The number of assists by the opposing team","type":"integer","nullable":true,"format":"int32"},"assistsAgainstPerGame":{"description":"Average number of assists per game by the opposing team","type":"number","format":"float"},"assistsPerGame":{"description":"Average number of assists per game","type":"number","format":"float"},"assistsDefensive":{"description":"The number of defensive assists","type":"integer","nullable":true,"format":"int32"},"assistsTurnoverRatio":{"description":"The ratio of assists to turnovers","type":"number","format":"float"},"biggestLead":{"description":"The largest lead","type":"integer","nullable":true,"format":"int32"},"biggestScoringRun":{"description":"The longest scoring run","type":"integer","nullable":true,"format":"int32"},"blocks":{"description":"The number of blocks made","type":"integer","nullable":true,"format":"int32"},"blocksPerGame":{"description":"Average number of blocks per game","type":"number","format":"float"},"blocksReceived":{"description":"The number of times entity has been blocked","type":"integer","nullable":true,"format":"int32"},"blocksReceivedPerGame":{"description":"Average number of times entity has been blocked per game","type":"number","format":"float"},"draws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"dunks":{"description":"The number of dunks made","type":"integer","nullable":true,"format":"int32"},"dunksPerGame":{"description":"Average number of dunks per game","type":"number","format":"float"},"efficiencyCustom":{"description":"Custom Efficiency rating","type":"number","nullable":true,"format":"float"},"efficiency":{"description":"Efficiency rating","type":"number","format":"float"},"pir":{"description":"Performance Index Rating","type":"number","format":"float"},"fieldGoalsAttempted":{"description":"The number of field goals (2pt + 3pt) attempted","type":"integer","nullable":true,"format":"int32"},"fieldGoalsAttemptedAgainst":{"description":"The number of field goals (2pt + 3pt) attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"fieldGoalsAttemptedAgainstPerGame":{"description":"Average number of field goals (2pt + 3pt) attempted per game by the opposing team","type":"number","format":"float"},"fieldGoalsMade":{"description":"The number of field goals (2pt + 3pt) made","type":"integer","nullable":true,"format":"int32"},"fieldGoalsMadeAgainst":{"description":"The number of field goals (2pt + 3pt) made by the opposing team","type":"integer","nullable":true,"format":"int32"},"fieldGoalsMadeAgainstPerGame":{"description":"Average number of field goals (2pt + 3pt) made per game by the opposing team","type":"number","format":"float"},"fieldGoalsEffectivePercentage":{"description":"The effective percentage of successful field goals","type":"number","format":"float"},"fieldGoalsPercentage":{"description":"The percentage of successful field goals","type":"number","format":"float"},"fieldGoalsAgainstPercentage":{"description":"The percentage of successful field goals by the opposing team","type":"number","format":"float"},"freeThrowsAttempted":{"description":"The number of free throws attempted","type":"integer","nullable":true,"format":"int32"},"freeThrowsAttemptedAgainst":{"description":"The number of free throws attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"freeThrowsAttemptedAgainstPerGame":{"description":"Average number of free throws attempted per game by the opposing team","type":"number","format":"float"},"freeThrowsAttemptedPerGame":{"description":"Average number of free throws attempted per game","type":"number","format":"float"},"freeThrowsMade":{"description":"The number of free throws made","type":"integer","nullable":true,"format":"int32"},"freeThrowsMadeAgainst":{"description":"The number of free throws made by the opposing team","type":"integer","nullable":true,"format":"int32"},"freeThrowsMadeAgainstPerGame":{"description":"Average number of free throws made per game by the opposing team","type":"number","format":"float"},"freeThrowsMadePerGame":{"description":"Average number of free throws made per game","type":"number","format":"float"},"freeThrowsPercentage":{"description":"The percentage of successful free throws","type":"number","format":"float"},"freeThrowsAgainstPercentage":{"description":"The percentage of successful free throws by the opposing team","type":"number","format":"float"},"foulsBenchTechnical":{"description":"The number of technical fouls on the bench","type":"integer","nullable":true,"format":"int32"},"foulsCoachDisqualifying":{"description":"The number of disqualifying fouls on the coach","type":"integer","nullable":true,"format":"int32"},"foulsCoachTechnical":{"description":"The number of technical fouls on the coach","type":"integer","nullable":true,"format":"int32"},"foulsDisqualifying":{"description":"The number of disqualifying fouls","type":"integer","nullable":true,"format":"int32"},"foulsOffensive":{"description":"The number of offensive fouls","type":"integer","nullable":true,"format":"int32"},"foulsDrawn":{"description":"The number of times this player has been fouled on","type":"integer","nullable":true,"format":"int32"},"foulsDrawnPerGame":{"description":"Average number of times this player has been fouled on per game","type":"number","format":"float"},"foulsPersonal":{"description":"The number of personal fouls","type":"integer","nullable":true,"format":"int32"},"foulsPersonalAgainst":{"description":"The number of personal fouls by the opposing team","type":"integer","nullable":true,"format":"int32"},"foulsPersonalAgainstPerGame":{"description":"Average number of personal fouls per game by the opposing team","type":"number","format":"float"},"foulsPersonalPerGame":{"description":"Average number of personal fouls per game","type":"number","format":"float"},"foulsTechnical":{"description":"The number of technical fouls","type":"integer","nullable":true,"format":"int32"},"foulsTechnicalAgainst":{"description":"The number of technical fouls by the opposing team","type":"integer","nullable":true,"format":"int32"},"foulsTechnicalAgainstPerGame":{"description":"Average number of technical fouls per game by the opposing team","type":"number","format":"float"},"foulsTotal":{"description":"Total number of fouls (aggregate of persons)","type":"integer","format":"int32"},"foulsUnsportsmanlike":{"description":"The number of unsportsmanlike fouls","type":"integer","nullable":true,"format":"int32"},"games":{"description":"The number of matches that they have participated in","type":"integer","nullable":true,"format":"int32"},"indexOfSuccess":{"description":"Index of Success","type":"number","format":"float"},"losses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"minutes":{"description":"The number of minutes (in ISO8601 Duration format) that the team had players on the court. eg. PT1M30S equals 1 minute and 30 seconds","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"offensiveRating":{"description":"Is this needed?","type":"number","nullable":true,"format":"float"},"points":{"description":"Total number of points","type":"integer","nullable":true,"format":"int32"},"pointsAgainst":{"description":"Points scored against","type":"integer","nullable":true,"format":"int32"},"pointsAgainstPerGame":{"description":"Average number of points scored against per game","type":"number","nullable":true,"format":"float"},"pointsFastBreak":{"description":"Total of fast break points","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakPerGame":{"description":"Average number of fast break points per game","type":"number","nullable":true,"format":"float"},"pointsFastBreakAgainst":{"description":"Total of fast break points by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakAgainstPerGame":{"description":"Average number of fast break points by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsFastBreakAttempted":{"description":"Number of fast break points attempted","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakMade":{"description":"Number of fast break points made","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnover":{"description":"The number of points from turnovers","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnoverAgainst":{"description":"The number of points from turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnoverAgainstPerGame":{"description":"Average number of points from turnovers by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsInThePaint":{"description":"Total of points in the paint","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintPerGame":{"description":"Average number of points in the paint per game","type":"number","nullable":true,"format":"float"},"pointsInThePaintAgainst":{"description":"Total of points in the paint by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintAgainstPerGame":{"description":"Average number of points in the paint by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsInThePaintMade":{"description":"Number of points in the paint made","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintAttempted":{"description":"Number of points in the paint attempted","type":"integer","nullable":true,"format":"int32"},"pointsFromBench":{"description":"Total of points from bench players","type":"integer","nullable":true,"format":"int32"},"pointsFromBenchPerGame":{"description":"Average number of points from bench players per game","type":"number","nullable":true,"format":"float"},"pointsFromBenchAgainst":{"description":"Total of points from bench players by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFromBenchAgainstPerGame":{"description":"Average number of points from bench players by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsPerGame":{"description":"Average number of points per game","type":"number","format":"float"},"pointsSecondChance":{"description":"Total of second chance points","type":"integer","nullable":true,"format":"int32"},"pointsSecondChancePerGame":{"description":"Average number of second chance points per game","type":"number","nullable":true,"format":"float"},"pointsSecondChanceAgainst":{"description":"Total of second chance points by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsSecondChanceAgainstPerGame":{"description":"Average number of second chance points by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsSecondChanceAttempted":{"description":"Number of second chance points attempted","type":"integer","nullable":true,"format":"int32"},"pointsSecondChanceMade":{"description":"Number of second chance points made","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttempted":{"description":"The number of two point shots attempted","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttemptedAgainst":{"description":"The number of two point shots attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttemptedAgainstPerGame":{"description":"Average number of two point shots attempted per game by the opposing team","type":"number","format":"float"},"pointsTwoAttemptedPerGame":{"description":"Average number of two point shots attempted per game","type":"number","format":"float"},"pointsTwoMade":{"description":"The number of two point shots made","type":"integer","nullable":true,"format":"int32"},"pointsTwoMadeAgainst":{"description":"The number of two point shots made by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsTwoMadeAgainstPerGame":{"description":"Average number of two point shots made per game by the opposing team","type":"number","format":"float"},"pointsTwoMadePerGame":{"description":"Average number of two point shots made per game","type":"number","format":"float"},"pointsTwoPercentage":{"description":"The percentage of successful two point shots","type":"number","format":"float"},"pointsTwoPercentageAgainst":{"description":"The percentage of successful two point shots by the opposing team","type":"number","format":"float"},"pointsThreeAttempted":{"description":"The number of three point shots attempted","type":"integer","nullable":true,"format":"int32"},"pointsThreeAttemptedAgainst":{"description":"The number of three point shots attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsThreeAttemptedAgainstPerGame":{"description":"Average number of three point shots attempted per game by the opposing team","type":"number","format":"float"},"pointsThreeAttemptedPerGame":{"description":"Average number of three point shots attempted per game","type":"number","format":"float"},"pointsThreeMade":{"description":"The number of three point shots made","type":"integer","nullable":true,"format":"int32"},"pointsThreeMadeAgainst":{"description":"The number of three point shots made by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsThreeMadeAgainstPerGame":{"description":"Average number of three point shots made per game by the opposing team","type":"number","format":"float"},"pointsThreeMadePerGame":{"description":"Average number of three point shots made per game","type":"number","format":"float"},"pointsThreePercentage":{"description":"The percentage of successful three point shots","type":"number","format":"float"},"pointsThreePercentageAgainst":{"description":"The percentage of successful three point shots","type":"number","format":"float"},"powerPlayPoints":{"description":"The number of points from power play","type":"integer","nullable":true,"format":"int32"},"powerPlayPointsAwarded":{"description":"The number of points being awarded from power play","type":"integer","nullable":true,"format":"int32"},"rebounds":{"description":"The total number of rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsAgainst":{"description":"The total number of rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsAgainstPerGame":{"description":"Average number of rebounds per game by the opposing team","type":"number","format":"float"},"reboundsTeamTotal":{"description":"The total number of team rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamTotalAgainst":{"description":"The total number of team rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamTotalAgainstPerGame":{"description":"Average number of team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsPerGame":{"description":"Average number of rebounds per game","type":"number","format":"float"},"reboundsTeamDefensive":{"description":"The number of team defensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamDefensiveAgainst":{"description":"The number of team defensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsTeamDefensiveAgainstPerGame":{"description":"Average number of defensive team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsDefensive":{"description":"The number of total defensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsDefensiveAgainst":{"description":"The number of total defensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsDefensiveAgainstPerGame":{"description":"Average number of defensive rebounds per game by the opposing team","type":"number","format":"float"},"reboundsDefensivePerGame":{"description":"Average number of defensive rebounds per game","type":"number","format":"float"},"reboundsTeamOffensive":{"description":"The number of team offensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamOffensiveAgainst":{"description":"The number of team offensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsTeamOffensiveAgainstPerGame":{"description":"Average number of offensive team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsOffensive":{"description":"The number of total offensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsOffensiveAgainst":{"description":"The number of total offensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsOffensiveAgainstPerGame":{"description":"Average number of offensive rebounds per game by the opposing team","type":"number","format":"float"},"reboundsOffensivePerGame":{"description":"Average number of offensive rebounds per game","type":"number","format":"float"},"steals":{"description":"The number of steals","type":"integer","nullable":true,"format":"int32"},"stealsAgainst":{"description":"The number of steals by the opposing team","type":"integer","nullable":true,"format":"int32"},"stealsAgainstPerGame":{"description":"Average number of steals per game by the opposing team","type":"number","format":"float"},"stealsPerGame":{"description":"Average number of steals per game","type":"number","format":"float"},"trueShootingAttempts":{"description":"The number of true shooting attempts","type":"number","nullable":true,"format":"float"},"trueShootingPercentage":{"description":"The true shooting percentage","type":"number","format":"float"},"turnovers":{"description":"The number of total turnovers","type":"integer","nullable":true,"format":"int32"},"turnoversAgainst":{"description":"The number of total turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"turnoversAgainstPerGame":{"description":"Average number of turnovers per game by the opposing team","type":"number","format":"float"},"turnoversTeam":{"description":"The number of team turnovers","type":"integer","nullable":true,"format":"int32"},"turnoversTeamAgainst":{"description":"The number of team turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"turnoversTeamAgainstPerGame":{"description":"Average number of team turnovers per game by the opposing team","type":"number","format":"float"},"turnoversPercentage":{"description":"The turnover percentage","type":"number","format":"float"},"turnoversPerGame":{"description":"Average number of turnovers per game","type":"number","format":"float"},"wins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"}}},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"season team base statistics model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"}}},"paths":{"/basketball/o/{organizationId}/statistics/base/for/entity/in/seasons":{"post":{"tags":["Season Team Base Statistics"],"summary":"Create/Update season team base statistics","description":"Depending on the data, add or update a base statistic record for a team in a season.","operationId":"sebs_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entity_Base_Statistics Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/Season_Entity_Base_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50},"representing":{"description":"Who was being represented for the season base statistics","type":"string","maxLength":100},"statistics":{"type":"object","additionalProperties":false,"properties":{"assists":{"description":"The number of assists","type":"integer","nullable":true,"format":"int32"},"assistsAgainst":{"description":"The number of assists by the opposing team","type":"integer","nullable":true,"format":"int32"},"assistsAgainstPerGame":{"description":"Average number of assists per game by the opposing team","type":"number","format":"float"},"assistsPerGame":{"description":"Average number of assists per game","type":"number","format":"float"},"assistsDefensive":{"description":"The number of defensive assists","type":"integer","nullable":true,"format":"int32"},"assistsTurnoverRatio":{"description":"The ratio of assists to turnovers","type":"number","format":"float"},"biggestLead":{"description":"The largest lead","type":"integer","nullable":true,"format":"int32"},"biggestScoringRun":{"description":"The longest scoring run","type":"integer","nullable":true,"format":"int32"},"blocks":{"description":"The number of blocks made","type":"integer","nullable":true,"format":"int32"},"blocksPerGame":{"description":"Average number of blocks per game","type":"number","format":"float"},"blocksReceived":{"description":"The number of times entity has been blocked","type":"integer","nullable":true,"format":"int32"},"blocksReceivedPerGame":{"description":"Average number of times entity has been blocked per game","type":"number","format":"float"},"draws":{"description":"The number of draws","type":"integer","nullable":true,"format":"int32"},"dunks":{"description":"The number of dunks made","type":"integer","nullable":true,"format":"int32"},"dunksPerGame":{"description":"Average number of dunks per game","type":"number","format":"float"},"efficiencyCustom":{"description":"Custom Efficiency rating","type":"number","nullable":true,"format":"float"},"efficiency":{"description":"Efficiency rating","type":"number","format":"float"},"pir":{"description":"Performance Index Rating","type":"number","format":"float"},"fieldGoalsAttempted":{"description":"The number of field goals (2pt + 3pt) attempted","type":"integer","nullable":true,"format":"int32"},"fieldGoalsAttemptedAgainst":{"description":"The number of field goals (2pt + 3pt) attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"fieldGoalsAttemptedAgainstPerGame":{"description":"Average number of field goals (2pt + 3pt) attempted per game by the opposing team","type":"number","format":"float"},"fieldGoalsMade":{"description":"The number of field goals (2pt + 3pt) made","type":"integer","nullable":true,"format":"int32"},"fieldGoalsMadeAgainst":{"description":"The number of field goals (2pt + 3pt) made by the opposing team","type":"integer","nullable":true,"format":"int32"},"fieldGoalsMadeAgainstPerGame":{"description":"Average number of field goals (2pt + 3pt) made per game by the opposing team","type":"number","format":"float"},"fieldGoalsEffectivePercentage":{"description":"The effective percentage of successful field goals","type":"number","format":"float"},"fieldGoalsPercentage":{"description":"The percentage of successful field goals","type":"number","format":"float"},"fieldGoalsAgainstPercentage":{"description":"The percentage of successful field goals by the opposing team","type":"number","format":"float"},"freeThrowsAttempted":{"description":"The number of free throws attempted","type":"integer","nullable":true,"format":"int32"},"freeThrowsAttemptedAgainst":{"description":"The number of free throws attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"freeThrowsAttemptedAgainstPerGame":{"description":"Average number of free throws attempted per game by the opposing team","type":"number","format":"float"},"freeThrowsAttemptedPerGame":{"description":"Average number of free throws attempted per game","type":"number","format":"float"},"freeThrowsMade":{"description":"The number of free throws made","type":"integer","nullable":true,"format":"int32"},"freeThrowsMadeAgainst":{"description":"The number of free throws made by the opposing team","type":"integer","nullable":true,"format":"int32"},"freeThrowsMadeAgainstPerGame":{"description":"Average number of free throws made per game by the opposing team","type":"number","format":"float"},"freeThrowsMadePerGame":{"description":"Average number of free throws made per game","type":"number","format":"float"},"freeThrowsPercentage":{"description":"The percentage of successful free throws","type":"number","format":"float"},"freeThrowsAgainstPercentage":{"description":"The percentage of successful free throws by the opposing team","type":"number","format":"float"},"foulsBenchTechnical":{"description":"The number of technical fouls on the bench","type":"integer","nullable":true,"format":"int32"},"foulsCoachDisqualifying":{"description":"The number of disqualifying fouls on the coach","type":"integer","nullable":true,"format":"int32"},"foulsCoachTechnical":{"description":"The number of technical fouls on the coach","type":"integer","nullable":true,"format":"int32"},"foulsDisqualifying":{"description":"The number of disqualifying fouls","type":"integer","nullable":true,"format":"int32"},"foulsOffensive":{"description":"The number of offensive fouls","type":"integer","nullable":true,"format":"int32"},"foulsDrawn":{"description":"The number of times this player has been fouled on","type":"integer","nullable":true,"format":"int32"},"foulsDrawnPerGame":{"description":"Average number of times this player has been fouled on per game","type":"number","format":"float"},"foulsPersonal":{"description":"The number of personal fouls","type":"integer","nullable":true,"format":"int32"},"foulsPersonalAgainst":{"description":"The number of personal fouls by the opposing team","type":"integer","nullable":true,"format":"int32"},"foulsPersonalAgainstPerGame":{"description":"Average number of personal fouls per game by the opposing team","type":"number","format":"float"},"foulsPersonalPerGame":{"description":"Average number of personal fouls per game","type":"number","format":"float"},"foulsTechnical":{"description":"The number of technical fouls","type":"integer","nullable":true,"format":"int32"},"foulsTechnicalAgainst":{"description":"The number of technical fouls by the opposing team","type":"integer","nullable":true,"format":"int32"},"foulsTechnicalAgainstPerGame":{"description":"Average number of technical fouls per game by the opposing team","type":"number","format":"float"},"foulsTotal":{"description":"Total number of fouls (aggregate of persons)","type":"integer","format":"int32"},"foulsUnsportsmanlike":{"description":"The number of unsportsmanlike fouls","type":"integer","nullable":true,"format":"int32"},"games":{"description":"The number of matches that they have participated in","type":"integer","nullable":true,"format":"int32"},"indexOfSuccess":{"description":"Index of Success","type":"number","format":"float"},"losses":{"description":"The number of losses","type":"integer","nullable":true,"format":"int32"},"minutes":{"description":"The number of minutes (in ISO8601 Duration format) that the team had players on the court. eg. PT1M30S equals 1 minute and 30 seconds","anyOf":[{"type":"string","format":"duration"},{"type":"number","format":"float"}],"nullable":true},"offensiveRating":{"description":"Is this needed?","type":"number","nullable":true,"format":"float"},"points":{"description":"Total number of points","type":"integer","nullable":true,"format":"int32"},"pointsAgainst":{"description":"Points scored against","type":"integer","nullable":true,"format":"int32"},"pointsAgainstPerGame":{"description":"Average number of points scored against per game","type":"number","nullable":true,"format":"float"},"pointsFastBreak":{"description":"Total of fast break points","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakPerGame":{"description":"Average number of fast break points per game","type":"number","nullable":true,"format":"float"},"pointsFastBreakAgainst":{"description":"Total of fast break points by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakAgainstPerGame":{"description":"Average number of fast break points by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsFastBreakAttempted":{"description":"Number of fast break points attempted","type":"integer","nullable":true,"format":"int32"},"pointsFastBreakMade":{"description":"Number of fast break points made","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnover":{"description":"The number of points from turnovers","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnoverAgainst":{"description":"The number of points from turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFromTurnoverAgainstPerGame":{"description":"Average number of points from turnovers by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsInThePaint":{"description":"Total of points in the paint","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintPerGame":{"description":"Average number of points in the paint per game","type":"number","nullable":true,"format":"float"},"pointsInThePaintAgainst":{"description":"Total of points in the paint by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintAgainstPerGame":{"description":"Average number of points in the paint by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsInThePaintMade":{"description":"Number of points in the paint made","type":"integer","nullable":true,"format":"int32"},"pointsInThePaintAttempted":{"description":"Number of points in the paint attempted","type":"integer","nullable":true,"format":"int32"},"pointsFromBench":{"description":"Total of points from bench players","type":"integer","nullable":true,"format":"int32"},"pointsFromBenchPerGame":{"description":"Average number of points from bench players per game","type":"number","nullable":true,"format":"float"},"pointsFromBenchAgainst":{"description":"Total of points from bench players by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsFromBenchAgainstPerGame":{"description":"Average number of points from bench players by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsPerGame":{"description":"Average number of points per game","type":"number","format":"float"},"pointsSecondChance":{"description":"Total of second chance points","type":"integer","nullable":true,"format":"int32"},"pointsSecondChancePerGame":{"description":"Average number of second chance points per game","type":"number","nullable":true,"format":"float"},"pointsSecondChanceAgainst":{"description":"Total of second chance points by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsSecondChanceAgainstPerGame":{"description":"Average number of second chance points by the opposing team per game","type":"number","nullable":true,"format":"float"},"pointsSecondChanceAttempted":{"description":"Number of second chance points attempted","type":"integer","nullable":true,"format":"int32"},"pointsSecondChanceMade":{"description":"Number of second chance points made","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttempted":{"description":"The number of two point shots attempted","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttemptedAgainst":{"description":"The number of two point shots attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsTwoAttemptedAgainstPerGame":{"description":"Average number of two point shots attempted per game by the opposing team","type":"number","format":"float"},"pointsTwoAttemptedPerGame":{"description":"Average number of two point shots attempted per game","type":"number","format":"float"},"pointsTwoMade":{"description":"The number of two point shots made","type":"integer","nullable":true,"format":"int32"},"pointsTwoMadeAgainst":{"description":"The number of two point shots made by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsTwoMadeAgainstPerGame":{"description":"Average number of two point shots made per game by the opposing team","type":"number","format":"float"},"pointsTwoMadePerGame":{"description":"Average number of two point shots made per game","type":"number","format":"float"},"pointsTwoPercentage":{"description":"The percentage of successful two point shots","type":"number","format":"float"},"pointsTwoPercentageAgainst":{"description":"The percentage of successful two point shots by the opposing team","type":"number","format":"float"},"pointsThreeAttempted":{"description":"The number of three point shots attempted","type":"integer","nullable":true,"format":"int32"},"pointsThreeAttemptedAgainst":{"description":"The number of three point shots attempted by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsThreeAttemptedAgainstPerGame":{"description":"Average number of three point shots attempted per game by the opposing team","type":"number","format":"float"},"pointsThreeAttemptedPerGame":{"description":"Average number of three point shots attempted per game","type":"number","format":"float"},"pointsThreeMade":{"description":"The number of three point shots made","type":"integer","nullable":true,"format":"int32"},"pointsThreeMadeAgainst":{"description":"The number of three point shots made by the opposing team","type":"integer","nullable":true,"format":"int32"},"pointsThreeMadeAgainstPerGame":{"description":"Average number of three point shots made per game by the opposing team","type":"number","format":"float"},"pointsThreeMadePerGame":{"description":"Average number of three point shots made per game","type":"number","format":"float"},"pointsThreePercentage":{"description":"The percentage of successful three point shots","type":"number","format":"float"},"pointsThreePercentageAgainst":{"description":"The percentage of successful three point shots","type":"number","format":"float"},"powerPlayPoints":{"description":"The number of points from power play","type":"integer","nullable":true,"format":"int32"},"powerPlayPointsAwarded":{"description":"The number of points being awarded from power play","type":"integer","nullable":true,"format":"int32"},"rebounds":{"description":"The total number of rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsAgainst":{"description":"The total number of rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsAgainstPerGame":{"description":"Average number of rebounds per game by the opposing team","type":"number","format":"float"},"reboundsTeamTotal":{"description":"The total number of team rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamTotalAgainst":{"description":"The total number of team rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamTotalAgainstPerGame":{"description":"Average number of team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsPerGame":{"description":"Average number of rebounds per game","type":"number","format":"float"},"reboundsTeamDefensive":{"description":"The number of team defensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamDefensiveAgainst":{"description":"The number of team defensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsTeamDefensiveAgainstPerGame":{"description":"Average number of defensive team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsDefensive":{"description":"The number of total defensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsDefensiveAgainst":{"description":"The number of total defensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsDefensiveAgainstPerGame":{"description":"Average number of defensive rebounds per game by the opposing team","type":"number","format":"float"},"reboundsDefensivePerGame":{"description":"Average number of defensive rebounds per game","type":"number","format":"float"},"reboundsTeamOffensive":{"description":"The number of team offensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsTeamOffensiveAgainst":{"description":"The number of team offensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsTeamOffensiveAgainstPerGame":{"description":"Average number of offensive team rebounds by the opposing team per game","type":"number","format":"float"},"reboundsOffensive":{"description":"The number of total offensive rebounds","type":"integer","nullable":true,"format":"int32"},"reboundsOffensiveAgainst":{"description":"The number of total offensive rebounds by the opposing team","type":"integer","nullable":true,"format":"int32"},"reboundsOffensiveAgainstPerGame":{"description":"Average number of offensive rebounds per game by the opposing team","type":"number","format":"float"},"reboundsOffensivePerGame":{"description":"Average number of offensive rebounds per game","type":"number","format":"float"},"steals":{"description":"The number of steals","type":"integer","nullable":true,"format":"int32"},"stealsAgainst":{"description":"The number of steals by the opposing team","type":"integer","nullable":true,"format":"int32"},"stealsAgainstPerGame":{"description":"Average number of steals per game by the opposing team","type":"number","format":"float"},"stealsPerGame":{"description":"Average number of steals per game","type":"number","format":"float"},"trueShootingAttempts":{"description":"The number of true shooting attempts","type":"number","nullable":true,"format":"float"},"trueShootingPercentage":{"description":"The true shooting percentage","type":"number","format":"float"},"turnovers":{"description":"The number of total turnovers","type":"integer","nullable":true,"format":"int32"},"turnoversAgainst":{"description":"The number of total turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"turnoversAgainstPerGame":{"description":"Average number of turnovers per game by the opposing team","type":"number","format":"float"},"turnoversTeam":{"description":"The number of team turnovers","type":"integer","nullable":true,"format":"int32"},"turnoversTeamAgainst":{"description":"The number of team turnovers by the opposing team","type":"integer","nullable":true,"format":"int32"},"turnoversTeamAgainstPerGame":{"description":"Average number of team turnovers per game by the opposing team","type":"number","format":"float"},"turnoversPercentage":{"description":"The turnover percentage","type":"number","format":"float"},"turnoversPerGame":{"description":"Average number of turnovers per game","type":"number","format":"float"},"wins":{"description":"The number of wins","type":"integer","nullable":true,"format":"int32"}}}},"title":"season team base statistics post body","required":["seasonId","entityId","fixtureType","competitorType"]}}}}}}}}
```
