Provision Ball Selected
This event will be sent following when a player hits a provisional ball – it will indicate which of the provisional balls was chosen and how the player will continue their round.
Will be the event that follows any stroke events that have the provisionalIndex NOT set to 0.
ProvisionalBallSelected Object
Field Name
Type
Description
seqNum
integer
The sequence number of the packet.
groupNo
integer
[Optional] The group number of the player who did the event
groupId
integer
The group ID of the player who did the event
teamNo
integer
The team ID of the player who did the event
player
array
See object below
holeNo
integer
The hole in which the event took place
holeOrder
integer
The hole order of the hole in which the event took place (e.g. if a player starts a round on hole 10, this will be 1) – always starts at 1 and ends on 18
courseId
integer
The ID of the course where the event took place
strokeNo
integer
The stroke associated with the event
timestamp
date
The timestamp of the event, in UTC
eventElementType
string
The type of event, in this case ProvisionalBallSelected
provisionalIndex
integer
indicates if the event is part of a provisional ball. 0 if not, 1 if first provisional ball, 2 if second provisional ball for that stroke, e.t.c…
penaltyStrokes
integer
The number of penalty strokes attributed to that particular provisional ball that was selected
ballLie
array
See object below
provisionalResult
int
the number of strokes assigned to that provisional ball selected
Ball Lie Object
Field Name
Type
Description
coordinates
object
See object below
shotDistance
integer
How far the shot went for that stroke. Data returned in meters.
distanceToPin
decimal
How far the ball is from the pin. Data returned in meters
surfaceType
string
Text string which describes the lie of the ball, can be inconsistent across different data collection systems / Tours. We recommend using the 3 letter codes.
See Surface Types table below.
surfaceTypeCode
string
3 letter enum code which describes the lie of the ball.
See Surface Types table below.
obstructions
boolean
true if the team has an obstruction next to the ball that makes the ball hard to hit
blindshot
boolean
true if the team cannot see the pin from where they are taking the shot
coordinates object:
Field
Type
Description
x
decimal
X co-ordinate of the ball
y
decimal
Y co-ordinate of the ball
z
decimal
Z co-ordinate of the ball
Player Object
displayName
string
The full name or display name of that player
country
string
The affiliated country (typically birthplace)
gender
string
The gender of player
isAmateur
string
Is that player an amateur or not (true/false)
lastName
string
The surname of the player
firstName
string
The forename of that player
id
Integer
The Player unique Id
Sample Event Packet
Doc navigation
← SuspensionsCorrections →
Last updated