# Standings

The Standing is the results position a competitor ranks versus other competitors. ![](https://yuml.me/diagram/scruffy;dir:LR/class/\[Seasons]-<>\[Standings{bg:orange}],\[Standings]-2<>\[Teams],\[Standings]-1\[Venues],\[Standings]-<>\[~Standingroster~],\[Standings]-.->\[Stages],\[Standings]-.->\[Pools],\[Standings]-.->\[Rounds],) In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used

## Get a list of stages and pools used by standings in the season

> Return a list of stages and pools used by standings for a season

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Baseball","version":"v1"},"tags":[{"name":"Standings","description":"The Standing is the results position a competitor ranks versus other competitors.\n<img src = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Seasons]-<>[Standings{bg:orange}],[Standings]-2<>[Teams],[Standings]-1[Venues],[Standings]-<>[~Standingroster~],[Standings]-.->[Stages],[Standings]-.->[Pools],[Standings]-.->[Rounds],\">\n    In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used\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_Standings_Stages_Pools_ListModel":{"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"},"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 standings stages pools belongs to","type":"object"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The pool that is related to this record","type":"object"}},"title":"season standings stages pools 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"},"fixtureType":{"name":"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","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"},"stageCode":{"name":"stageCode","description":"The stage identifier within a season","schema":{"type":"string","maxLength":30},"required":false,"in":"query"}}},"paths":{"/baseball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools":{"get":{"tags":["Standings"],"summary":"Get a list of stages and pools used by standings in the season","description":"Return a list of stages and pools used by standings for a season","operationId":"season_standings_stages_pools_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Standings_Stages_Pools_List 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_Standings_Stages_Pools_ListModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$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"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"$ref":"#/components/parameters/stageCode"}]}}}}
```

## Get a list of standings

> Return a list of available standings for a season

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Baseball","version":"v1"},"tags":[{"name":"Standings","description":"The Standing is the results position a competitor ranks versus other competitors.\n<img src = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Seasons]-<>[Standings{bg:orange}],[Standings]-2<>[Teams],[Standings]-1[Venues],[Standings]-<>[~Standingroster~],[Standings]-.->[Stages],[Standings]-.->[Pools],[Standings]-.->[Rounds],\">\n    In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used\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"}}}}}},"StandingsModel":{"type":"object","additionalProperties":false,"properties":{"standingId":{"description":"The unique identifier of the standing","type":"string","format":"uuid"},"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 standing belongs to","type":"object"},"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"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The division information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The conference information","type":"object"},"latest":{"description":"Standing is part of the latest round?","type":"boolean"},"inProgress":{"description":"Is the competitor in a current In-Progress match?","type":"boolean"},"live":{"description":"Is this including live matches?","type":"boolean"},"locked":{"description":"Has the standing been locked (to prevent editing)?","type":"boolean"},"groupingBase":{"description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","type":"string","enum":["OVERALL","ROUND"],"maxLength":50},"groupingConferenceDivision":{"description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50},"groupingStagePool":{"description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The pool that is related to this record","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true},"round":{"properties":{"resourceType":{"type":"string","enum":["seasonRounds"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~ROUND~ that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true},"standingConfiguration":{"properties":{"resourceType":{"type":"string","enum":["standingConfigurations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~standingConfiguration~ that this season 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},"position":{"description":"Position of the competitors standing record","type":"integer","format":"int32","nullable":true},"securedFinals":{"description":"Has competitor secured a finals position","type":"string"},"points":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"bonusStandingPoints":{"description":"Bonus Standing points","type":"number"},"penaltyStandingPoints":{"description":"Penalty Standing points","type":"number"},"byeStandingPoints":{"description":"Bye Standing points","type":"number"},"teamDifferential":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialHome":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialAway":{"description":"Differential of Won-Lost","type":"number"},"gamesBehind":{"description":"Games behind leading competitor","type":"number"},"standingPoints":{"description":"Standing Points for competitor","type":"number"},"standingPointsHome":{"description":"Standing Points for competitor at Home","type":"number"},"standingPointsAway":{"description":"Standing Points for competitor away","type":"number"},"standingPointsGiven":{"description":"Standing Points Given away for this competitor","type":"number"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"calculated":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"played":{"description":"Fixtures played","type":"number"},"playedHome":{"description":"Fixtures played at home","type":"number"},"playedAway":{"description":"Fixtures played away","type":"number"},"washouts":{"description":"Number of washed out fixtures","type":"number"},"wins":{"description":"Fixtures Won","type":"number"},"winsHome":{"description":"Fixtures Won at home","type":"number"},"winsAway":{"description":"Fixtures Won away","type":"number"},"winsSecondaryScore":{"description":"Fixtures Won via Secondary Score","type":"number"},"winsSecondaryScoreHome":{"description":"Fixtures Won at home via Secondary Score","type":"number"},"winsSecondaryScoreAway":{"description":"Fixtures Won away via Secondary Score","type":"number"},"losses":{"description":"Fixtures Lost","type":"number"},"lossesHome":{"description":"Fixtures Lost at home","type":"number"},"lossesAway":{"description":"Fixtures Lost away","type":"number"},"lossesSecondaryScore":{"description":"Fixtures Lost via Secondary Score","type":"number"},"lossesSecondaryScoreHome":{"description":"Fixtures Lost at home via Secondary Score","type":"number"},"lossesSecondaryScoreAway":{"description":"Fixtures Lost away via Secondary Score","type":"number"},"draws":{"description":"Fixtures Drawn","type":"number"},"drawsHome":{"description":"Fixtures Drawn at home","type":"number"},"drawsAway":{"description":"Fixtures Drawn away","type":"number"},"byes":{"description":"Fixtures Byes","type":"number"},"forfeitsGiven":{"description":"Fixtures Forfeits Given","type":"number"},"forfeitsWonBy":{"description":"Fixtures Forfeits Won","type":"number"},"winPercentageDisplay":{"description":"Win Percentage (wins/played) (Display Value)","type":"number"},"winPercentageHomeDisplay":{"description":"Win Percentage Home (wins/played) (Display Value)","type":"number"},"winPercentageAwayDisplay":{"description":"Win Percentage Away (wins/played) (Display Value)","type":"number"},"winPercentage":{"description":"Win Percentage (wins/played)","type":"number"},"winPercentageHome":{"description":"Win Percentage Home (wins/played)","type":"number"},"winPercentageAway":{"description":"Win Percentage Away (wins/played)","type":"number"},"scoredFor":{"description":"Scored For","type":"number"},"scoredForHome":{"description":"Scored For at home","type":"number"},"scoredForAway":{"description":"Scored For away","type":"number"},"scoredForAverage":{"description":"Scored For Average","type":"number"},"scoredForHomeAverage":{"description":"Scored For Average at home","type":"number"},"scoredForAwayAverage":{"description":"Scored For Average away","type":"number"},"scoredAgainst":{"description":"Scored Against","type":"number"},"scoredAgainstHome":{"description":"Scored Against at home","type":"number"},"scoredAgainstAway":{"description":"Scored Against away","type":"number"},"scoredAgainstAverage":{"description":"Scored Against Average","type":"number"},"scoredAgainstHomeAverage":{"description":"Scored Against Average at home","type":"number"},"scoredAgainstAwayAverage":{"description":"Scored Against Average away","type":"number"},"percentageDisplay":{"description":"For versus Against (Display Value)","type":"number"},"percentageHomeDisplay":{"description":"For versus Against at home (Display Value)","type":"number"},"percentageAwayDisplay":{"description":"For versus Against away (Display Value)","type":"number"},"percentage":{"description":"For versus Against","type":"number"},"percentageHome":{"description":"For versus Against at home","type":"number"},"percentageAway":{"description":"For versus Against away","type":"number"},"pointDifference":{"description":"Point Difference for competitor","type":"number"},"pointDifferenceHome":{"description":"Point Difference for competitor at Home","type":"number"},"pointDifferenceAway":{"description":"Point Difference for competitor away","type":"number"},"lowestScoreFor":{"description":"Lowest Score for competitor","type":"number","nullable":true},"lowestScoreForHome":{"description":"Lowest Score for competitor at Home","type":"number","nullable":true},"lowestScoreForAway":{"description":"Lowest Score for competitor away","type":"number","nullable":true},"highestScoreFor":{"description":"Highest Score for competitor","type":"number","nullable":true},"highestScoreForHome":{"description":"Highest Score for competitor at Home","type":"number","nullable":true},"highestScoreForAway":{"description":"Highest Score for competitor away","type":"number","nullable":true},"lowestScoreAgainst":{"description":"Lowest Score against competitor","type":"number","nullable":true},"lowestScoreAgainstHome":{"description":"Lowest Score against competitor at Home","type":"number","nullable":true},"lowestScoreAgainstAway":{"description":"Lowest Score against competitor away","type":"number","nullable":true},"highestScoreAgainst":{"description":"Highest Score against competitor","type":"number","nullable":true},"highestScoreAgainstHome":{"description":"Highest Score against competitor at Home","type":"number","nullable":true},"highestScoreAgainstAway":{"description":"Highest Score against competitor away","type":"number","nullable":true},"streak":{"description":"Winning streak for competitor","type":"number"},"streakHome":{"description":"Winning streak for competitor at Home","type":"number"},"streakAway":{"description":"Winning streak for competitor away","type":"number"},"resultString":{"description":"Result string for competitor (W,L,D per match)","type":"string"},"resultStringHome":{"description":"Result string for competitor at Home (W,L,D per match)","type":"string"},"resultStringAway":{"description":"Result string for competitor away (W,L,D per match)","type":"string"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true},"autoGenerated":{"description":"Was this row auto generated?","type":"boolean","readOnly":true},"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":"standing 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"},"conferenceId":{"name":"conferenceId","description":"The unique identifier of the conference","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"divisionId":{"name":"divisionId","description":"The unique identifier of the division","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"entityId":{"name":"entityId","description":"The unique identifier of the team","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 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","schema":{"type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"required":false,"in":"query"},"groupingBase":{"name":"groupingBase","description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","schema":{"type":"string","enum":["OVERALL","ROUND"],"maxLength":50},"required":false,"in":"query"},"groupingConferenceDivision":{"name":"groupingConferenceDivision","description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","schema":{"type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50},"required":false,"in":"query"},"groupingStagePool":{"name":"groupingStagePool","description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","schema":{"type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"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"},"inProgress":{"name":"inProgress","description":"Is the competitor in a current match?","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"},"latest":{"name":"latest","description":"Is this the latest standing record ?","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"},"poolCode":{"name":"poolCode","description":"The pool identifier within a season","schema":{"type":"string","maxLength":30},"required":false,"in":"query"},"roundCode":{"name":"roundCode","description":"The round identifier within a season","schema":{"type":"string","maxLength":30},"required":false,"in":"query"},"roundNumber":{"name":"roundNumber","description":"Round number","schema":{"type":"string","maxLength":30},"required":false,"in":"query"},"stageCode":{"name":"stageCode","description":"The stage identifier within a season","schema":{"type":"string","maxLength":30},"required":false,"in":"query"},"standingConfigurationId":{"name":"standingConfigurationId","description":"The unique identifier of the configuration","schema":{"type":"string","format":"uuid"},"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":{"/baseball/o/{organizationId}/seasons/{seasonId}/standings":{"get":{"tags":["Standings"],"summary":"Get a list of standings","description":"Return a list of available standings for a season","operationId":"standing_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/conferenceId"},{"$ref":"#/components/parameters/divisionId"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/groupingBase"},{"$ref":"#/components/parameters/groupingConferenceDivision"},{"$ref":"#/components/parameters/groupingStagePool"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/inProgress"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/includeTotalCount"},{"$ref":"#/components/parameters/latest"},{"$ref":"#/components/parameters/limit"},{"name":"live","description":"Live competitor standings?","schema":{"type":"boolean"},"required":false,"in":"query"},{"$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/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"name":"sortBy","description":"Comma-delimited list of one or more fields to sort by. Each field can have '-' as prefix to sort in descending order and no prefix to sort in ascending order.","schema":{"type":"string","pattern":"^(\\-?conferenceId|\\-?divisionId|\\-?|position|,)*$"},"required":false,"in":"query"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/standingConfigurationId"},{"$ref":"#/components/parameters/updated"}]}}}}
```

