Service
The following operations are supported. For a formal definition, please review the Service Description.
-
AddGamePiece
Adds a game piece for the user. -
ContentAdd
Adds a new content for moderation. -
CountContentType
Get Content Count. pending, approved, rejected, processed -
GetContentById
View content by ID. (Good for Sign and Race) -
GetContentSearch
Search the content bank for keywords. -
GetContentViewNewestPage
View first page of the newest contents, paginated. -
GetContentViewTopPage
View first page of the top rated contents, paginated. -
GetContentViewTopRatedPage
View first page of the top rated contents, paginated. -
GetDownload
Returns the file the user requests, only if the file has been unlocked for the particular user and if the user is logged in. -
GetDownloadImage
Adds the image byte array to the response stream for download -
GetDownloads
Returns all of the user's downloads and let us know if any of the downloads are unlocked grouped by download type. -
GetDownloadsZip
Returns a zip file with all the downloads for that level (if the user is allowed). -
GetGameBoardPieces
Returns the gameboard pieces grouped by game Piece types section (1,2,3,4,5,6). -
GetHasUserFacebookProfileBeenAnalyzed
Checks to see if the user has analyzed their facebook profile. -
GetSignAndDriveNull
Get Content with no subscriber associated. -
GetSignContentSearch
Search the content bank for keywords. -
GetSignContentViewNewestPage
View first page of the newest contents, paginated. -
GetSignContentViewTopPage
View first page of the top rated contents for Sign and Race, paginated. -
GetUnusedCouponCount
Checks if the coupon limit has been reached -
GetUserInfo
Returns the users first/last name, email, team, score total, user image location, share total, and game piece total -
GetUserTotalScore
Returns a user's total score. Note: a user score can never go beyond 100. The user can still do things to increase their score in the database but regardless if their score is larger than 100, we always return 100. -
GetUsersOptout
DEPRECATED : Opts out a user for content status updates and/or other e-mail/mobile communcations. -
GetUsersOptoutByCampaign
Opts out a user for content status updates and/or other e-mail/mobile communcations. -
GetUsersPhoto
Gets all users that have uploaded a picture and have a score of 100. amount (determines how many will be returned, default to 20 if 0 is specified). -
GetUsersSubscribe
Adds a new content for moderation and opts in a user for update and/or e-mails. -
ScoreTypeCount
Returns a user's count on score type (game piece or shares). It counts how many occurrences of 'score type - Game Piece' exists in the score table and returns it. -
SetContentAdd
DEPRECATED : Adds a new content for moderation. supports file uploads as byte (data type). (Good for Sign and Race) -
SetContentAddByCampaign
Adds a new content for moderation. supports file uploads as byte (data type). (Good for Sign and Race) -
SetContentPlay
Play a particular video. Playing increments by 1 viewsCount. -
SetContentRate
Rate a particular content. Rating increments by rate amount (within a range) votesValue. -
SetContentStatus
Set Status of a particular video. Pending, Approved, Rejected -
SetContentVote
Vote for a particular content. Voting is considered a subset of rating where the score is always 1. -
SetForgotPassword
Updates user's password if there was any and sends to user email with new random password created. -
SetNullContentById
Get Content with no subscriber associated. -
SetPostFaceBookData
Checks if the user's email is already added, if it's already there, we don't update anything or add any points. If it's not, we'll add a subscriber to the DB and insert their email address and their team name. We'll also add a record to the facebook database with user's score from facebook. -
SetUserPhoto
Uploads user Photo. -
UpdateUserScore
Updates the user's score. We submit the subscriber's id and the score type to the score table, and then recalculate the user's total and send it back. -
UserLogin
DEPRECATED : Validates User/Admin based on email/password. -
UserLoginByCampaign
Validates User/Admin based on email/password. -
UserSignUp
Adds new user. -
ValidateUserPhoto
Checks if user has uploaded a photo. -
prSetForgotPassword
Updates user's password if there was any and sends to user email with new random password created. (Press Room) -
prUserLogin
Validates User/Admin based on email/password. (Press Room) -
prUserSignUp
Adds new user. (Press Room)