Regatta URL generieren - für die Vereins-Webseite

Gesperrt
Benutzeravatar
Jobst-Richter.de
Administrator
Beiträge: 244
Registriert: Di 13. Okt 2015, 15:31

Regatta URL generieren - für die Vereins-Webseite

Beitrag von Jobst-Richter.de »

Hier eine kurze Beschreibung wie sich die URL einer m2s-Regatta zusammen setzt.
Diese kann übernommen werden um sie in die Vereins Webseite einzubauen. Damit der Segeler gleich auf die Regatta geleitet wird.


Here is the URL: http://manage2sail.com/de-DE/Home/Entri ... 3fe2233ee7

There is no function that will give you the link on demand, but the URL has some sort of "template":

http://manage2sail.com/[language]/Home/ ... d=[classId]

As you can see, there are [classId] and [eventId] placeholders.
For this request the values of the placeholders are:

[language] = de-DE
[classId] = e5843b8f-b729-4229-a73c-a93fe2233ee7
[eventId] = ef8e556e-8b47-4c2e-803b-b9dd45a7dab2

Now of course the question is: Where to get those values?
The answer is: Portal (for example).
Let me show you for example URL of class detail (in Portal). If you open "J/80" competition from the competition (class) list on club module of M2S Portal, you will get this URL:
https://portal.manage2sail.com/Club/eve ... 33ee7/edit

Here you can see both IDs and language you can choose (de-DE, en-US, ...).
Jobst Richter
DSV - manage2sail-Usergroup
Gesperrt