PUT api/Timetables/Disable/{id}
Disables the Timetable indicated by the input ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ID of the Timetable to disable |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
object
GetTimetablesResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Timetables |
Array of Timetables |
Collection of Timetable |
None. |
| Messages |
Array of messages |
Collection of Message |
None. |
| ServerInformation |
Relevant information regarding the Server |
ServerInformation |
None. |
| VersionInformation |
Relevant information regarding the API's version |
VersionInformation |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{
"Timetables": [
{
"ID": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Enable": true,
"Valid": true,
"Time": "00:00:00.1234567",
"IntervalType": 0,
"IntervalTypeName": "Daily",
"IntervalSetting1": 1,
"IntervalSetting2": 1,
"Repeat": true,
"RepeatEvery": 1,
"RepeatDuration": 1,
"UserID": 1,
"UserName": "sample string 5",
"LastInterval": "2025-11-09T21:42:37.851155+10:00",
"LastRun": "2025-11-09T21:42:37.851155+10:00",
"NextInterval": "2025-11-09T21:42:37.851155+10:00",
"NextRun": "2025-11-09T21:42:37.851155+10:00",
"ApprovalPeriod": "00:00:00.1234567",
"TargetID": 1,
"TargetType": 0,
"TargetTypeName": "SchedulingParent",
"TargetName": "sample string 6"
},
{
"ID": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Enable": true,
"Valid": true,
"Time": "00:00:00.1234567",
"IntervalType": 0,
"IntervalTypeName": "Daily",
"IntervalSetting1": 1,
"IntervalSetting2": 1,
"Repeat": true,
"RepeatEvery": 1,
"RepeatDuration": 1,
"UserID": 1,
"UserName": "sample string 5",
"LastInterval": "2025-11-09T21:42:37.851155+10:00",
"LastRun": "2025-11-09T21:42:37.851155+10:00",
"NextInterval": "2025-11-09T21:42:37.851155+10:00",
"NextRun": "2025-11-09T21:42:37.851155+10:00",
"ApprovalPeriod": "00:00:00.1234567",
"TargetID": 1,
"TargetType": 0,
"TargetTypeName": "SchedulingParent",
"TargetName": "sample string 6"
}
],
"Messages": [
{
"Severity": 0,
"MessageCode": 1,
"CodeDesc": 2,
"MessageText": "sample string 3",
"RecordNumber": 4
},
{
"Severity": 0,
"MessageCode": 1,
"CodeDesc": 2,
"MessageText": "sample string 3",
"RecordNumber": 4
}
],
"ServerInformation": {
"CurrentTimeUTC": "2025-11-09T21:42:37.851155+10:00",
"BuildDateUTC": "2025-11-09T21:42:37.851155+10:00"
},
"VersionInformation": {
"Major": 1,
"Minor": 8,
"Hotfix": 0,
"Beta": true,
"Version": "1.8.0.BETA"
}
}