controllers / dayparting.php
Dayparting
Controller
Manages dynamic selection media restrictions based on media search criteria, date, and time. Requires 'manage media settings' permission.
public
delete
(
)
public
delete
(
)
Delete restriction.
Parameters
id |
API Route
DELETE
/api/v2/dayparting/(:id:)
public
get
(
)
public
get
(
)
Get restriction by id.
Parameters
id |
Returns
restrction
API Route
GET
/api/v2/dayparting/(:id:)
public
save
(
)
public
save
(
)
Save restriction.
Parameters
id |
|
start_month |
|
start_day |
|
start_time |
|
end_month |
|
end_day |
|
end_time |
|
filters |
Returns
id
API Route
PUT
/api/v2/dayparting/(:id:)
public
search
(
)
public
search
(
)
Get all restrictions.
Returns
restrictions
API Route
GET
/api/v2/dayparting/search