r2wMobile
The following operations are supported. For a formal definition, please review the Service Description.
-
ACCEPT_DECLINE_InvitationToJoinTeam
Method to allow a member to Accept or decline an invitation to join a team -
ACCEPT_DECLINE_RequestToJoinTeam
Method to handle the Accept or Deny of a request to join a team -
ACCEPT_DENY_MobileFriend
Method used to Accept or Deny a friend request. - ADD_EDIT_MobileActivity
- ADD_EDIT_UserShoe
- ADD_MobileWorkoutComment
- ADD_TeamNote
- About
- COPY_UserWorkout
-
CreateAccount
This method should only be called when a new account is being created. Invalid message will be set to DisplayMessage if the account is not created and the property Success will be set to false. A sucessful account creation will yield a True value for Success and populate the display message with text developer can show user. Developer is not required to display the ResponseMessage.DisplayMessage but is encouraged to. -
DELETE_MobileForumTOPIC
Method used to DELETE forum TOPIC -
DELETE_MobileForumTopicPOST
Method used to DELETE forum topic POST -
DELETE_MobileFriend
Method used to DELETE a friend from a user's friend list - DELETE_MobileTeam
-
DELETE_MobileTeamMember
Method to delete a team member from a team by the user's AccountGUID - DELETE_MobileWorkoutComment
- DELETE_Route
- DELETE_UserShoe
- DELETE_UserWorkout
- DELETE_rMailFolder
- DELETE_rMailMessage
- DELETE_rMailMessageForever
-
ForgotPassword
ForgotPassword() used to retrieve a user passoword. Both UserName and Passowrd should be sent but only one will be used. Default unknown values to blank (''). - GET_2DRoutePoints
-
GET_ActivityColorsAndPatterList
Developer can use this method to get a list of colors and patterns that can be applied to new or existing Activities.
Note the return object contains a RunTypePatternList object wich can also be retrieved from the GET_RunTypePatternList method call. -
GET_AnyMembereFriendList
AccountGUID of user you want to view the friend list for. Property isRequestingToBeFriends shows true when user is viewing their own friend list and they have requests.
PageNumber, RecordsPerPage ARE NOT IMPLEMENTED. At this point all friends will be returned. - GET_GPSIntervalTypeList
- GET_IntervalDistanceTypes
- GET_MobileActivityList
- GET_MobileBillboard
-
GET_MobileForumListByUser
Method used to list all Forums - both general and any Forum belonging to a team this user is on. -
GET_MobileForumTopicList
Method to get a list of topics within a forum. Max 50 topics per page. Send 0 as Forum Key for latest posts -
GET_MobileForumTopicPosts
Return a HTML string that represents the list of posts. Developer should Hyjax the clicks of links. A list of possible location links will be added to this description. -
GET_MobileGPSWorkout
Method to get all details of a GPS Workout - GET_MobileGPSWorkoutRouteMap
-
GET_MobileInvitationsToJoinTeams
Method that returns a list of invitations by team owners to join a team (used by all members) - GET_MobileMailFolders
- GET_MobileTeamsAndAllByUser
-
GET_MobileUserData
Return the full data of this user. This can be called anytime but needs to be called each time user starts app so that any new data from r2w downloads to the app. Remember the TokenID will change each time this method is called so developer must save the new value for all future calls. - GET_MobileUserProfile
- GET_MobileWorkoutYearsAndTotals
- GET_NormalRunDistanceTypes
- GET_RaceRunDistanceTypes
-
GET_RequestsToJoinMyTeams
Method that returns a list of requests to join a team or teams (used only by team owners) - GET_RouteDistanceTypes
- GET_RunTypePatternList
- GET_RunnerCategoryList
-
GET_SAVED_MobileGPSWorkoutList
Method used as a 'Lazy Load' list of saved GPS workouts - GET_ShoeBrandList
- GET_ShoeTypeList
-
GET_Stats
Simple general call that returns a Stats object. Total Workout Count and Total Miles / Km is returned. Developer can but does not need to show these figures. -
GET_TeamCategories
Teams are described by a selected cagetory from a drop-drop down list - GET_TeamNoteFlags
- GET_TeamNotes
-
GET_TeamOverviewHTML
Send AccountGUID of user to view profile -
GET_UnreadRMails
A method that returns the number of unread rMails by viewing user. -
GET_UserProfileHTML
Send AccountGUID of user to view profile -
GET_UserRacesHTML
Send AccountGUID of user to view races by user. args returned in URL links indicate the workout key - GET_UserShoeList
- GET_UserWorkout
- GET_WeeklyOverview
- GET_WorkoutDropDownList
- GET_WorkoutDropDownListObjModel
- GET_WorkoutDropDownListObjModelv2
- GET_WorkoutList
-
GET_WorkoutListHTML
Send AccountGUID of user to view and [ (StartDate and EndDate) or (WorkoutKey) ] - GET_rMailGroupList
- GET_rMailList
- GET_rMailMessage
-
INVITE_MobileUsersToJoinTeam
Method to allow a team owner to invite members. TO DO: Change it from a single AccountGUID to a list. - LOCK_rMailFolders
- MOVE_rMail_To_New_Folder
- MobileBillboard_Response
-
REPORT_MobileBug
Method to handle the Accept or Deny of a request to join a team -
REQUEST_ToJoinTeam
Method to allow a user to request to join a team -
Request_MobileFriend
Method used to Accept or Deny a friend request. -
SAVE_MobileCrossTraining
This method will Add or Update a user's Cross Training entry. -
SAVE_MobileGPSWorkout
Method to Save a GPS Workout -
SAVE_MobileNewTopicPost
Method used to create a new forum topic -
SAVE_MobileReplyToPost
Method used to reply to a forum post -
SAVE_MobileTeam
This method will allow a user to create or update a team. If TeamKey = 0 a new team will be created. - SAVE_MobileUserProfile
- SAVE_Route
-
SAVE_TerrainType
Save a Terrain Type - SAVE_UserWorkout
-
SAVE_rMailFolder
Method to Add or Edit a mail folder. If MailFolderKey = 0 then add a new folder otherwise try and edit the description. Note: folder description can only be 15 characters at max. -
SEARCH_ForTeam
Method for searching for a team by team-ID or team creator User Name -
SEARCH_MobileUser
Search the r2w Database for a user by user name or last name - Send_eMail
- Send_rMail
- Set_rMailRead
-
Top20
Top20 returns a list of the runners with the highest mileage over the past 7 days. Depending on the current user's settings developer can display the data in Miles or Kilometers. -
Top20New
returns Top 20 as XML or JSON - UNLOCK_rMailFolders
-
UserLogin
This method handles a person at the sign-in screen. The account on r2w must have been created first. The return from this method will be a 'r2wUser' object. Developer should always save their internal user data with the return data from this method. The VendorID, MobileAppID, TokenID, UserID, and PhoneID will be used on most every other method call.
Note: The TokenID will change each time this method or Get_MobileUserData() is called. Developer must always update their TokenID on the phone.