Contains functionality to get and updates standings.
Standings
Retrieves a grouped list of standings determined by the display value.
Endpoint
GET https://baseball.exposureevents.com/api/v1/standings
Parameters
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| eventid | integer | The event id. | ||
| divisionid | integer | The division id to filter by. | ||
| display | enumeration | Pool | The type of display filter for standings. |
{
"Groups": [
{
"Name": "2026",
"List": [
{
"Name": "A",
"Participants": [
{
"Name": "Indiana Elite",
"Id": 545466,
"ParticipantId": 568788,
"Columns": [
"3",
"0",
"55"
],
"Place": "1st",
"Number": "1",
"ExternalId": "GG4566"
},
{
"Name": "Elite",
"Id": 545464,
"ParticipantId": 568781,
"Columns": [
"2",
"1",
"33"
],
"Place": "2nd",
"Number": "3",
"ExternalId": "GG4566"
},
{
"Name": "Exposure Elite",
"Id": 545465,
"ParticipantId": 568787,
"Columns": [
"1",
"2",
"22"
],
"Place": "3rd",
"Number": "2",
"ExternalId": "GG4516"
}
],
"Id": 5661
}
],
"Id": 55666
}
],
"Columns": [
{
"Name": "Wins",
"Abbr": "W"
},
{
"Name": "Losses",
"Abbr": "L"
},
{
"Name": "Points Differential",
"Abbr": "PD"
}
]
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Columns>
<Column>
<Abbr>W</Abbr>
<Name>Wins</Name>
</Column>
<Column>
<Abbr>L</Abbr>
<Name>Losses</Name>
</Column>
<Column>
<Abbr>PD</Abbr>
<Name>Points Differential</Name>
</Column>
</Columns>
<Groups>
<Group>
<Id>55666</Id>
<List>
<Standings>
<Id>5661</Id>
<Name>A</Name>
<Participants>
<Participant>
<Columns>
<Value>3</Value>
<Value>0</Value>
<Value>55</Value>
</Columns>
<ExternalId>GG4566</ExternalId>
<Id>545466</Id>
<Name>Indiana Elite</Name>
<Number>1</Number>
<ParticipantId>568788</ParticipantId>
<Place>1st</Place>
</Participant>
<Participant>
<Columns>
<Value>2</Value>
<Value>1</Value>
<Value>33</Value>
</Columns>
<ExternalId>GG4566</ExternalId>
<Id>545464</Id>
<Name>Elite</Name>
<Number>3</Number>
<ParticipantId>568781</ParticipantId>
<Place>2nd</Place>
</Participant>
<Participant>
<Columns>
<Value>1</Value>
<Value>2</Value>
<Value>22</Value>
</Columns>
<ExternalId>GG4516</ExternalId>
<Id>545465</Id>
<Name>Exposure Elite</Name>
<Number>2</Number>
<ParticipantId>568787</ParticipantId>
<Place>3rd</Place>
</Participant>
</Participants>
</Standings>
</List>
<Name>2026</Name>
</Group>
</Groups>
</Response>
Update Standings
Updates an existing standings position.
Endpoint
PUT https://baseball.exposureevents.com/api/v1/standings
Parameters
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| eventid | integer | The event id. | ||
| teampoolid | integer | The team pool id within a pool, required to update with team id | ||
| teamid | integer | Updates the team pool id position with this team. |
Updates will only occur on parameters provided in the request and will ignore updating the other parameters.
{
"EventId": 245,
"TeamPoolId": 3435,
"TeamId": 3345645
}
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<EventId>245</EventId>
<TeamId>3345645</TeamId>
<TeamPoolId>3435</TeamPoolId>
</Request>
{}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" />