Service
The following operations are supported. For a formal definition, please review the Service Description.
-
AdCategories_Create
Creates an Ad Category.Get: Ad Category (String)Return: "OK" for success, Exception Message for failoure. -
AdCategories_GetAll
Gets a full list of Ad Categories.Get: Nothing.Return: Ad Categories DataTable -
AdCategories_Update
Updates an Ad Category.Get: Ad Category ID (Integer), Ad Category (String)Return: "OK" for success, Exception Message for failoure. - Ad_AssignToMovieSource
-
Ad_BuildFromAmazon
Gets ads from Amazon based on keywords exists inside a given URL, and Creates a new OnScreenAd DataTable with ad details.Get: URL (String)Return: ONScreenAd DataTableComments: Calls Movie_GetKeywordsAndTimecodes to get the needed keywords out of the given URL -
Ad_Create
Creates an Ad.Get: Advertiser (String), Ad Category ID (Integer), Ad Url (String), Ad Link (String), Ad Enabled? (Boolean), Start Date (DateTime), End Date (DateTime), Max Appearance (Int32), Max Clicks (Int32)Return: "OK" for success, Exception Message for failoure. - Ad_GetFromAmazon
- Ad_GetOnScreenAd
- Ad_GetOnScreenAd_Fast
- Ad_GetRandomByMovieSource
- Ad_OnScreenAd_ReportView
-
Ad_Update
Updates an Ad.Get: Ad ID (Integer), Advertiser (String), Ad Category ID (Integer), Ad Url (String), Ad Link (String), Ad Enabled? (Boolean), Start Date (DateTime), End Date (DateTime), Max Appearance (Int32), Max Clicks (Int32)Return: "OK" for success, Exception Message for failoure. - Ad_UpdateClick
- Ad_UpdateView
-
Ads_GetAll
Gets a full list of Ads.Get: Nothing.Return: Ads DataTable - Ads_GetByMovieSource
-
Advertiser_Create
Creates an advertiser.Get: Advertiser short name (String), Advertiser full name (String), Contact Information (String), Advertiser Country ID (Integer)Return: "OK" for success, Exception Message for failoure. -
Advertiser_Update
Updates an advertiser.Get: Advertiser short name (String), Advertiser full name (String), Contact Information (String), Advertiser Country ID (Integer)Return: "OK" for success, Exception Message for failoure. -
Advertisers_GetAll
Gets a full list of Advertisers.Get: Nothing.Return: Advertisers DataTable -
BubbleFormat_GetFullList
Gets a list of bubble formats.Get: Nothing.Return: Bubble format DataTable -
Bubble_DeleteBlankByPLY
Deletes a blank bubble according to a given Ply ID.Get: Ply ID (As String) -
Bubble_DeleteByID
Deletes a bubble according to a given Bubble ID.Get: Bubble ID (As String) -
Bubble_GetByID
Returns a Bubble DataTable accroding to a given Bubble ID.Get: Bubble ID (As String)Return: Bubble Data Table -
Bubble_GetByPly
Returns a Bubble DataTable according to a given Ply ID.Get: Ply ID (As String)Return: Bubble Data Table -
Clipart_GetPersonalByUser
Gets a ClipArt for a user by User ID.Get: User ID (String)Return: Name of the XML File containing the Clipart files. -
Country_GetFullList
Gets a full list of countries.Get: Nothing.Return: Country DataTable -
ExecureReport
Generates a plys report based on a given report name and parameters.Get: Report Name (String), Report Code - see comments (String), Date - From (DateTime), Date - To (DateTime), Ply (Integer)Return: Dataset with requested dataComments: In case Report Code is "WeSync", function returns an empty DataSet - Extractor_ExportCustomers
- GetErrors
-
GetIPDetails
Creates a row in IPAdress table, contains client IP details.Get: IP AddressReturn: Success - Client country; Failoure - "Unknown" - GetIPToCountry
-
GetMissingIPDetails
Gets details for users who has a valid IP Address in Users table but do not appear in IP Addresses table.Get: Nothing.Return: Missing IP DataTable - Init
-
Language_GetByMovieUrl
Gets a movies' ply languages by movie URL and Ply type ID.Get: Movie URL (String), Ply Type ID (Int16)Return: Language DataTable -
Language_GetFullList
Gets a full list of languages.Get: NothingReturn: Language DataTable -
Language_GetListOfPages
Gets a full list of languages.Get: NothingReturn: Language DataTable - Language_GetPage
- Language_SavePage
-
LinTrack_GetByPly
Gets a link-track for a given ply.Get: User ID (String)Return: Link Track DataTable -
LinTrack_GetByUser
Gets a link-track for a given user.Get: User ID (String)Return: Link Track DataTable -
LinkTrack_Create
Creates a Link-Track record in the Database by given parameters.Get: Link (String), Bubble ID (String), User ID (String), Is player embedded? (String), User IP (String), User Host (String), Referal (String), User Agent (String), User Language (String)Return: Nothing. -
Movie_AddPly
Adds an existing Ply to a MovieGet: Movie ID (String), Ply ID (String) -
Movie_CheckValidUrl
Checks whether a movie URL is valid. If it is valid, updates the movie URL Data.Get: Movie ID (String)Return: "OK" for success, "Invalid" for fail. -
Movie_Create
Creates a new movie entry in the database using given parameters.Get: Title (String), IndicTitle ID (Integer), Movie Path (String), CRC (String), User ID (String), Movie Type ID (Integer), Flash File URL (String), Movie Length (String), Movie Source (String)Return: New movie ID. -
Movie_CreateByUrl
Creates a new movie entry in the database using a movie URL.Get: URL (String), User ID (String)Return: The newly created Movie's Datatable. -
Movie_GetByID
Returns movie details using a given Movie IDGet: Movie ID (String)Return: A Movie DataTable with the requested Movie details. -
Movie_GetByPly
Returns movie details using a given Ply IDGet: Ply ID (String)Return: Movie DataTable with the requested Movie details. -
Movie_GetBySourceFile
Returns movie details using a given movie source file URLGet: Source file URL (String)Return: Movie DataTable with the requested Movie details. -
Movie_GetByUrl
Returns movie details using a given URLGet: URL (String)Return: Movie DataTable with the requested Movie details. -
Movie_GetFullList
Returns a list of all the available movies in the DatabaseGet: NothingReturn: A Movie DataTable -
Movie_GetKeywords
Gets movies' keywords.Get: Movie URL (String), Language Code (String)Return: Ply server DatasetComments: Calls PLY_GetByMovieUrl or PLY_GetByMovieUrlAndLanguage to get the plys for the movie and updates the Keywords table. -
Movie_GetKeywordsAndTimecodes
Gets movies' keywords and bubble time codes.Get: Movie URL (String), Language Code (String)Return: Ply server DatasetComments: Calls PLY_GetByMovieUrl or PLY_GetByMovieUrlAndLanguage to get the plys for the movie and updates the Keywords table. - Movie_GetSourceUrl
-
Movie_GetUrlDetails
Gets a movie URL Details.Get: URL (String), ByRef Site (String), ByRef Movie Type (eMovieType), ByRef Movie Length (String), ByRef Movie Title (String)Return: Movie URL. -
Movie_SetDefaultPly
Sets a default ply for a movie.Get: Movie ID (String), Ply ID (String) -
Movie_UpdateTitle
Updates a movie title.Get: Movie ID (String), Title (String) -
Movie_UpdateUrlData
Updates a movie URL data.Get: Movie Path (String), Flash File URL (String), Movie Length (String), Movie Source (String) -
PLY_AutoUpdateTitle
Auto updates a user Ply's title right after creating it using a given movie ID.Get: Ply ID (String), User ID (String)Return: "OK"Comments: Called by PLY_CreateByMovieID. No Error Handling in this method. -
PLY_Clone
Clones a ply.Get: Ply ID (String)Return: New Ply ID(String) -
PLY_CountViews
Counts a Ply views.Get: Ply ID (String), PlyViews (Integer)Return: Views count (Integer)Comments: Both the Flash and the site is using this method -
PLY_Create
Creates a new Ply.Get: Ply Name (String), Ply Description (String), User ID (String), Is Shared (Boolean), Password (String), User Origin (Where user came from) (String), Ply Type (Int16), Language Code (String) Return: New Ply ID (String) or an Exception text in case of an error. -
PLY_CreateByMovieID
Creates a Ply by Movie ID.Get: Movie ID (String), User ID (String), Ply Type (Integer), Language Code (String), Ply ID (String)Return: New Ply ID (String) -
PLY_CreateByMovieURL
Creates a Ply and a Movie by a movie URLGet: URL (String), User ID (String), Ply Type (Integer), Language Code (String), byRef Movie ID (String), byRefPly ID (String)Return: XML of the new Ply ID and the new Movie ID -
PLY_Delete
Deletes a ply.Get: Ply ID (String)Return: "OK" Comment: No Error Handling used in this method. -
PLY_GetActiveByMovie
Gets all the active Plys (contains at least 1 bubble) for a given movie ID.Get: Movie ID (String), Ply Type (Int16)Return: Data Table with the requested Ply details -
PLY_GetByID
Gets a Ply by Ply ID.Get: Ply ID (String)Return: Data Table with the requested Ply details -
PLY_GetByMovie
Gets a Ply for a given movie ID.Get: Movie ID(String), Ply Type (Int16)Return: Data Table with the requested Ply details -
PLY_GetByMovieUrl
Gets a Ply for a given movie URL.Get: URL (String), Ply Type (Int16)Return: Data Table with the requested Ply details -
PLY_GetByMovieUrlAndLanguage
Gets a Ply for a given movie URL, Ply Type and Language.Get: URL (String), Ply Type (Int16), Language Code (String)Return: Data Table with the requested Ply details -
PLY_GetByMovieUrlAndUser
Gets a Ply for a given movie URL, User ID and Ply type.Get: URL (String), User ID (String), Ply Type (Int16)Return: Data Table with the requested Ply details -
PLY_GetByUser
Gets a Ply for a given User and a given Ply Type.Get: User ID (String), Ply Type (Int16)Return: Data Table with the requested Ply details -
PLY_ReplaceUser
Changes a Ply's user ID.Get: Original User ID (String), New User ID (String)Return: "OK" Comments: No Error Handling used in this method. -
PLY_Update
Updates a ply.Get: Ply ID (String), Ply Name (String), Ply Description (String), User ID (String), Is Shared (Boolean), Password (String), Ply Type (Int16), Language Code (String) Return: "OK" or an Exception text in case of an error. -
PLY_UpdateImpression
Updates user's impression.Get: Nothing. Using the CurPID Parameter (updated by Bubble_GetByPlys)Comments: Called from Bubble_GetByPlys. Logs an Exception in case of an error -
PLY_UpdateName
Updates a Ply name.Get: Ply ID (String), Ply Name (String)Return: "OK" or an Exception text in case of an error. -
PLY_UpdateViewed
Updates Ply views table and views counter in Plys table.Get: Ply ID (String), Movie ID (String), User ID (String), Is Embeded (String), Source Url (String)Return: "OK" For Success, "Invalid" in case of an error (And logs the error) or "Nothing" if all method operation fails. -
PlyList_GetByPly
Gets a ply by a Ply ID.Get: Ply ID (String)Return: Ply list DataTable -
PlyList_GetByUser
Gets all plys per User ID.Get: User ID (String)Return: Ply list DataTable -
PlyList_GetPopular
Gets the most popular plys per source site, starting at the given date, showing top X records.Get: Source site (String), Starting at date (String), How many recent records (Integer)Return: Ply list DataTable -
PlyList_GetRecent
Gets recent ply list per source site starting at a given date, showing top X records.Get: Source site (String), Starting at date (String), How many recent records (Integer)Return: Ply list DataTable -
Report_Stats
Gets reports' statistics table by movie source.Get: Movie source (String).Return: Reports statistics DataTable -
Report_Top10Create
Produces 2 kinds of reports:
1. ReportType is "Stats": Gets a list of the top 10 Movie titles, grouped by movie sources, ordered by a "new plys per movie" counter.2. ReportType is not "Stats": Gets a list of the top 10 Movie titles, grouped by movie sources, ordered by a "most viewed plys" counter.Get: Report Type (String), Movie Source (String), Days to include in the report (Int16)Return: A top 10 DataTable - Report_Views
-
SendReportMail
Sends a report E-Mail.Get: E-Mail message body.Return: Nothing -
SiteDefaultRules_Create
Creates site default rule.Get: Movie Source (String), Show ply menu? (Boolean), Show Ply On/Off? (Boolean), Show Sub Menu? (Boolean), Show More Plys? (Boolean), Show User Menu? (Boolean), Show Sub Sponsor? (Boolean), Default Language (String)Return: "OK" for success. -
SiteDefaultRules_GetAll
Gets a full list of Site Default Rules.Get: Nothing.Return: Site Default Rules DataTable -
SiteDefaultRules_GetByMovieSource
Gets a list of Site Default Rules by movie source. If there is no previous site default rule for the given movie source, method creates a new site default rule with default values and returns the updated site default rules list.Get: Movie Source (String)Return: Site Default Rules DataTable -
SiteDefaultRules_GetByMovieSource_Logger
Gets a list of Site Default Rules by movie source. Get: Movie Source (String)Return: Site Default Rules DataTable -
SiteDefaultRules_Manage
Manages site default rules.Get: Site Default Rules (Site Default Rules DataTable)Return: "OK" for success, Exception message for failoure.Comment: Truncating existing table, and inserting all rows from the given table to the database table.If method fails to insert a row to the database, trying to insert the row without default values. -
SiteRules_Create
Creates a site rule.Get: Movie Source (String), Ply? (Boolean), Subtitles? (Boolean), SponserAd? (Boolean), PLYMenu? (Boolean), Default Language (String), Default Ply (String), Default User (String)Return: "OK" for success. -
SiteRules_GetAll
Gets a full list of Site Rules.Get: Nothing.Return: Site Rules DataTable -
SiteRules_GetByMovieSource
Gets a list of Site Default Rules by movie source. If there is no previous site default rule for the given movie source, method creates a new site default rule with default values and returns the updated site default rules list.Get: Movie Source (String)Return: Site Default Rules DataTable -
SiteRules_Manage
Manages site rules.Get: Site Rules (Site Rules DataTable)Return: "OK" for success, Exception message for failoure.Comment: Truncating existing table, and inserting all rows from the given table to the database table.If method fails to insert a row to the database, trying to insert the row without default values. -
Users_AssignMovieSourceToUserGroups
Creating a Movie source-User group relationship.Get: User Group (String), Movie Source (String)Return: "OK" for success, Exception message in case of an error. -
Users_Create
Creates a new user.Get: User Origin (Came From) (String), Language ID (Integer), User IP (String), Host (String), Referal (String), Agent (String), Language (String)Return: User DataTable. - Users_CreateSimple
-
Users_CreateUserGroups
Creates a User Group.Get: User Group (String)Return: "OK" for success, Exception Message in case of an error. -
Users_GetByEmail
Gets a user by an E-Mail Address.Get: E-Mail Address (String)Return: User DataTable. -
Users_GetByID
Gets a user by an ID.Get: User ID (String)Return: User DataTable. -
Users_GetByNickName
Gets a user by a Nickname.Get: User Nick Name (String)Return: User DataTable. -
Users_GetByUserGroup
Gets a user by User Group Details.Get: User Group (String)Return: User DataTable. -
Users_GetMovieSourceByUserGroups
Gets a Movie source by a User group.Get: User Group (String)Return: Single Value DataTable -
Users_GetUserGroups
Gets all User groups.Get: Nothing.Return: Single Value DataTable -
Users_Logout
Turns user logout flag on/off.Get: User ID (String), On Hold Flag (Boolean)Return: "OK" -
Users_SendPasswordByEmail
Mailing users' password.Get: E-Mail address (String)Return: "OK" for success, Exception message in case of an error. -
Users_UnAssignMovieSourceToUserGroups
Removing a Movie source-User group relationship.Get: User Group (String), Movie Source (String)Return: "OK" for success, Exception message in case of an error. -
Users_UpdateCameFromData
Updates where user came from data.Get: User ID (String), User NickName (String), HomePage (String)Return: "OK" for success, Exception message in case of an error. -
Users_UpdateDetails
Updates user details.Get: User ID (String), E-Mail Address (String), Password (String), User Origin (Came From) (String)Return: "OK" for success, "Email Already Exists" for fail. -
Users_UpdateDetails_Flash
Updates user details (using flash).Get: User ID (String), E-Mail Address (String), Password (String), User Origin (Came From) (String), Nick Name (String)Return: "OK" for success, "Email Already Exists" for fail.Comments: Underlined is the difference between this method and the correspondent one that does not use the flash. -
Users_UpdateExtraDetails
Updates user extra details.Get: User ID (String), Email Address (String), Full Name (String), Country ID (Integer), Gender (String), Birth Date (DateTime)Return: "OK" for success, "Email Already Exists" for fail.Comments: Underlined is the difference between this method and the correspondent one that uses the flash. -
Users_UpdateExtraDetails_Flash
Updates user extra details (using flash).Get: User ID (String), Email Address (String), Nick Name (String), Country ID (Integer), Gender (String), Birth Date (DateTime)Return: "OK" for success, "Email Already Exists" for fail.Comments: Underlined is the difference between this method and the correspondent one that does not use the flash. -
Users_UpdateUserDetails
Updates user details.Get: User ID (String), IP (String), Host (String), Referal (String), Agent (String), Language (String)Return: "OK" for success, Exception message in case of an error.
This web service is using http://tempuri.org/ as its default namespace.
Recommendation: Change the default namespace before the XML Web service is made public.
Each XML Web service needs a unique namespace in order for client applications to distinguish it from other services on the Web. http://tempuri.org/ is available for XML Web services that are under development, but published XML Web services should use a more permanent namespace.
Your XML Web service should be identified by a namespace that you control. For example, you can use your company's Internet domain name as part of the namespace. Although many XML Web service namespaces look like URLs, they need not point to actual resources on the Web. (XML Web service namespaces are URIs.)
For XML Web services creating using ASP.NET, the default namespace can be changed using the WebService attribute's Namespace property. The WebService attribute is an attribute applied to the class that contains the XML Web service methods. Below is a code example that sets the namespace to "http://microsoft.com/webservices/":
C#
[WebService(Namespace="http://microsoft.com/webservices/")]
public class MyWebService {
// implementation
}
Visual Basic
<WebService(Namespace:="http://microsoft.com/webservices/")> Public Class MyWebService
' implementation
End Class
C++
[WebService(Namespace="http://microsoft.com/webservices/")]
public ref class MyWebService {
// implementation
};
For more details on XML namespaces, see the W3C recommendation on Namespaces in XML.
For more details on WSDL, see the WSDL Specification.
For more details on URIs, see RFC 2396.