## Create a standing

> Insert a new standing

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Baseball","version":"v1"},"tags":[{"name":"Standings","description":"The Standing is the results position a competitor ranks versus other competitors.\n<img src = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Seasons]-<>[Standings{bg:orange}],[Standings]-2<>[Teams],[Standings]-1[Venues],[Standings]-<>[~Standingroster~],[Standings]-.->[Stages],[Standings]-.->[Pools],[Standings]-.->[Rounds],\">\n    In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used\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"}}}}}},"StandingsModel":{"type":"object","additionalProperties":false,"properties":{"standingId":{"description":"The unique identifier of the standing","type":"string","format":"uuid"},"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 standing belongs to","type":"object"},"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"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The division information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The conference information","type":"object"},"latest":{"description":"Standing is part of the latest round?","type":"boolean"},"inProgress":{"description":"Is the competitor in a current In-Progress match?","type":"boolean"},"live":{"description":"Is this including live matches?","type":"boolean"},"locked":{"description":"Has the standing been locked (to prevent editing)?","type":"boolean"},"groupingBase":{"description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","type":"string","enum":["OVERALL","ROUND"],"maxLength":50},"groupingConferenceDivision":{"description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50},"groupingStagePool":{"description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The pool that is related to this record","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true},"round":{"properties":{"resourceType":{"type":"string","enum":["seasonRounds"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~ROUND~ that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true},"standingConfiguration":{"properties":{"resourceType":{"type":"string","enum":["standingConfigurations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~standingConfiguration~ that this season 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},"position":{"description":"Position of the competitors standing record","type":"integer","format":"int32","nullable":true},"securedFinals":{"description":"Has competitor secured a finals position","type":"string"},"points":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"bonusStandingPoints":{"description":"Bonus Standing points","type":"number"},"penaltyStandingPoints":{"description":"Penalty Standing points","type":"number"},"byeStandingPoints":{"description":"Bye Standing points","type":"number"},"teamDifferential":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialHome":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialAway":{"description":"Differential of Won-Lost","type":"number"},"gamesBehind":{"description":"Games behind leading competitor","type":"number"},"standingPoints":{"description":"Standing Points for competitor","type":"number"},"standingPointsHome":{"description":"Standing Points for competitor at Home","type":"number"},"standingPointsAway":{"description":"Standing Points for competitor away","type":"number"},"standingPointsGiven":{"description":"Standing Points Given away for this competitor","type":"number"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"calculated":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"played":{"description":"Fixtures played","type":"number"},"playedHome":{"description":"Fixtures played at home","type":"number"},"playedAway":{"description":"Fixtures played away","type":"number"},"washouts":{"description":"Number of washed out fixtures","type":"number"},"wins":{"description":"Fixtures Won","type":"number"},"winsHome":{"description":"Fixtures Won at home","type":"number"},"winsAway":{"description":"Fixtures Won away","type":"number"},"winsSecondaryScore":{"description":"Fixtures Won via Secondary Score","type":"number"},"winsSecondaryScoreHome":{"description":"Fixtures Won at home via Secondary Score","type":"number"},"winsSecondaryScoreAway":{"description":"Fixtures Won away via Secondary Score","type":"number"},"losses":{"description":"Fixtures Lost","type":"number"},"lossesHome":{"description":"Fixtures Lost at home","type":"number"},"lossesAway":{"description":"Fixtures Lost away","type":"number"},"lossesSecondaryScore":{"description":"Fixtures Lost via Secondary Score","type":"number"},"lossesSecondaryScoreHome":{"description":"Fixtures Lost at home via Secondary Score","type":"number"},"lossesSecondaryScoreAway":{"description":"Fixtures Lost away via Secondary Score","type":"number"},"draws":{"description":"Fixtures Drawn","type":"number"},"drawsHome":{"description":"Fixtures Drawn at home","type":"number"},"drawsAway":{"description":"Fixtures Drawn away","type":"number"},"byes":{"description":"Fixtures Byes","type":"number"},"forfeitsGiven":{"description":"Fixtures Forfeits Given","type":"number"},"forfeitsWonBy":{"description":"Fixtures Forfeits Won","type":"number"},"winPercentageDisplay":{"description":"Win Percentage (wins/played) (Display Value)","type":"number"},"winPercentageHomeDisplay":{"description":"Win Percentage Home (wins/played) (Display Value)","type":"number"},"winPercentageAwayDisplay":{"description":"Win Percentage Away (wins/played) (Display Value)","type":"number"},"winPercentage":{"description":"Win Percentage (wins/played)","type":"number"},"winPercentageHome":{"description":"Win Percentage Home (wins/played)","type":"number"},"winPercentageAway":{"description":"Win Percentage Away (wins/played)","type":"number"},"scoredFor":{"description":"Scored For","type":"number"},"scoredForHome":{"description":"Scored For at home","type":"number"},"scoredForAway":{"description":"Scored For away","type":"number"},"scoredForAverage":{"description":"Scored For Average","type":"number"},"scoredForHomeAverage":{"description":"Scored For Average at home","type":"number"},"scoredForAwayAverage":{"description":"Scored For Average away","type":"number"},"scoredAgainst":{"description":"Scored Against","type":"number"},"scoredAgainstHome":{"description":"Scored Against at home","type":"number"},"scoredAgainstAway":{"description":"Scored Against away","type":"number"},"scoredAgainstAverage":{"description":"Scored Against Average","type":"number"},"scoredAgainstHomeAverage":{"description":"Scored Against Average at home","type":"number"},"scoredAgainstAwayAverage":{"description":"Scored Against Average away","type":"number"},"percentageDisplay":{"description":"For versus Against (Display Value)","type":"number"},"percentageHomeDisplay":{"description":"For versus Against at home (Display Value)","type":"number"},"percentageAwayDisplay":{"description":"For versus Against away (Display Value)","type":"number"},"percentage":{"description":"For versus Against","type":"number"},"percentageHome":{"description":"For versus Against at home","type":"number"},"percentageAway":{"description":"For versus Against away","type":"number"},"pointDifference":{"description":"Point Difference for competitor","type":"number"},"pointDifferenceHome":{"description":"Point Difference for competitor at Home","type":"number"},"pointDifferenceAway":{"description":"Point Difference for competitor away","type":"number"},"lowestScoreFor":{"description":"Lowest Score for competitor","type":"number","nullable":true},"lowestScoreForHome":{"description":"Lowest Score for competitor at Home","type":"number","nullable":true},"lowestScoreForAway":{"description":"Lowest Score for competitor away","type":"number","nullable":true},"highestScoreFor":{"description":"Highest Score for competitor","type":"number","nullable":true},"highestScoreForHome":{"description":"Highest Score for competitor at Home","type":"number","nullable":true},"highestScoreForAway":{"description":"Highest Score for competitor away","type":"number","nullable":true},"lowestScoreAgainst":{"description":"Lowest Score against competitor","type":"number","nullable":true},"lowestScoreAgainstHome":{"description":"Lowest Score against competitor at Home","type":"number","nullable":true},"lowestScoreAgainstAway":{"description":"Lowest Score against competitor away","type":"number","nullable":true},"highestScoreAgainst":{"description":"Highest Score against competitor","type":"number","nullable":true},"highestScoreAgainstHome":{"description":"Highest Score against competitor at Home","type":"number","nullable":true},"highestScoreAgainstAway":{"description":"Highest Score against competitor away","type":"number","nullable":true},"streak":{"description":"Winning streak for competitor","type":"number"},"streakHome":{"description":"Winning streak for competitor at Home","type":"number"},"streakAway":{"description":"Winning streak for competitor away","type":"number"},"resultString":{"description":"Result string for competitor (W,L,D per match)","type":"string"},"resultStringHome":{"description":"Result string for competitor at Home (W,L,D per match)","type":"string"},"resultStringAway":{"description":"Result string for competitor away (W,L,D per match)","type":"string"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true},"autoGenerated":{"description":"Was this row auto generated?","type":"boolean","readOnly":true},"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":"standing 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":{"/baseball/o/{organizationId}/seasons/{seasonId}/standings":{"post":{"tags":["Standings"],"summary":"Create a standing","description":"Insert a new standing","operationId":"standing_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"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"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"standingId":{"description":"The unique identifier of the standing","type":"string","format":"uuid"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true},"latest":{"description":"Standing is part of the latest round?","type":"boolean"},"inProgress":{"description":"Is the competitor in a current In-Progress match?","type":"boolean"},"live":{"description":"Is this including live matches?","type":"boolean"},"locked":{"description":"Has the standing been locked (to prevent editing)?","type":"boolean"},"groupingBase":{"description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","type":"string","enum":["OVERALL","ROUND"],"maxLength":50},"groupingConferenceDivision":{"description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50},"groupingStagePool":{"description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true},"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},"position":{"description":"Position of the competitors standing record","type":"integer","format":"int32","nullable":true},"securedFinals":{"description":"Has competitor secured a finals position","type":"string"},"points":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"bonusStandingPoints":{"description":"Bonus Standing points","type":"number"},"penaltyStandingPoints":{"description":"Penalty Standing points","type":"number"},"byeStandingPoints":{"description":"Bye Standing points","type":"number"},"teamDifferential":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialHome":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialAway":{"description":"Differential of Won-Lost","type":"number"},"gamesBehind":{"description":"Games behind leading competitor","type":"number"},"standingPoints":{"description":"Standing Points for competitor","type":"number"},"standingPointsHome":{"description":"Standing Points for competitor at Home","type":"number"},"standingPointsAway":{"description":"Standing Points for competitor away","type":"number"},"standingPointsGiven":{"description":"Standing Points Given away for this competitor","type":"number"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"calculated":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"played":{"description":"Fixtures played","type":"number"},"playedHome":{"description":"Fixtures played at home","type":"number"},"playedAway":{"description":"Fixtures played away","type":"number"},"washouts":{"description":"Number of washed out fixtures","type":"number"},"wins":{"description":"Fixtures Won","type":"number"},"winsHome":{"description":"Fixtures Won at home","type":"number"},"winsAway":{"description":"Fixtures Won away","type":"number"},"winsSecondaryScore":{"description":"Fixtures Won via Secondary Score","type":"number"},"winsSecondaryScoreHome":{"description":"Fixtures Won at home via Secondary Score","type":"number"},"winsSecondaryScoreAway":{"description":"Fixtures Won away via Secondary Score","type":"number"},"losses":{"description":"Fixtures Lost","type":"number"},"lossesHome":{"description":"Fixtures Lost at home","type":"number"},"lossesAway":{"description":"Fixtures Lost away","type":"number"},"lossesSecondaryScore":{"description":"Fixtures Lost via Secondary Score","type":"number"},"lossesSecondaryScoreHome":{"description":"Fixtures Lost at home via Secondary Score","type":"number"},"lossesSecondaryScoreAway":{"description":"Fixtures Lost away via Secondary Score","type":"number"},"draws":{"description":"Fixtures Drawn","type":"number"},"drawsHome":{"description":"Fixtures Drawn at home","type":"number"},"drawsAway":{"description":"Fixtures Drawn away","type":"number"},"byes":{"description":"Fixtures Byes","type":"number"},"forfeitsGiven":{"description":"Fixtures Forfeits Given","type":"number"},"forfeitsWonBy":{"description":"Fixtures Forfeits Won","type":"number"},"winPercentageDisplay":{"description":"Win Percentage (wins/played) (Display Value)","type":"number"},"winPercentageHomeDisplay":{"description":"Win Percentage Home (wins/played) (Display Value)","type":"number"},"winPercentageAwayDisplay":{"description":"Win Percentage Away (wins/played) (Display Value)","type":"number"},"winPercentage":{"description":"Win Percentage (wins/played)","type":"number"},"winPercentageHome":{"description":"Win Percentage Home (wins/played)","type":"number"},"winPercentageAway":{"description":"Win Percentage Away (wins/played)","type":"number"},"scoredFor":{"description":"Scored For","type":"number"},"scoredForHome":{"description":"Scored For at home","type":"number"},"scoredForAway":{"description":"Scored For away","type":"number"},"scoredForAverage":{"description":"Scored For Average","type":"number"},"scoredForHomeAverage":{"description":"Scored For Average at home","type":"number"},"scoredForAwayAverage":{"description":"Scored For Average away","type":"number"},"scoredAgainst":{"description":"Scored Against","type":"number"},"scoredAgainstHome":{"description":"Scored Against at home","type":"number"},"scoredAgainstAway":{"description":"Scored Against away","type":"number"},"scoredAgainstAverage":{"description":"Scored Against Average","type":"number"},"scoredAgainstHomeAverage":{"description":"Scored Against Average at home","type":"number"},"scoredAgainstAwayAverage":{"description":"Scored Against Average away","type":"number"},"percentageDisplay":{"description":"For versus Against (Display Value)","type":"number"},"percentageHomeDisplay":{"description":"For versus Against at home (Display Value)","type":"number"},"percentageAwayDisplay":{"description":"For versus Against away (Display Value)","type":"number"},"percentage":{"description":"For versus Against","type":"number"},"percentageHome":{"description":"For versus Against at home","type":"number"},"percentageAway":{"description":"For versus Against away","type":"number"},"pointDifference":{"description":"Point Difference for competitor","type":"number"},"pointDifferenceHome":{"description":"Point Difference for competitor at Home","type":"number"},"pointDifferenceAway":{"description":"Point Difference for competitor away","type":"number"},"lowestScoreFor":{"description":"Lowest Score for competitor","type":"number","nullable":true},"lowestScoreForHome":{"description":"Lowest Score for competitor at Home","type":"number","nullable":true},"lowestScoreForAway":{"description":"Lowest Score for competitor away","type":"number","nullable":true},"highestScoreFor":{"description":"Highest Score for competitor","type":"number","nullable":true},"highestScoreForHome":{"description":"Highest Score for competitor at Home","type":"number","nullable":true},"highestScoreForAway":{"description":"Highest Score for competitor away","type":"number","nullable":true},"lowestScoreAgainst":{"description":"Lowest Score against competitor","type":"number","nullable":true},"lowestScoreAgainstHome":{"description":"Lowest Score against competitor at Home","type":"number","nullable":true},"lowestScoreAgainstAway":{"description":"Lowest Score against competitor away","type":"number","nullable":true},"highestScoreAgainst":{"description":"Highest Score against competitor","type":"number","nullable":true},"highestScoreAgainstHome":{"description":"Highest Score against competitor at Home","type":"number","nullable":true},"highestScoreAgainstAway":{"description":"Highest Score against competitor away","type":"number","nullable":true},"streak":{"description":"Winning streak for competitor","type":"number"},"streakHome":{"description":"Winning streak for competitor at Home","type":"number"},"streakAway":{"description":"Winning streak for competitor away","type":"number"},"resultString":{"description":"Result string for competitor (W,L,D per match)","type":"string"},"resultStringHome":{"description":"Result string for competitor at Home (W,L,D per match)","type":"string"},"resultStringAway":{"description":"Result string for competitor away (W,L,D per match)","type":"string"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true}},"title":"standing post body","required":["seasonId","entityId","live","groupingBase","groupingConferenceDivision","groupingStagePool","position"]}}}}}}}}
```

## Delete all the standings for a season

> Delete all a specific seasons standing records

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Baseball","version":"v1"},"tags":[{"name":"Standings","description":"The Standing is the results position a competitor ranks versus other competitors.\n<img src = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Seasons]-<>[Standings{bg:orange}],[Standings]-2<>[Teams],[Standings]-1[Venues],[Standings]-<>[~Standingroster~],[Standings]-.->[Stages],[Standings]-.->[Pools],[Standings]-.->[Rounds],\">\n    In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used\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"}}}}}},"SuccessModel":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Was the call a success?","type":"boolean"}},"title":" 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"},"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":{"/baseball/o/{organizationId}/seasons/{seasonId}/standings":{"delete":{"tags":["Standings"],"summary":"Delete all the standings for a season","description":"Delete all a specific seasons standing records","operationId":"standing_all_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$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"}]}}}}
```

