'
Show / Hide Table of Contents

Class PlayerController

Namespace: Ayuda.BMS.Splash.Areas.Pi.Controllers

Methods

Get(Guid)

Returns information about a player.

Declaration
public JsonResult Get(Guid id)
Parameters
Type Name Description
System.Guid id
Returns
Type Description
System.Web.Mvc.JsonResult

A Json encoded instance of the PlayerModel type with information about the player.

GetAll()

Returns information about all players.

Declaration
public JsonResult GetAll()
Returns
Type Description
System.Web.Mvc.JsonResult

A Json encoded array of instances of the PlayerModel type with information about the players.

GetDigitalPlayLogs(DateTime, Nullable<DateTime>, String[])

Returns playlogs for specific date and digital faces

Declaration
public async Task<JsonResult> GetDigitalPlayLogs(DateTime start, DateTime? end, string[] digitalFaceCodes)
Parameters
Type Name Description
System.DateTime start

Starting datetime of the duration of the playlogs.

System.Nullable<System.DateTime> end

Ending datetime of the duration of the playlogs (optional). If blank, then the playslogs are return for the entire day.

System.String[] digitalFaceCodes

List of digital face codes (optional). If blank, the playlogs are returned for all the digital faces.

Returns
Type Description
System.Threading.Tasks.Task<System.Web.Mvc.JsonResult>

A Json encoded instance of the Ayuda.BMS.Splash.Shared.Models.PlayLogsExportModel type with playlog information.

GetMany(Guid[])

Returns information about one or more players.

Declaration
public JsonResult GetMany(Guid[] ids)
Parameters
Type Name Description
System.Guid[] ids
Returns
Type Description
System.Web.Mvc.JsonResult

A Json encoded array of instances of the PlayerModel type with information about the players.

Update(Guid, String, String, Guid, Guid, String, String, Nullable<Boolean>, String, String, String, Nullable<Int32>, Int32, Nullable<Decimal>, String, String, String, String, Nullable<Guid>, Nullable<Guid>, Nullable<Guid>, Nullable<Guid>, Nullable<Guid>)

Declaration
public JsonResult Update(Guid PlayerID, string Name, string Code, Guid PlayerModelID, Guid PlayerConfigurationModelID, string HostName, string NetworkName, bool? IsDecommissioned, string PlayerRemoteControlUrlParams, string PlayerNetworkMonitoringUrlParams, string PlayerScreenshotUrlParams, int? HardDriveCapacity, int RAMQuantity, decimal? CPUSpeed, string CPUType, string OS, string OSVersion, string PlayerSoftwareVersion, Guid? CloudExtenderID, Guid? UnsynchronizedBundleID, Guid? FallbackBundleID, Guid? InterruptBundleID, Guid? MimickedPlayerID)
Parameters
Type Name Description
System.Guid PlayerID Guid: The id of the player to be updated (Required)
System.String Name String: The name of the player (Optional).
System.String Code String: The code of the player (Optional).
System.Guid PlayerModelID Guid: Player Model ID (Optional).
System.Guid PlayerConfigurationModelID Guid: Player Configuration Model ID (Optional).
System.String HostName String(Nullable): Hostname (Optional).
System.String NetworkName String(Nullable): Network Name (Optional).
System.Nullable<System.Boolean> IsDecommissioned bool(Nullable): Decommissioned? (Optional).
System.String PlayerRemoteControlUrlParams String(Nullable): Remote Control Url Parameters (Optional).
System.String PlayerNetworkMonitoringUrlParams String(Nullable): Network Monitoring Url Parameters (Optional).
System.String PlayerScreenshotUrlParams String(Nullable): Screenshot Url Params (Optional).
System.Nullable<System.Int32> HardDriveCapacity Int(Nullable): HD Capacity (MB) (Optional).
System.Nullable<System.Int32 RAMQuantity Int(Nullable): RAM Quantity (KB) (Optional).
System.Nullable<System.Decimal> CPUSpeed Decimal(Nullable): CPU Speed (MHz) (Optional).
System.String CPUType String(Nullable): CPU Type (Optional).
System.String OS String(Nullable): OS (Optional).
System.String OSVersion String(Nullable): OS version.(Optional).
System.String PlayerSoftwareVersion String(Nullable): Player Software Version (Optional).
System.Nullable<System.Guid> CloudExtenderID Guid(Nullable): cloud Extender ID (Optional).
System.Nullable<System.Guid> UnsynchronizedBundleID Guid(Nullable): Unsynchronized Bundle ID (Optional).
System.Nullable<System.Guid> FallbackBundleID Guid(Nullable): FallbackBundleID (Optional).
System.Nullable<System.Guid> InterruptBundleID Guid(Nullable): Interrupt BundleID (Optional).
System.Nullable<System.Guid> MimickedPlayerID Guid(Nullable):Mimic Player ID (Optional).
Returns
Type Description
System.Web.Mvc.JsonResult
Back to top Generated by DocFX