About "Cancel Goal"

(1) In the "score" field of the real-time interface, for example, a goal is scored. We push the score of 1:0. But after checking, the referee determines that the goal is invalid, so we will push 0:0 again. You can prompt the "Cancel Goal" information based on whether the score values ​​pushed twice before and after are rolled back.

 

ps: We recommend that you prompt the user to "Cancel Goal" on the front end based on the "score" field.

 

(2) In the "Incidents" field of the real-time interface. There is no direct "Cancel Goal" Incident.

 

Only when a "type:28"(var)Incident is generated, "var_reason" and "var_result" will also return related data.

 

For example, if a goal is generated, we will first push a "goal" Incident. Then var intervenes. We will return another "var" Incident. If the original penalty is a goal, and the result of var is canceled, then "var_reason": 1, and "var_result": 2 will be returned, and the previously pushed "goal" Incident will not be returned in the next acquisition

 

ps: We recommend that "Incidents" be used only for display, and not as a criterion for score rollback. If you want to determine whether the score should be rolled back and make a notification, please use the "score" field

@2022 TheSports All Rights Reserved