## Get a list of live standings

> Return a list of live standings for a season

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Baseball","version":"v1"},"tags":[{"name":"Standings","description":"The Standing is the results position a competitor ranks versus other competitors.\n<img src = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Seasons]-<>[Standings{bg:orange}],[Standings]-2<>[Teams],[Standings]-1[Venues],[Standings]-<>[~Standingroster~],[Standings]-.->[Stages],[Standings]-.->[Pools],[Standings]-.->[Rounds],\">\n    In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used\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"}}}}}},"StandingsModel":{"type":"object","additionalProperties":false,"properties":{"standingId":{"description":"The unique identifier of the standing","type":"string","format":"uuid"},"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 standing belongs to","type":"object"},"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"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The division information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The conference information","type":"object"},"latest":{"description":"Standing is part of the latest round?","type":"boolean"},"inProgress":{"description":"Is the competitor in a current In-Progress match?","type":"boolean"},"live":{"description":"Is this including live matches?","type":"boolean"},"locked":{"description":"Has the standing been locked (to prevent editing)?","type":"boolean"},"groupingBase":{"description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","type":"string","enum":["OVERALL","ROUND"],"maxLength":50},"groupingConferenceDivision":{"description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50},"groupingStagePool":{"description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The pool that is related to this record","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true},"round":{"properties":{"resourceType":{"type":"string","enum":["seasonRounds"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~ROUND~ that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true},"standingConfiguration":{"properties":{"resourceType":{"type":"string","enum":["standingConfigurations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~standingConfiguration~ that this season 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},"position":{"description":"Position of the competitors standing record","type":"integer","format":"int32","nullable":true},"securedFinals":{"description":"Has competitor secured a finals position","type":"string"},"points":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"bonusStandingPoints":{"description":"Bonus Standing points","type":"number"},"penaltyStandingPoints":{"description":"Penalty Standing points","type":"number"},"byeStandingPoints":{"description":"Bye Standing points","type":"number"},"teamDifferential":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialHome":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialAway":{"description":"Differential of Won-Lost","type":"number"},"gamesBehind":{"description":"Games behind leading competitor","type":"number"},"standingPoints":{"description":"Standing Points for competitor","type":"number"},"standingPointsHome":{"description":"Standing Points for competitor at Home","type":"number"},"standingPointsAway":{"description":"Standing Points for competitor away","type":"number"},"standingPointsGiven":{"description":"Standing Points Given away for this competitor","type":"number"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"calculated":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"played":{"description":"Fixtures played","type":"number"},"playedHome":{"description":"Fixtures played at home","type":"number"},"playedAway":{"description":"Fixtures played away","type":"number"},"washouts":{"description":"Number of washed out fixtures","type":"number"},"wins":{"description":"Fixtures Won","type":"number"},"winsHome":{"description":"Fixtures Won at home","type":"number"},"winsAway":{"description":"Fixtures Won away","type":"number"},"winsSecondaryScore":{"description":"Fixtures Won via Secondary Score","type":"number"},"winsSecondaryScoreHome":{"description":"Fixtures Won at home via Secondary Score","type":"number"},"winsSecondaryScoreAway":{"description":"Fixtures Won away via Secondary Score","type":"number"},"losses":{"description":"Fixtures Lost","type":"number"},"lossesHome":{"description":"Fixtures Lost at home","type":"number"},"lossesAway":{"description":"Fixtures Lost away","type":"number"},"lossesSecondaryScore":{"description":"Fixtures Lost via Secondary Score","type":"number"},"lossesSecondaryScoreHome":{"description":"Fixtures Lost at home via Secondary Score","type":"number"},"lossesSecondaryScoreAway":{"description":"Fixtures Lost away via Secondary Score","type":"number"},"draws":{"description":"Fixtures Drawn","type":"number"},"drawsHome":{"description":"Fixtures Drawn at home","type":"number"},"drawsAway":{"description":"Fixtures Drawn away","type":"number"},"byes":{"description":"Fixtures Byes","type":"number"},"forfeitsGiven":{"description":"Fixtures Forfeits Given","type":"number"},"forfeitsWonBy":{"description":"Fixtures Forfeits Won","type":"number"},"winPercentageDisplay":{"description":"Win Percentage (wins/played) (Display Value)","type":"number"},"winPercentageHomeDisplay":{"description":"Win Percentage Home (wins/played) (Display Value)","type":"number"},"winPercentageAwayDisplay":{"description":"Win Percentage Away (wins/played) (Display Value)","type":"number"},"winPercentage":{"description":"Win Percentage (wins/played)","type":"number"},"winPercentageHome":{"description":"Win Percentage Home (wins/played)","type":"number"},"winPercentageAway":{"description":"Win Percentage Away (wins/played)","type":"number"},"scoredFor":{"description":"Scored For","type":"number"},"scoredForHome":{"description":"Scored For at home","type":"number"},"scoredForAway":{"description":"Scored For away","type":"number"},"scoredForAverage":{"description":"Scored For Average","type":"number"},"scoredForHomeAverage":{"description":"Scored For Average at home","type":"number"},"scoredForAwayAverage":{"description":"Scored For Average away","type":"number"},"scoredAgainst":{"description":"Scored Against","type":"number"},"scoredAgainstHome":{"description":"Scored Against at home","type":"number"},"scoredAgainstAway":{"description":"Scored Against away","type":"number"},"scoredAgainstAverage":{"description":"Scored Against Average","type":"number"},"scoredAgainstHomeAverage":{"description":"Scored Against Average at home","type":"number"},"scoredAgainstAwayAverage":{"description":"Scored Against Average away","type":"number"},"percentageDisplay":{"description":"For versus Against (Display Value)","type":"number"},"percentageHomeDisplay":{"description":"For versus Against at home (Display Value)","type":"number"},"percentageAwayDisplay":{"description":"For versus Against away (Display Value)","type":"number"},"percentage":{"description":"For versus Against","type":"number"},"percentageHome":{"description":"For versus Against at home","type":"number"},"percentageAway":{"description":"For versus Against away","type":"number"},"pointDifference":{"description":"Point Difference for competitor","type":"number"},"pointDifferenceHome":{"description":"Point Difference for competitor at Home","type":"number"},"pointDifferenceAway":{"description":"Point Difference for competitor away","type":"number"},"lowestScoreFor":{"description":"Lowest Score for competitor","type":"number","nullable":true},"lowestScoreForHome":{"description":"Lowest Score for competitor at Home","type":"number","nullable":true},"lowestScoreForAway":{"description":"Lowest Score for competitor away","type":"number","nullable":true},"highestScoreFor":{"description":"Highest Score for competitor","type":"number","nullable":true},"highestScoreForHome":{"description":"Highest Score for competitor at Home","type":"number","nullable":true},"highestScoreForAway":{"description":"Highest Score for competitor away","type":"number","nullable":true},"lowestScoreAgainst":{"description":"Lowest Score against competitor","type":"number","nullable":true},"lowestScoreAgainstHome":{"description":"Lowest Score against competitor at Home","type":"number","nullable":true},"lowestScoreAgainstAway":{"description":"Lowest Score against competitor away","type":"number","nullable":true},"highestScoreAgainst":{"description":"Highest Score against competitor","type":"number","nullable":true},"highestScoreAgainstHome":{"description":"Highest Score against competitor at Home","type":"number","nullable":true},"highestScoreAgainstAway":{"description":"Highest Score against competitor away","type":"number","nullable":true},"streak":{"description":"Winning streak for competitor","type":"number"},"streakHome":{"description":"Winning streak for competitor at Home","type":"number"},"streakAway":{"description":"Winning streak for competitor away","type":"number"},"resultString":{"description":"Result string for competitor (W,L,D per match)","type":"string"},"resultStringHome":{"description":"Result string for competitor at Home (W,L,D per match)","type":"string"},"resultStringAway":{"description":"Result string for competitor away (W,L,D per match)","type":"string"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true},"autoGenerated":{"description":"Was this row auto generated?","type":"boolean","readOnly":true},"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":"standing 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"},"conferenceId":{"name":"conferenceId","description":"The unique identifier of the conference","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"divisionId":{"name":"divisionId","description":"The unique identifier of the division","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"entityId":{"name":"entityId","description":"The unique identifier of the team","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 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","schema":{"type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"required":false,"in":"query"},"groupingBase":{"name":"groupingBase","description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","schema":{"type":"string","enum":["OVERALL","ROUND"],"maxLength":50},"required":false,"in":"query"},"groupingConferenceDivision":{"name":"groupingConferenceDivision","description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","schema":{"type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50},"required":false,"in":"query"},"groupingStagePool":{"name":"groupingStagePool","description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","schema":{"type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"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"},"inProgress":{"name":"inProgress","description":"Is the competitor in a current match?","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"},"latest":{"name":"latest","description":"Is this the latest standing record ?","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"},"poolCode":{"name":"poolCode","description":"The pool identifier within a season","schema":{"type":"string","maxLength":30},"required":false,"in":"query"},"roundCode":{"name":"roundCode","description":"The round identifier within a season","schema":{"type":"string","maxLength":30},"required":false,"in":"query"},"roundNumber":{"name":"roundNumber","description":"Round number","schema":{"type":"string","maxLength":30},"required":false,"in":"query"},"stageCode":{"name":"stageCode","description":"The stage identifier within a season","schema":{"type":"string","maxLength":30},"required":false,"in":"query"},"standingConfigurationId":{"name":"standingConfigurationId","description":"The unique identifier of the configuration","schema":{"type":"string","format":"uuid"},"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":{"/baseball/o/{organizationId}/seasons/{seasonId}/standings/live":{"get":{"tags":["Standings"],"summary":"Get a list of live standings","description":"Return a list of live standings for a season","operationId":"standing_live_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/conferenceId"},{"$ref":"#/components/parameters/divisionId"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/groupingBase"},{"$ref":"#/components/parameters/groupingConferenceDivision"},{"$ref":"#/components/parameters/groupingStagePool"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/inProgress"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/includeTotalCount"},{"$ref":"#/components/parameters/latest"},{"$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/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"name":"sortBy","description":"Comma-delimited list of one or more fields to sort by. Each field can have '-' as prefix to sort in descending order and no prefix to sort in ascending order.","schema":{"type":"string","pattern":"^(\\-?conferenceId|\\-?divisionId|\\-?|position|,)*$"},"required":false,"in":"query"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/standingConfigurationId"},{"$ref":"#/components/parameters/updated"}]}}}}
```

## Get a standing

> Return detailed information about a specific standing

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Baseball","version":"v1"},"tags":[{"name":"Standings","description":"The Standing is the results position a competitor ranks versus other competitors.\n<img src = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Seasons]-<>[Standings{bg:orange}],[Standings]-2<>[Teams],[Standings]-1[Venues],[Standings]-<>[~Standingroster~],[Standings]-.->[Stages],[Standings]-.->[Pools],[Standings]-.->[Rounds],\">\n    In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used\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"}}}}}},"StandingsModel":{"type":"object","additionalProperties":false,"properties":{"standingId":{"description":"The unique identifier of the standing","type":"string","format":"uuid"},"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 standing belongs to","type":"object"},"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"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The division information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The conference information","type":"object"},"latest":{"description":"Standing is part of the latest round?","type":"boolean"},"inProgress":{"description":"Is the competitor in a current In-Progress match?","type":"boolean"},"live":{"description":"Is this including live matches?","type":"boolean"},"locked":{"description":"Has the standing been locked (to prevent editing)?","type":"boolean"},"groupingBase":{"description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","type":"string","enum":["OVERALL","ROUND"],"maxLength":50},"groupingConferenceDivision":{"description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50},"groupingStagePool":{"description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The pool that is related to this record","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true},"round":{"properties":{"resourceType":{"type":"string","enum":["seasonRounds"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~ROUND~ that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true},"standingConfiguration":{"properties":{"resourceType":{"type":"string","enum":["standingConfigurations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~standingConfiguration~ that this season 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},"position":{"description":"Position of the competitors standing record","type":"integer","format":"int32","nullable":true},"securedFinals":{"description":"Has competitor secured a finals position","type":"string"},"points":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"bonusStandingPoints":{"description":"Bonus Standing points","type":"number"},"penaltyStandingPoints":{"description":"Penalty Standing points","type":"number"},"byeStandingPoints":{"description":"Bye Standing points","type":"number"},"teamDifferential":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialHome":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialAway":{"description":"Differential of Won-Lost","type":"number"},"gamesBehind":{"description":"Games behind leading competitor","type":"number"},"standingPoints":{"description":"Standing Points for competitor","type":"number"},"standingPointsHome":{"description":"Standing Points for competitor at Home","type":"number"},"standingPointsAway":{"description":"Standing Points for competitor away","type":"number"},"standingPointsGiven":{"description":"Standing Points Given away for this competitor","type":"number"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"calculated":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"played":{"description":"Fixtures played","type":"number"},"playedHome":{"description":"Fixtures played at home","type":"number"},"playedAway":{"description":"Fixtures played away","type":"number"},"washouts":{"description":"Number of washed out fixtures","type":"number"},"wins":{"description":"Fixtures Won","type":"number"},"winsHome":{"description":"Fixtures Won at home","type":"number"},"winsAway":{"description":"Fixtures Won away","type":"number"},"winsSecondaryScore":{"description":"Fixtures Won via Secondary Score","type":"number"},"winsSecondaryScoreHome":{"description":"Fixtures Won at home via Secondary Score","type":"number"},"winsSecondaryScoreAway":{"description":"Fixtures Won away via Secondary Score","type":"number"},"losses":{"description":"Fixtures Lost","type":"number"},"lossesHome":{"description":"Fixtures Lost at home","type":"number"},"lossesAway":{"description":"Fixtures Lost away","type":"number"},"lossesSecondaryScore":{"description":"Fixtures Lost via Secondary Score","type":"number"},"lossesSecondaryScoreHome":{"description":"Fixtures Lost at home via Secondary Score","type":"number"},"lossesSecondaryScoreAway":{"description":"Fixtures Lost away via Secondary Score","type":"number"},"draws":{"description":"Fixtures Drawn","type":"number"},"drawsHome":{"description":"Fixtures Drawn at home","type":"number"},"drawsAway":{"description":"Fixtures Drawn away","type":"number"},"byes":{"description":"Fixtures Byes","type":"number"},"forfeitsGiven":{"description":"Fixtures Forfeits Given","type":"number"},"forfeitsWonBy":{"description":"Fixtures Forfeits Won","type":"number"},"winPercentageDisplay":{"description":"Win Percentage (wins/played) (Display Value)","type":"number"},"winPercentageHomeDisplay":{"description":"Win Percentage Home (wins/played) (Display Value)","type":"number"},"winPercentageAwayDisplay":{"description":"Win Percentage Away (wins/played) (Display Value)","type":"number"},"winPercentage":{"description":"Win Percentage (wins/played)","type":"number"},"winPercentageHome":{"description":"Win Percentage Home (wins/played)","type":"number"},"winPercentageAway":{"description":"Win Percentage Away (wins/played)","type":"number"},"scoredFor":{"description":"Scored For","type":"number"},"scoredForHome":{"description":"Scored For at home","type":"number"},"scoredForAway":{"description":"Scored For away","type":"number"},"scoredForAverage":{"description":"Scored For Average","type":"number"},"scoredForHomeAverage":{"description":"Scored For Average at home","type":"number"},"scoredForAwayAverage":{"description":"Scored For Average away","type":"number"},"scoredAgainst":{"description":"Scored Against","type":"number"},"scoredAgainstHome":{"description":"Scored Against at home","type":"number"},"scoredAgainstAway":{"description":"Scored Against away","type":"number"},"scoredAgainstAverage":{"description":"Scored Against Average","type":"number"},"scoredAgainstHomeAverage":{"description":"Scored Against Average at home","type":"number"},"scoredAgainstAwayAverage":{"description":"Scored Against Average away","type":"number"},"percentageDisplay":{"description":"For versus Against (Display Value)","type":"number"},"percentageHomeDisplay":{"description":"For versus Against at home (Display Value)","type":"number"},"percentageAwayDisplay":{"description":"For versus Against away (Display Value)","type":"number"},"percentage":{"description":"For versus Against","type":"number"},"percentageHome":{"description":"For versus Against at home","type":"number"},"percentageAway":{"description":"For versus Against away","type":"number"},"pointDifference":{"description":"Point Difference for competitor","type":"number"},"pointDifferenceHome":{"description":"Point Difference for competitor at Home","type":"number"},"pointDifferenceAway":{"description":"Point Difference for competitor away","type":"number"},"lowestScoreFor":{"description":"Lowest Score for competitor","type":"number","nullable":true},"lowestScoreForHome":{"description":"Lowest Score for competitor at Home","type":"number","nullable":true},"lowestScoreForAway":{"description":"Lowest Score for competitor away","type":"number","nullable":true},"highestScoreFor":{"description":"Highest Score for competitor","type":"number","nullable":true},"highestScoreForHome":{"description":"Highest Score for competitor at Home","type":"number","nullable":true},"highestScoreForAway":{"description":"Highest Score for competitor away","type":"number","nullable":true},"lowestScoreAgainst":{"description":"Lowest Score against competitor","type":"number","nullable":true},"lowestScoreAgainstHome":{"description":"Lowest Score against competitor at Home","type":"number","nullable":true},"lowestScoreAgainstAway":{"description":"Lowest Score against competitor away","type":"number","nullable":true},"highestScoreAgainst":{"description":"Highest Score against competitor","type":"number","nullable":true},"highestScoreAgainstHome":{"description":"Highest Score against competitor at Home","type":"number","nullable":true},"highestScoreAgainstAway":{"description":"Highest Score against competitor away","type":"number","nullable":true},"streak":{"description":"Winning streak for competitor","type":"number"},"streakHome":{"description":"Winning streak for competitor at Home","type":"number"},"streakAway":{"description":"Winning streak for competitor away","type":"number"},"resultString":{"description":"Result string for competitor (W,L,D per match)","type":"string"},"resultStringHome":{"description":"Result string for competitor at Home (W,L,D per match)","type":"string"},"resultStringAway":{"description":"Result string for competitor away (W,L,D per match)","type":"string"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true},"autoGenerated":{"description":"Was this row auto generated?","type":"boolean","readOnly":true},"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":"standing 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"},"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"}}},"paths":{"/baseball/o/{organizationId}/standings/{standingId}":{"get":{"tags":["Standings"],"summary":"Get a standing","description":"Return detailed information about a specific standing","operationId":"standing_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$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"},{"name":"standingId","description":"The unique identifier of the standing record","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"}]}}}}
```

## Update a standing

> Change the information of a specific standing

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Baseball","version":"v1"},"tags":[{"name":"Standings","description":"The Standing is the results position a competitor ranks versus other competitors.\n<img src = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Seasons]-<>[Standings{bg:orange}],[Standings]-2<>[Teams],[Standings]-1[Venues],[Standings]-<>[~Standingroster~],[Standings]-.->[Stages],[Standings]-.->[Pools],[Standings]-.->[Rounds],\">\n    In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used\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"}}}}}},"StandingsModel":{"type":"object","additionalProperties":false,"properties":{"standingId":{"description":"The unique identifier of the standing","type":"string","format":"uuid"},"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 standing belongs to","type":"object"},"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"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The division information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The conference information","type":"object"},"latest":{"description":"Standing is part of the latest round?","type":"boolean"},"inProgress":{"description":"Is the competitor in a current In-Progress match?","type":"boolean"},"live":{"description":"Is this including live matches?","type":"boolean"},"locked":{"description":"Has the standing been locked (to prevent editing)?","type":"boolean"},"groupingBase":{"description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","type":"string","enum":["OVERALL","ROUND"],"maxLength":50},"groupingConferenceDivision":{"description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50},"groupingStagePool":{"description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The pool that is related to this record","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true},"round":{"properties":{"resourceType":{"type":"string","enum":["seasonRounds"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~ROUND~ that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true},"standingConfiguration":{"properties":{"resourceType":{"type":"string","enum":["standingConfigurations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~standingConfiguration~ that this season 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},"position":{"description":"Position of the competitors standing record","type":"integer","format":"int32","nullable":true},"securedFinals":{"description":"Has competitor secured a finals position","type":"string"},"points":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"bonusStandingPoints":{"description":"Bonus Standing points","type":"number"},"penaltyStandingPoints":{"description":"Penalty Standing points","type":"number"},"byeStandingPoints":{"description":"Bye Standing points","type":"number"},"teamDifferential":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialHome":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialAway":{"description":"Differential of Won-Lost","type":"number"},"gamesBehind":{"description":"Games behind leading competitor","type":"number"},"standingPoints":{"description":"Standing Points for competitor","type":"number"},"standingPointsHome":{"description":"Standing Points for competitor at Home","type":"number"},"standingPointsAway":{"description":"Standing Points for competitor away","type":"number"},"standingPointsGiven":{"description":"Standing Points Given away for this competitor","type":"number"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"calculated":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"played":{"description":"Fixtures played","type":"number"},"playedHome":{"description":"Fixtures played at home","type":"number"},"playedAway":{"description":"Fixtures played away","type":"number"},"washouts":{"description":"Number of washed out fixtures","type":"number"},"wins":{"description":"Fixtures Won","type":"number"},"winsHome":{"description":"Fixtures Won at home","type":"number"},"winsAway":{"description":"Fixtures Won away","type":"number"},"winsSecondaryScore":{"description":"Fixtures Won via Secondary Score","type":"number"},"winsSecondaryScoreHome":{"description":"Fixtures Won at home via Secondary Score","type":"number"},"winsSecondaryScoreAway":{"description":"Fixtures Won away via Secondary Score","type":"number"},"losses":{"description":"Fixtures Lost","type":"number"},"lossesHome":{"description":"Fixtures Lost at home","type":"number"},"lossesAway":{"description":"Fixtures Lost away","type":"number"},"lossesSecondaryScore":{"description":"Fixtures Lost via Secondary Score","type":"number"},"lossesSecondaryScoreHome":{"description":"Fixtures Lost at home via Secondary Score","type":"number"},"lossesSecondaryScoreAway":{"description":"Fixtures Lost away via Secondary Score","type":"number"},"draws":{"description":"Fixtures Drawn","type":"number"},"drawsHome":{"description":"Fixtures Drawn at home","type":"number"},"drawsAway":{"description":"Fixtures Drawn away","type":"number"},"byes":{"description":"Fixtures Byes","type":"number"},"forfeitsGiven":{"description":"Fixtures Forfeits Given","type":"number"},"forfeitsWonBy":{"description":"Fixtures Forfeits Won","type":"number"},"winPercentageDisplay":{"description":"Win Percentage (wins/played) (Display Value)","type":"number"},"winPercentageHomeDisplay":{"description":"Win Percentage Home (wins/played) (Display Value)","type":"number"},"winPercentageAwayDisplay":{"description":"Win Percentage Away (wins/played) (Display Value)","type":"number"},"winPercentage":{"description":"Win Percentage (wins/played)","type":"number"},"winPercentageHome":{"description":"Win Percentage Home (wins/played)","type":"number"},"winPercentageAway":{"description":"Win Percentage Away (wins/played)","type":"number"},"scoredFor":{"description":"Scored For","type":"number"},"scoredForHome":{"description":"Scored For at home","type":"number"},"scoredForAway":{"description":"Scored For away","type":"number"},"scoredForAverage":{"description":"Scored For Average","type":"number"},"scoredForHomeAverage":{"description":"Scored For Average at home","type":"number"},"scoredForAwayAverage":{"description":"Scored For Average away","type":"number"},"scoredAgainst":{"description":"Scored Against","type":"number"},"scoredAgainstHome":{"description":"Scored Against at home","type":"number"},"scoredAgainstAway":{"description":"Scored Against away","type":"number"},"scoredAgainstAverage":{"description":"Scored Against Average","type":"number"},"scoredAgainstHomeAverage":{"description":"Scored Against Average at home","type":"number"},"scoredAgainstAwayAverage":{"description":"Scored Against Average away","type":"number"},"percentageDisplay":{"description":"For versus Against (Display Value)","type":"number"},"percentageHomeDisplay":{"description":"For versus Against at home (Display Value)","type":"number"},"percentageAwayDisplay":{"description":"For versus Against away (Display Value)","type":"number"},"percentage":{"description":"For versus Against","type":"number"},"percentageHome":{"description":"For versus Against at home","type":"number"},"percentageAway":{"description":"For versus Against away","type":"number"},"pointDifference":{"description":"Point Difference for competitor","type":"number"},"pointDifferenceHome":{"description":"Point Difference for competitor at Home","type":"number"},"pointDifferenceAway":{"description":"Point Difference for competitor away","type":"number"},"lowestScoreFor":{"description":"Lowest Score for competitor","type":"number","nullable":true},"lowestScoreForHome":{"description":"Lowest Score for competitor at Home","type":"number","nullable":true},"lowestScoreForAway":{"description":"Lowest Score for competitor away","type":"number","nullable":true},"highestScoreFor":{"description":"Highest Score for competitor","type":"number","nullable":true},"highestScoreForHome":{"description":"Highest Score for competitor at Home","type":"number","nullable":true},"highestScoreForAway":{"description":"Highest Score for competitor away","type":"number","nullable":true},"lowestScoreAgainst":{"description":"Lowest Score against competitor","type":"number","nullable":true},"lowestScoreAgainstHome":{"description":"Lowest Score against competitor at Home","type":"number","nullable":true},"lowestScoreAgainstAway":{"description":"Lowest Score against competitor away","type":"number","nullable":true},"highestScoreAgainst":{"description":"Highest Score against competitor","type":"number","nullable":true},"highestScoreAgainstHome":{"description":"Highest Score against competitor at Home","type":"number","nullable":true},"highestScoreAgainstAway":{"description":"Highest Score against competitor away","type":"number","nullable":true},"streak":{"description":"Winning streak for competitor","type":"number"},"streakHome":{"description":"Winning streak for competitor at Home","type":"number"},"streakAway":{"description":"Winning streak for competitor away","type":"number"},"resultString":{"description":"Result string for competitor (W,L,D per match)","type":"string"},"resultStringHome":{"description":"Result string for competitor at Home (W,L,D per match)","type":"string"},"resultStringAway":{"description":"Result string for competitor away (W,L,D per match)","type":"string"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true},"autoGenerated":{"description":"Was this row auto generated?","type":"boolean","readOnly":true},"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":"standing 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":{"/baseball/o/{organizationId}/standings/{standingId}":{"put":{"tags":["Standings"],"summary":"Update a standing","description":"Change the information of a specific standing","operationId":"standing_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"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"},{"name":"standingId","description":"The unique identifier of the standing record","schema":{"type":"string","format":"uuid"},"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"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true},"latest":{"description":"Standing is part of the latest round?","type":"boolean"},"inProgress":{"description":"Is the competitor in a current In-Progress match?","type":"boolean"},"live":{"description":"Is this including live matches?","type":"boolean"},"locked":{"description":"Has the standing been locked (to prevent editing)?","type":"boolean"},"groupingBase":{"description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","type":"string","enum":["OVERALL","ROUND"],"maxLength":50},"groupingConferenceDivision":{"description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50},"groupingStagePool":{"description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true},"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},"position":{"description":"Position of the competitors standing record","type":"integer","format":"int32","nullable":true},"securedFinals":{"description":"Has competitor secured a finals position","type":"string"},"points":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"bonusStandingPoints":{"description":"Bonus Standing points","type":"number"},"penaltyStandingPoints":{"description":"Penalty Standing points","type":"number"},"byeStandingPoints":{"description":"Bye Standing points","type":"number"},"teamDifferential":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialHome":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialAway":{"description":"Differential of Won-Lost","type":"number"},"gamesBehind":{"description":"Games behind leading competitor","type":"number"},"standingPoints":{"description":"Standing Points for competitor","type":"number"},"standingPointsHome":{"description":"Standing Points for competitor at Home","type":"number"},"standingPointsAway":{"description":"Standing Points for competitor away","type":"number"},"standingPointsGiven":{"description":"Standing Points Given away for this competitor","type":"number"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"calculated":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"played":{"description":"Fixtures played","type":"number"},"playedHome":{"description":"Fixtures played at home","type":"number"},"playedAway":{"description":"Fixtures played away","type":"number"},"washouts":{"description":"Number of washed out fixtures","type":"number"},"wins":{"description":"Fixtures Won","type":"number"},"winsHome":{"description":"Fixtures Won at home","type":"number"},"winsAway":{"description":"Fixtures Won away","type":"number"},"winsSecondaryScore":{"description":"Fixtures Won via Secondary Score","type":"number"},"winsSecondaryScoreHome":{"description":"Fixtures Won at home via Secondary Score","type":"number"},"winsSecondaryScoreAway":{"description":"Fixtures Won away via Secondary Score","type":"number"},"losses":{"description":"Fixtures Lost","type":"number"},"lossesHome":{"description":"Fixtures Lost at home","type":"number"},"lossesAway":{"description":"Fixtures Lost away","type":"number"},"lossesSecondaryScore":{"description":"Fixtures Lost via Secondary Score","type":"number"},"lossesSecondaryScoreHome":{"description":"Fixtures Lost at home via Secondary Score","type":"number"},"lossesSecondaryScoreAway":{"description":"Fixtures Lost away via Secondary Score","type":"number"},"draws":{"description":"Fixtures Drawn","type":"number"},"drawsHome":{"description":"Fixtures Drawn at home","type":"number"},"drawsAway":{"description":"Fixtures Drawn away","type":"number"},"byes":{"description":"Fixtures Byes","type":"number"},"forfeitsGiven":{"description":"Fixtures Forfeits Given","type":"number"},"forfeitsWonBy":{"description":"Fixtures Forfeits Won","type":"number"},"winPercentageDisplay":{"description":"Win Percentage (wins/played) (Display Value)","type":"number"},"winPercentageHomeDisplay":{"description":"Win Percentage Home (wins/played) (Display Value)","type":"number"},"winPercentageAwayDisplay":{"description":"Win Percentage Away (wins/played) (Display Value)","type":"number"},"winPercentage":{"description":"Win Percentage (wins/played)","type":"number"},"winPercentageHome":{"description":"Win Percentage Home (wins/played)","type":"number"},"winPercentageAway":{"description":"Win Percentage Away (wins/played)","type":"number"},"scoredFor":{"description":"Scored For","type":"number"},"scoredForHome":{"description":"Scored For at home","type":"number"},"scoredForAway":{"description":"Scored For away","type":"number"},"scoredForAverage":{"description":"Scored For Average","type":"number"},"scoredForHomeAverage":{"description":"Scored For Average at home","type":"number"},"scoredForAwayAverage":{"description":"Scored For Average away","type":"number"},"scoredAgainst":{"description":"Scored Against","type":"number"},"scoredAgainstHome":{"description":"Scored Against at home","type":"number"},"scoredAgainstAway":{"description":"Scored Against away","type":"number"},"scoredAgainstAverage":{"description":"Scored Against Average","type":"number"},"scoredAgainstHomeAverage":{"description":"Scored Against Average at home","type":"number"},"scoredAgainstAwayAverage":{"description":"Scored Against Average away","type":"number"},"percentageDisplay":{"description":"For versus Against (Display Value)","type":"number"},"percentageHomeDisplay":{"description":"For versus Against at home (Display Value)","type":"number"},"percentageAwayDisplay":{"description":"For versus Against away (Display Value)","type":"number"},"percentage":{"description":"For versus Against","type":"number"},"percentageHome":{"description":"For versus Against at home","type":"number"},"percentageAway":{"description":"For versus Against away","type":"number"},"pointDifference":{"description":"Point Difference for competitor","type":"number"},"pointDifferenceHome":{"description":"Point Difference for competitor at Home","type":"number"},"pointDifferenceAway":{"description":"Point Difference for competitor away","type":"number"},"lowestScoreFor":{"description":"Lowest Score for competitor","type":"number","nullable":true},"lowestScoreForHome":{"description":"Lowest Score for competitor at Home","type":"number","nullable":true},"lowestScoreForAway":{"description":"Lowest Score for competitor away","type":"number","nullable":true},"highestScoreFor":{"description":"Highest Score for competitor","type":"number","nullable":true},"highestScoreForHome":{"description":"Highest Score for competitor at Home","type":"number","nullable":true},"highestScoreForAway":{"description":"Highest Score for competitor away","type":"number","nullable":true},"lowestScoreAgainst":{"description":"Lowest Score against competitor","type":"number","nullable":true},"lowestScoreAgainstHome":{"description":"Lowest Score against competitor at Home","type":"number","nullable":true},"lowestScoreAgainstAway":{"description":"Lowest Score against competitor away","type":"number","nullable":true},"highestScoreAgainst":{"description":"Highest Score against competitor","type":"number","nullable":true},"highestScoreAgainstHome":{"description":"Highest Score against competitor at Home","type":"number","nullable":true},"highestScoreAgainstAway":{"description":"Highest Score against competitor away","type":"number","nullable":true},"streak":{"description":"Winning streak for competitor","type":"number"},"streakHome":{"description":"Winning streak for competitor at Home","type":"number"},"streakAway":{"description":"Winning streak for competitor away","type":"number"},"resultString":{"description":"Result string for competitor (W,L,D per match)","type":"string"},"resultStringHome":{"description":"Result string for competitor at Home (W,L,D per match)","type":"string"},"resultStringAway":{"description":"Result string for competitor away (W,L,D per match)","type":"string"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true}},"title":"standing put body"}}}}}}}}
```

## Delete a standing

> Delete a specific standing

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Baseball","version":"v1"},"tags":[{"name":"Standings","description":"The Standing is the results position a competitor ranks versus other competitors.\n<img src = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Seasons]-<>[Standings{bg:orange}],[Standings]-2<>[Teams],[Standings]-1[Venues],[Standings]-<>[~Standingroster~],[Standings]-.->[Stages],[Standings]-.->[Pools],[Standings]-.->[Rounds],\">\n    In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used\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"}}}}}},"StandingsModel":{"type":"object","additionalProperties":false,"properties":{"standingId":{"description":"The unique identifier of the standing","type":"string","format":"uuid"},"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 standing belongs to","type":"object"},"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"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The division information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The conference information","type":"object"},"latest":{"description":"Standing is part of the latest round?","type":"boolean"},"inProgress":{"description":"Is the competitor in a current In-Progress match?","type":"boolean"},"live":{"description":"Is this including live matches?","type":"boolean"},"locked":{"description":"Has the standing been locked (to prevent editing)?","type":"boolean"},"groupingBase":{"description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","type":"string","enum":["OVERALL","ROUND"],"maxLength":50},"groupingConferenceDivision":{"description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50},"groupingStagePool":{"description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The pool that is related to this record","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true},"round":{"properties":{"resourceType":{"type":"string","enum":["seasonRounds"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~ROUND~ that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true},"standingConfiguration":{"properties":{"resourceType":{"type":"string","enum":["standingConfigurations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The ~standingConfiguration~ that this season 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},"position":{"description":"Position of the competitors standing record","type":"integer","format":"int32","nullable":true},"securedFinals":{"description":"Has competitor secured a finals position","type":"string"},"points":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"bonusStandingPoints":{"description":"Bonus Standing points","type":"number"},"penaltyStandingPoints":{"description":"Penalty Standing points","type":"number"},"byeStandingPoints":{"description":"Bye Standing points","type":"number"},"teamDifferential":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialHome":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialAway":{"description":"Differential of Won-Lost","type":"number"},"gamesBehind":{"description":"Games behind leading competitor","type":"number"},"standingPoints":{"description":"Standing Points for competitor","type":"number"},"standingPointsHome":{"description":"Standing Points for competitor at Home","type":"number"},"standingPointsAway":{"description":"Standing Points for competitor away","type":"number"},"standingPointsGiven":{"description":"Standing Points Given away for this competitor","type":"number"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"calculated":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","description":"Type of points","additionalProperties":false,"properties":{"played":{"description":"Fixtures played","type":"number"},"playedHome":{"description":"Fixtures played at home","type":"number"},"playedAway":{"description":"Fixtures played away","type":"number"},"washouts":{"description":"Number of washed out fixtures","type":"number"},"wins":{"description":"Fixtures Won","type":"number"},"winsHome":{"description":"Fixtures Won at home","type":"number"},"winsAway":{"description":"Fixtures Won away","type":"number"},"winsSecondaryScore":{"description":"Fixtures Won via Secondary Score","type":"number"},"winsSecondaryScoreHome":{"description":"Fixtures Won at home via Secondary Score","type":"number"},"winsSecondaryScoreAway":{"description":"Fixtures Won away via Secondary Score","type":"number"},"losses":{"description":"Fixtures Lost","type":"number"},"lossesHome":{"description":"Fixtures Lost at home","type":"number"},"lossesAway":{"description":"Fixtures Lost away","type":"number"},"lossesSecondaryScore":{"description":"Fixtures Lost via Secondary Score","type":"number"},"lossesSecondaryScoreHome":{"description":"Fixtures Lost at home via Secondary Score","type":"number"},"lossesSecondaryScoreAway":{"description":"Fixtures Lost away via Secondary Score","type":"number"},"draws":{"description":"Fixtures Drawn","type":"number"},"drawsHome":{"description":"Fixtures Drawn at home","type":"number"},"drawsAway":{"description":"Fixtures Drawn away","type":"number"},"byes":{"description":"Fixtures Byes","type":"number"},"forfeitsGiven":{"description":"Fixtures Forfeits Given","type":"number"},"forfeitsWonBy":{"description":"Fixtures Forfeits Won","type":"number"},"winPercentageDisplay":{"description":"Win Percentage (wins/played) (Display Value)","type":"number"},"winPercentageHomeDisplay":{"description":"Win Percentage Home (wins/played) (Display Value)","type":"number"},"winPercentageAwayDisplay":{"description":"Win Percentage Away (wins/played) (Display Value)","type":"number"},"winPercentage":{"description":"Win Percentage (wins/played)","type":"number"},"winPercentageHome":{"description":"Win Percentage Home (wins/played)","type":"number"},"winPercentageAway":{"description":"Win Percentage Away (wins/played)","type":"number"},"scoredFor":{"description":"Scored For","type":"number"},"scoredForHome":{"description":"Scored For at home","type":"number"},"scoredForAway":{"description":"Scored For away","type":"number"},"scoredForAverage":{"description":"Scored For Average","type":"number"},"scoredForHomeAverage":{"description":"Scored For Average at home","type":"number"},"scoredForAwayAverage":{"description":"Scored For Average away","type":"number"},"scoredAgainst":{"description":"Scored Against","type":"number"},"scoredAgainstHome":{"description":"Scored Against at home","type":"number"},"scoredAgainstAway":{"description":"Scored Against away","type":"number"},"scoredAgainstAverage":{"description":"Scored Against Average","type":"number"},"scoredAgainstHomeAverage":{"description":"Scored Against Average at home","type":"number"},"scoredAgainstAwayAverage":{"description":"Scored Against Average away","type":"number"},"percentageDisplay":{"description":"For versus Against (Display Value)","type":"number"},"percentageHomeDisplay":{"description":"For versus Against at home (Display Value)","type":"number"},"percentageAwayDisplay":{"description":"For versus Against away (Display Value)","type":"number"},"percentage":{"description":"For versus Against","type":"number"},"percentageHome":{"description":"For versus Against at home","type":"number"},"percentageAway":{"description":"For versus Against away","type":"number"},"pointDifference":{"description":"Point Difference for competitor","type":"number"},"pointDifferenceHome":{"description":"Point Difference for competitor at Home","type":"number"},"pointDifferenceAway":{"description":"Point Difference for competitor away","type":"number"},"lowestScoreFor":{"description":"Lowest Score for competitor","type":"number","nullable":true},"lowestScoreForHome":{"description":"Lowest Score for competitor at Home","type":"number","nullable":true},"lowestScoreForAway":{"description":"Lowest Score for competitor away","type":"number","nullable":true},"highestScoreFor":{"description":"Highest Score for competitor","type":"number","nullable":true},"highestScoreForHome":{"description":"Highest Score for competitor at Home","type":"number","nullable":true},"highestScoreForAway":{"description":"Highest Score for competitor away","type":"number","nullable":true},"lowestScoreAgainst":{"description":"Lowest Score against competitor","type":"number","nullable":true},"lowestScoreAgainstHome":{"description":"Lowest Score against competitor at Home","type":"number","nullable":true},"lowestScoreAgainstAway":{"description":"Lowest Score against competitor away","type":"number","nullable":true},"highestScoreAgainst":{"description":"Highest Score against competitor","type":"number","nullable":true},"highestScoreAgainstHome":{"description":"Highest Score against competitor at Home","type":"number","nullable":true},"highestScoreAgainstAway":{"description":"Highest Score against competitor away","type":"number","nullable":true},"streak":{"description":"Winning streak for competitor","type":"number"},"streakHome":{"description":"Winning streak for competitor at Home","type":"number"},"streakAway":{"description":"Winning streak for competitor away","type":"number"},"resultString":{"description":"Result string for competitor (W,L,D per match)","type":"string"},"resultStringHome":{"description":"Result string for competitor at Home (W,L,D per match)","type":"string"},"resultStringAway":{"description":"Result string for competitor away (W,L,D per match)","type":"string"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true},"autoGenerated":{"description":"Was this row auto generated?","type":"boolean","readOnly":true},"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":"standing 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"},"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":{"/baseball/o/{organizationId}/standings/{standingId}":{"delete":{"tags":["Standings"],"summary":"Delete a standing","description":"Delete a specific standing","operationId":"standing_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$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":"standingId","description":"The unique identifier of the standing record","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"}]}}}}
```

