Day Part
Dayparting
Search dayparts
The dayPart ID to Search
The name of the dayPart to Search
Embed related data such as exceptions
Specifies which field the results are sorted by. Used together with sortDir
Sort direction
successful operation
Class DayPart
The ID of this Daypart
A readonly flag determining whether this DayPart is always
A readonly flag determining whether this DayPart is custom
GET /api/daypart HTTP/1.1
Accept: */*
successful operation
[
{
"dayPartId": 1,
"isAlways": 1,
"isCustom": 1
}
]Add a Daypart
The Daypart Name
A description for the dayPart
The start time for this day part
The end time for this day part
String array of exception days
String array of exception start times to match the exception days
String array of exception end times to match the exception days
successful operation
POST /api/daypart HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 157
"name='text'&description='text'&startTime='text'&endTime='text'&exceptionDays=['text']&exceptionStartTimes=['text']&exceptionEndTimes=['text']"successful operation
{
"dayPartId": 1,
"isAlways": 1,
"isCustom": 1
}Get the DayPart object specified by the provided daypartId
Numeric ID of the DayPart to get
Embed related data such as exceptions
successful operation
Class DayPart
The ID of this Daypart
A readonly flag determining whether this DayPart is always
A readonly flag determining whether this DayPart is custom
GET /api/daypart/{dayPartId} HTTP/1.1
Accept: */*
successful operation
{
"dayPartId": 1,
"isAlways": 1,
"isCustom": 1
}Edit a Daypart
The Daypart Id
The Daypart Name
A description for the dayPart
The start time for this day part
The end time for this day part
String array of exception days
String array of exception start times to match the exception days
String array of exception end times to match the exception days
successful operation
Class DayPart
The ID of this Daypart
A readonly flag determining whether this DayPart is always
A readonly flag determining whether this DayPart is custom
PUT /api/daypart/{dayPartId} HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 157
"name='text'&description='text'&startTime='text'&endTime='text'&exceptionDays=['text']&exceptionStartTimes=['text']&exceptionEndTimes=['text']"successful operation
{
"dayPartId": 1,
"isAlways": 1,
"isCustom": 1
}Last updated
Was this helpful?

