Match Events
new_event
POST
https://api.bws.ninja/v1/call
Request Body
Name
Type
Description
solution*
string
BWS.NFT.GameCube
operation*
string
new_event
parameters*
JSON
check method parameters
new_event Method Parameters
Parameter
Type
Desciption
matchId
string
The Match Id for which you want to register the event.
fieldId
string
The Field Id the match is linked to.
calendarId
string
The calendar Id the match is linked to.
event
JSON
check event parameter
new_event Event Parameter
Parameter
Type
Desciption
coordinates
JSON
check coordinates parameter
eventTypeId
string
The Event Type Id of the event you want to register.
new_event Coordinates Parameter
Parameter
Type
Desciption
x
string
The 2D x coordinate of the event.
y
string
The 2D y coordinate of the event.
new_event API Call Example
new_event Call Response
When the API call is executed without errors, it returns a successful status code.
Last updated