unitedworldwrestling / arena-public

14 stars 5 forks source link

[ASK] Get Final Ranking docs #140

Open aw09 opened 10 months ago

aw09 commented 10 months ago

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 commented 9 months ago

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.