Round: Started / Finished / Official

Round Started

Indicates a team has started to play a the particular round.

Round Started Object

Field Name

Type

Description

matchType

string

The type of match in which the event is being played; Strokeplay is the standard response currently

eventElementType

string

The type of event

state

object

The type of status update, in this case always Round Started.

seqNum

int

The sequence number of the packet. Always starts at 1, increments in 1

groupId

int

[optional] The group ID of the player who did the event

teamId

int

The team ID of the player who did the event

playerId

int

The player ID of the player who did the event

hole

int

The hole in which the event took place

holeOrder

int

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

int

The ID of the course where the event took place

timestamp

date

The timestamp of the event, in UTC

Players Object

Field Name

Type

Description

displayName

string

The display name of the player

country

string

3-character ICO country code of the player*

isAmateur

boolean

true if the player is an amateur

lastName

string

the last name of the player

firstName

string

the first name of the player

entryType

string

How the player gained entry to the tournament; e.g. Invited, Alternate, Withdrawn, e.t.c.. **

playerId

int

The unique player ID of that player

Sample Event Packet:

{
	"groupId": 1,
	"teamId": 489,
	"hole": 1,
	"playerId": 313,
	"holeOrder": 1,
	"courseId": 123,
	"timestamp": "2018-07-31T07:51:44.642Z",
	"eventElementType": "RoundStatusUpdate",
	"seqNum": 1,
	"matchType": "Strokeplay",
	"state": "RoundStarted",
	"players": [{
		"displayName": "Henrik STENSON",
		"country": "SE ",
		"isAmateur": false,
		"lastName": "STENSON",
		"firstName": "Henrik",
		"entryType": "InGame",
		"playerId": 398
	}]
}

Round Finished

Indicates a team has finished playing that particular round. NOT the last packet in the Round Details feed, see RoundOfficial below.

Round Finished Object

Field Name

Type

Description

seqNum

int

The sequence number of the packet. Always starts at 1, increments in 1

groupId

int

[Optional] The group ID of the player who did the event

teamId

int

The team ID of the player who did the event

playerId

int

The player ID of the player who did the event

hole

int

The hole in which the event took place

holeOrder

int

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

int

The ID of the course where the event took place

matchType

string

The type of match in which the event is being played; Strokeplay is the standard response currently

timestamp

date

The timestamp of the event, in UTC

eventElementType

string

The type of event

state

object

The type of status update, in this case always Round Finished.

Sample Event Packet:

{
	"groupId": 1,
	"teamId": 489,
	"hole": 1,
	"playerId": 313,
	"holeOrder": 1,
	"courseId": 123,
	"timestamp": "2018-07-31T07:51:44.642Z",
	"eventElementType": "RoundStatusUpdate",
	"seqNum": 567,
	"matchType": "Strokeplay",
	"state": "RoundFinished"
}

Round Official

Indicates a team has finished playing that particular round and that the score for that round is now official and will not change – Upon receiving this packet you should disconnect from the web socket for this team’s round – no more data will be sent through after this packet.

Round Finished Object

Field Name

Type

Description

seqNum

int

The sequence number of the packet. Always starts at 1, increments in 1

groupId

int

The group ID of the player who did the event

teamId

int

The team ID of the player who did the event

playerId

int

The player ID of the player who did the event

hole

int

The hole in which the event took place

holeOrder

int

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

int

The ID of the course where the event took place

matchType

string

The type of match in which the event is being played; Strokeplay is the standard response currently

timestamp

date

The timestamp of the event, in UTC

eventElementType

string

The type of event

state

object

The type of status update, in this case always Round Official.

Sample Event Packet:

{
	"groupId": 1,
	"teamId": 489,
	"hole": 1,
	"playerId": 313,
	"holeOrder": 1,
	"courseId": 123,
	"timestamp": "2018-07-31T07:51:44.642Z",
	"eventElementType": "RoundStatusUpdate",
	"seqNum": 567,
	"matchType": "Strokeplay",
	"state": "RoundOfficial"
}

Last updated