'
Show / Hide Table of Contents

Class ReferenceController

The Reference 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/Reference

Methods

GetReferenceData(String)

Gets the relevant reference data for each entity.

Declaration
public ActionResult GetReferenceData(string type)
Parameters
Type Name Description
System.String type

Type of entity to retrieve reference data for. The currently supported types are Address, Person, Agency, Advertiser, Campaign, DigitalBookingLine, Face, Segment, and Site.

Returns
Type Description
System.Web.Mvc.ActionResult

The reference data relevant to the entity.

OnActionExecuting(ActionExecutingContext)

Declaration
protected override void OnActionExecuting(ActionExecutingContext filterContext)
Parameters
Type Name Description
System.Web.Mvc.ActionExecutingContext filterContext
Overrides
System.Web.Mvc.Controller.OnActionExecuting(System.Web.Mvc.ActionExecutingContext)

Search(String)

Search for all reference data of a given type.

Declaration
public ActionResult Search(string type)
Parameters
Type Name Description
System.String type

Type of reference data.

Returns
Type Description
System.Web.Mvc.ActionResult

All reference data of the specified type.

Back to top Generated by DocFX