Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ASK] Get Final Ranking docs #140

Open
aw09 opened this issue Aug 26, 2023 · 1 comment
Open

[ASK] Get Final Ranking docs #140

aw09 opened this issue Aug 26, 2023 · 1 comment
Labels
Arena Arena related question/issue

Comments

@aw09
Copy link

aw09 commented Aug 26, 2023

Dear UWW IT Team.

I check the postman documentation and try Get Final Ranking.
{{baseUrl}}/api/{{_format}}/sport-event/get/:id/final-rankings

I think this endpoint is used to get ranking for every weight category.
But when i try it, I always get empty result like this

{
    "teams": []
}

Is this endpoint works? And am i correct this is the endpoint to get ranking for each weight category?

Thank you

@csabavirag
Copy link
Contributor

Hello @aw09,

This endpoint is only for an event with Team competition type. You will get empty array if you call the endpoint against an Individual competition.
Also, in team competition you must complete the final matches (Final1-2, Final3-4, Final5-6) in order to get the final ranking of that event.

@ybouaziz ybouaziz added the Arena Arena related question/issue label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arena Arena related question/issue
Projects
None yet
Development

No branches or pull requests

3 participants