## Build a standing

> Build a standing

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Baseball","version":"v1"},"tags":[{"name":"Standings","description":"The Standing is the results position a competitor ranks versus other competitors.\n<img src = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Seasons]-<>[Standings{bg:orange}],[Standings]-2<>[Teams],[Standings]-1[Venues],[Standings]-<>[~Standingroster~],[Standings]-.->[Stages],[Standings]-.->[Pools],[Standings]-.->[Rounds],\">\n    In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used\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"}}}}}},"SuccessModel":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Was the call a success?","type":"boolean"}},"title":" 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":{"/baseball/o/{organizationId}/seasons/{seasonId}/standings/build":{"post":{"tags":["Standings"],"summary":"Build a standing","description":"Build a standing","operationId":"standing_build","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"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"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"}]}}}}
```

## Build a standing using live data

> Build a standing using live data.

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Baseball","version":"v1"},"tags":[{"name":"Standings","description":"The Standing is the results position a competitor ranks versus other competitors.\n<img src = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Seasons]-<>[Standings{bg:orange}],[Standings]-2<>[Teams],[Standings]-1[Venues],[Standings]-<>[~Standingroster~],[Standings]-.->[Stages],[Standings]-.->[Pools],[Standings]-.->[Rounds],\">\n    In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used\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"}}}}}},"SuccessModel":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Was the call a success?","type":"boolean"}},"title":" 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":{"/baseball/o/{organizationId}/seasons/{seasonId}/standings/build/live":{"post":{"tags":["Standings"],"summary":"Build a standing using live data","description":"Build a standing using live data.","operationId":"standing_build_live","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"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"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"}]}}}}
```

