Class FacePackDigitalBookingLineZoneController
The Face Pack Digital Booking Line Zone 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/FacePackDigitalBookingLineZone
Methods
Create(Guid, Guid, Guid)
Creates a new digital booking line zone using a face pack.
Declaration
public JsonResult Create(Guid digitalBookingLineID, Guid salesContractItemID, Guid facePackID)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | digitalBookingLineID | The ID of the digital booking line. |
System.Guid | salesContractItemID | The ID of the segment. |
System.Guid | facePackID | The ID of the face pack. |
Returns
Type | Description |
---|---|
System.Web.Mvc.JsonResult | A Json encoded string containing the id of the newly created design. |
CreateMany(Guid, Guid, Guid[])
Books numerous face packs to a digital booking line.
Declaration
public JsonResult CreateMany(Guid digitalBookingLineID, Guid salesContractItemID, Guid[] facePackIDs)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | digitalBookingLineID | The ID of the digital booking line. |
System.Guid | salesContractItemID | The ID of the segment. |
System.Guid[] | facePackIDs | The IDs of the face packs. |
Returns
Type | Description |
---|---|
System.Web.Mvc.JsonResult | A Json encoded string containing the id of the newly created design. |
Delete(Guid)
Delete a face pack digital booking line zone.
Declaration
public JsonResult Delete(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | The id of the face pack digital booking line zone to delete. |
Returns
Type | Description |
---|---|
System.Web.Mvc.JsonResult | A Json encoded boolean. true if the delete succeeded, else false. |
Get(Guid)
Gets all properties of a given face pack digital booking line zone.
Declaration
public JsonResult Get(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | ID of the face pack digital booking line zone. |
Returns
Type | Description |
---|---|
System.Web.Mvc.JsonResult | Model of the face pack digital booking line zone corresponding to the ID. |
Update(Nullable<Guid>, Nullable<Guid>, Nullable<DateTime>, Nullable<DateTime>)
OBSOLETE and disabled. Update the specified face pack digital booking line zone.
Only the ID of the face pack digital booking line zone and the fields to be updated need to be specified.
It is also possible to send a whole instance of the
Declaration
public JsonResult Update(Guid? id, Guid? facePackDigitalBookingLineZoneID, DateTime? startDate, DateTime? endDate)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | id | The id of the digital booking line zone to update. |
System.Nullable<System.Guid> | facePackDigitalBookingLineZoneID | The id of the digital booking line zone to update. Can be used as an alternate to the |
System.Nullable<System.DateTime> | startDate | OBSOLETE and disabled. The new starting date. |
System.Nullable<System.DateTime> | endDate | OBSOLETE and disabled. The new end date. |
Returns
Type | Description |
---|---|
System.Web.Mvc.JsonResult | A Json encoded boolean. true if the update succeeded, else false. |