Creates a schedule
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Request Body
ScheduleCreate
| Property | Description | Type | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| scheduleDays | List of schedule day definition for each day of the week All 7 days must be informed Cannot be Empty | ScheduleDayCreate[] | ||||||||||||||||||
|
ScheduleDayCreate properties
|
||||||||||||||||||||
| scheduleDescription | Optional description of the schedule Must be between 0 and 255 characters | string | ||||||||||||||||||
| scheduleInfo | Unique name of the schedule Required Must be between 0 and 50 characters | string | ||||||||||||||||||
Example Request Body
{ "scheduleDays": [
{ "beginTime": "string", "dayOfWeek": 1, "endTime": "string", "is24Hours": false, "isClosed": false
}
], "scheduleDescription": "string", "scheduleInfo": "string"
}
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
ScheduleResponse
| Property | Description | Type | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| createdBy | UserChild | ||||||||||||||||||||||||||||||||||
|
UserChild properties
|
|||||||||||||||||||||||||||||||||||
| createdDate | The date when the schedule was created | string (date-time) | |||||||||||||||||||||||||||||||||
| modifiedBy | UserChild | ||||||||||||||||||||||||||||||||||
|
UserChild properties
|
|||||||||||||||||||||||||||||||||||
| modifiedDate | The date when the version was schedule | string (date-time) | |||||||||||||||||||||||||||||||||
| scheduleDays | A list of 7 ScheduleDay records, each of which defines the open hours for a single day of the week. They are returned in order, beginning with Sunday and ending with Saturday. | ScheduleDay[] | |||||||||||||||||||||||||||||||||
|
ScheduleDay properties
|
|||||||||||||||||||||||||||||||||||
| scheduleDescription | A longer description of this schedule. For example, “9-5, Mon-Fri”. | string | |||||||||||||||||||||||||||||||||
| scheduleId | The ID of this Schedule record. | integer (int32) | |||||||||||||||||||||||||||||||||
| scheduleInfo | Information about this schedule. This can be thought of as a name. For example, “24/7”. | string | |||||||||||||||||||||||||||||||||
Example Response
{ "createdBy": { "fullName": "string", "userCode": "string", "userId": 1
}, "createdDate": "2026-03-30", "modifiedBy": { "fullName": "string", "userCode": "string", "userId": 1
}, "modifiedDate": "2026-03-30", "scheduleDays": [
{ "beginTime": "string", "dayOfWeek": { "dayOfWeekName": "string", "dayOfWeekNumber": 1
}, "endTime": "string", "is24Hours": false, "isClosed": false, "scheduleDayId": 1
}
], "scheduleDescription": "string", "scheduleId": 1, "scheduleInfo": "string"
}