## Historical all-time standings per team in a competition

> Return pre-aggregated all-time standings per team and competition, grouped by scope (groupingBase, groupingConferenceDivision, groupingStagePool, fixtureType, seasonType).

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Baseball","version":"v1"},"tags":[{"name":"Standings","description":"The Standing is the results position a competitor ranks versus other competitors.\n<img src = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Seasons]-<>[Standings{bg:orange}],[Standings]-2<>[Teams],[Standings]-1[Venues],[Standings]-<>[~Standingroster~],[Standings]-.->[Stages],[Standings]-.->[Pools],[Standings]-.->[Rounds],\">\n    In order to utilise the 'latest' boolean for ROUND standings, the Rounds data must be used\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"}}}}}},"Standings_All_TimeModel":{"type":"object","additionalProperties":false,"properties":{"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 standing all-time history belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","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"},"groupingBase":{"description":"Base grouping of standings row (e.g. OVERALL, ROUND)","type":"string","maxLength":50},"groupingConferenceDivision":{"description":"Conference/Division grouping (e.g. OVERALL, CONFERENCE, DIVISION)","type":"string","maxLength":50},"groupingStagePool":{"description":"Stage/Pool grouping (e.g. OVERALL, STAGE, STAGEPOOL)","type":"string","maxLength":50},"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},"seasonType":{"description":"The type of matches added to this season\n>- `MULTI_YEAR_HISTORICAL` Mulit-Year Historical\n>- `ONE_OFF` One off\n>- `PRESEASON` Pre Season\n>- `SEASON` Season\n>- `TOURNAMENT` Tournament\n","type":"string","enum":["SEASON","TOURNAMENT","ONE_OFF","PRESEASON","MULTI_YEAR_HISTORICAL"],"maxLength":30},"seasonsParticipatedIn":{"description":"Number of seasons where the team appears in standings for this scope","type":"integer","format":"int32"},"played":{"description":"Total games played across all included seasons","type":"number","format":"float"},"wins":{"description":"Total wins across all included seasons","type":"number","format":"float"},"draws":{"description":"Total draws across all included seasons","type":"number","format":"float"},"losses":{"description":"Total losses across all included seasons","type":"number","format":"float"},"scoredFor":{"description":"Total goals/points scored across all included seasons","type":"number","format":"float"},"scoredAgainst":{"description":"Total goals/points conceded across all included seasons","type":"number","format":"float"},"scoreDifference":{"description":"Net goal/score difference (scoredFor - scoredAgainst)","type":"number","format":"float"},"standingPoints":{"description":"Total standing points earned across all included seasons","type":"number","format":"float"},"standingPointsGiven":{"description":"Total standing points given up across all included seasons","type":"number","format":"float"},"winPercentage":{"description":"Win percentage across all included seasons (wins / played)","type":"number","format":"float"},"standingPointsPerGame":{"description":"Average standing points earned per game across all included seasons","type":"number","format":"float"}},"title":"standing all-time history 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":{"entityId":{"name":"entityId","description":"The unique identifier of the team","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 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","schema":{"type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50},"required":false,"in":"query"},"groupingBase":{"name":"groupingBase","description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","schema":{"type":"string","enum":["OVERALL","ROUND"],"maxLength":50},"required":false,"in":"query"},"groupingConferenceDivision":{"name":"groupingConferenceDivision","description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","schema":{"type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50},"required":false,"in":"query"},"groupingStagePool":{"name":"groupingStagePool","description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","schema":{"type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"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"},"seasonType":{"name":"seasonType","description":"The type of matches added to this season\n>- `MULTI_YEAR_HISTORICAL` Mulit-Year Historical\n>- `ONE_OFF` One off match\n>- `PRESEASON` Pre Season\n>- `SEASON` Season\n>- `TOURNAMENT` Tournament\n","schema":{"type":"string","enum":["SEASON","TOURNAMENT","ONE_OFF","PRESEASON","MULTI_YEAR_HISTORICAL"]},"required":false,"in":"query"}}},"paths":{"/baseball/o/{organizationId}/competitions/{competitionId}/standings/history":{"get":{"tags":["Standings"],"summary":"Historical all-time standings per team in a competition","description":"Return pre-aggregated all-time standings per team and competition, grouped by scope (groupingBase, groupingConferenceDivision, groupingStagePool, fixtureType, seasonType).","operationId":"standings_history_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings_All_Time 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/Standings_All_TimeModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/groupingBase"},{"$ref":"#/components/parameters/groupingConferenceDivision"},{"$ref":"#/components/parameters/groupingStagePool"},{"$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/seasonType"},{"name":"sortBy","description":"Comma-delimited list of one or more fields to sort by. Each field can have '-' as prefix to sort in descending order and no prefix to sort in ascending order.","schema":{"type":"string","pattern":"^(\\-?(organizationId|competitionId|entityId|groupingBase|groupingConferenceDivision|groupingStagePool|fixtureType|seasonType|seasonsParticipatedIn|played|wins|draws|losses|scoredFor|scoredAgainst|scoreDifference|standingPoints|standingPointsGiven|winPercentage|standingPointsPerGame)|,)*$"},"required":false,"in":"query"}]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sportradar.com/datacore/sports-apis/baseball/datacore-api-v1/standings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
