'
Show / Hide Table of Contents

Class SchedulingController

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

Methods

GetUnscheduledBookings(Nullable<Guid>, Nullable<DateTime>, Nullable<DateTime>, Guid[], Guid[])

Returns a list of booked time slots that have nothing scheduled.

Declaration
public ActionResult GetUnscheduledBookings(Guid? campaignID, DateTime? startDate, DateTime? endDate, Guid[] includeCampaignStates, Guid[] excludeCampaignStates)
Parameters
Type Name Description
System.Nullable<System.Guid> campaignID

The campaign to check for unscheduled bookings. This parameter is optional.

System.Nullable<System.DateTime> startDate

The start of the range to check for unscheduled bookings. This parameter is optional, but if specified the parameter must also be specified.

System.Nullable<System.DateTime> endDate

The end of the range to check for unscheduled bookings. This parameter is optional, but if specified the parameter must also be specified.

System.Guid[] includeCampaignStates

A list of possible of states the campaign must have to be returned. This parameter is optional and cannot be combined with the parameter. The list of possibles values can be found in the class.

System.Guid[] excludeCampaignStates

A list of possible of states the campaign must not have to be returned. This parameter is optional and cannot be combined with the parameter. The list of possibles values can be found in the class.

Returns
Type Description
System.Web.Mvc.ActionResult
Back to top Generated by DocFX