'
Show / Hide Table of Contents

Class FaceAvailsController

The Face Avail Controller is a controller that allows data to be retrieved and updated within the Ayuda Platform.

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

This web service can be accessed using an address similar to the following: https://[AYUDA DEPLOYMENT URL]/Juice/Pi/FaceAvail

Methods

GetDetailedAvails(Guid[], DateTime, DateTime)

Returns the detailed availability of the specified faces.

Declaration
public JsonResult GetDetailedAvails(Guid[] faceID, DateTime startDate, DateTime endDate)
Parameters
Type Name Description
System.Guid[] faceID

The list of IDs of faces.

System.DateTime startDate

The start of the period to check.

System.DateTime endDate

The end of the period to check.

Returns
Type Description
System.Web.Mvc.JsonResult

GetFaceAudiencesWithPricing(Guid[], DateTime, DateTime, Guid, List<Guid>)

Retrieves the Audience data for Faces, as well as the Booking Price.

Declaration
public JsonResult GetFaceAudiencesWithPricing(Guid[] faceIDs, DateTime startDate, DateTime endDate, Guid scheduleTemplateID, List<Guid> demographicIDs = null)
Parameters
Type Name Description
System.Guid[] faceIDs
System.DateTime startDate
System.DateTime endDate
System.Guid scheduleTemplateID
System.Collections.Generic.List<System.Guid> demographicIDs
Returns
Type Description
System.Web.Mvc.JsonResult

A Json encoded array with the following properties: FaceID, AudienceImpressions, Price.

Back to top Generated by DocFX