Site
Home / Forum / Developers / Match postponed

Match postponed


Posted: 26 Aug 2020 12:19
MaximeGo31
Posts: 64
Joined: 2020-08-13

Hello,
I would have liked to know how it goes when a match is postponed. What information allows us to find out?
Thank you,
Maxime

Posted: 26 Aug 2020 18:51

zag
Posts: 3,331
Joined: 2020-03-23

Hello,
I would have liked to know how it goes when a match is postponed. What information allows us to find out?
Thank you,
Maxime


strPostponed field in the event data.

Yes/No

Posted: 30 Sep 2020 10:27
LaryCxb
Posts: 5
Joined: 2020-07-02

Hey zag,
when the match is postponed and then after a while new date is stated, there gonna be new event created in API or old one edited with new date?
Thanks

Posted: 30 Sep 2020 20:38

zag
Posts: 3,331
Joined: 2020-03-23

Hey zag,
when the match is postponed and then after a while new date is stated, there gonna be new event created in API or old one edited with new date?
Thanks


Personally I would edit the original event as soon as the new date is known, then the strPostponed can be set back to no.

Posted: 02 Oct 2020 15:43
LaryCxb
Posts: 5
Joined: 2020-07-02

Thanks for suggestion
In my question I asked about thesportdb Api side. How does it look there? New event is created and old one stays as postponed, or the old one is edited? (on the api side)

Posted: 02 Oct 2020 18:50

zag
Posts: 3,331
Joined: 2020-03-23

Thanks for suggestion
In my question I asked about thesportdb Api side. How does it look there? New event is created and old one stays as postponed, or the old one is edited? (on the api side)


API is identical to the frontend, so basically whatever the frontend says is the same.

Old one is edited.


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 6 (Total: 6)