/club/generateregistrationlink
We will provide the ability for a vendor to “subscribe” to certain events that happen in SWIMS.
{
"eventSequence": 1234,
"eventType": "Member Registration Complete",
"clubId": "EFD6F74613444017B0DB1884AADBC117",
"modifiedDatetime: "2022-09-13T22:52:28.882Z",
"eventData": {
"vendorId": "DB1884AADBC117",
"memberId": "string"
}
}
After receiving the above event.GET: /swims/getMemberDetails/{clubId}/?memberId={memberId}&lastModified={lastModfied}
{
"eventSequence": 1234,
"eventType": "Member Updated",
"clubId": "EFD6F74613444017B0DB1884AADBC117",
"modifiedDatetime: "2022-09-13T22:52:28.882Z",
"eventData": {
"memberId": "string"
}
}
After receiving the above event.GET: /swims/getMemberDetails/{clubId}/?memberId={memberId}
{
"eventSequence": 1234,
"eventType": "Member Merge",
"clubId": "1500B689DCAA42BD9484618C634DDEF0",
"modifiedDatetime: "2022-09-13T22:52:28.882Z",
"eventData": {
"oldClubId":"1500B689DCAA42BD9484618C634DDEF0",
"oldMemberId":"B71E543DBAB6BE",
"newClubId":"6C5D210FBE0549C3A9F269E07A411E95",
"newMemberId":"7F5564C5585A97"
}
}
After receiving the above event.GET: /swims/getMemberDetails/{clubId}/?memberId={memberId}
A special set of events happens when a member transfers clubs.
GET: /swims/getMemberDetails/{clubId}/?memberId={memberId}
The Member Cancels Events will inform the vendor that the member cancelled from the club associated with the vendor.
{
"eventSequence": "002",
"eventType": "Member Updated",
"clubId": "EFD6F74613444017B0DB1884AADBC117",
"modifiedDatetime: "2022-09-13T22:52:28.882Z",
"eventData": {
"clubId": "string"
}
}
After receiving the above event.GET: /swims/getVendorClubs/vendor
GET: /swims/getMemberDetails/club/{clubId}