Class ScheduleTemplateController
The Schedule Template Controller is a controller that allows data to be retrieved from 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/ScheduleTemplate
Methods
GetFromCode(String)
Returns the IDs of schedule templates with the specified code.
Declaration
public JsonResult GetFromCode(string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | The code of the schedule template. |
Returns
Type | Description |
---|---|
System.Web.Mvc.JsonResult | A Json encoded array of Guids containing the IDs of matching templates. If no templates have the specified code, the array will be empty. |