GET api/Timetables/{id}
Get a specific Timetable by ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the Timetable |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetTimetableResponse 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,
"Time": "00:00:00.1234567",
"DaySelection": 64,
"UserName": "sample string 7",
"LastApprovedRun": "2025-11-09T21:32:34.13691+10:00",
"NextRun": "2025-11-09T21:32:34.13691+10:00",
"ApprovalPeriod": "00:00:00.1234567",
"TargetID": 9,
"TargetType": 0
},
{
"ID": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Enable": true,
"Time": "00:00:00.1234567",
"DaySelection": 64,
"UserName": "sample string 7",
"LastApprovedRun": "2025-11-09T21:32:34.13691+10:00",
"NextRun": "2025-11-09T21:32:34.13691+10:00",
"ApprovalPeriod": "00:00:00.1234567",
"TargetID": 9,
"TargetType": 0
}
],
"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:32:34.13691+10:00",
"BuildDateUTC": "2025-11-09T21:32:34.13691+10:00"
},
"VersionInformation": {
"Major": 1,
"Minor": 3,
"Hotfix": 7,
"Beta": false,
"Version": "1.3.7"
}
}
application/xml, text/xml
Sample:
<GetTimetablesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RimikAPI.Models.Responses">
<Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Services">
<d2p1:Common.Message>
<d2p1:CodeDesc>2</d2p1:CodeDesc>
<d2p1:MessageCode>1</d2p1:MessageCode>
<d2p1:MessageText>sample string 3</d2p1:MessageText>
<d2p1:RecordNumber>4</d2p1:RecordNumber>
<d2p1:Severity>Information</d2p1:Severity>
</d2p1:Common.Message>
<d2p1:Common.Message>
<d2p1:CodeDesc>2</d2p1:CodeDesc>
<d2p1:MessageCode>1</d2p1:MessageCode>
<d2p1:MessageText>sample string 3</d2p1:MessageText>
<d2p1:RecordNumber>4</d2p1:RecordNumber>
<d2p1:Severity>Information</d2p1:Severity>
</d2p1:Common.Message>
</Messages>
<ServerInformation xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Services.Metadata">
<d2p1:BuildDateUTC>2025-11-09T21:32:34.13691+10:00</d2p1:BuildDateUTC>
<d2p1:CurrentTimeUTC>2025-11-09T21:32:34.13691+10:00</d2p1:CurrentTimeUTC>
</ServerInformation>
<VersionInformation xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Services.Metadata" />
<Timetables xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Models">
<d2p1:APIStructs.Timetable>
<d2p1:ApprovalPeriod>PT0.1234567S</d2p1:ApprovalPeriod>
<d2p1:DaySelection>64</d2p1:DaySelection>
<d2p1:Description>sample string 3</d2p1:Description>
<d2p1:Enable>true</d2p1:Enable>
<d2p1:ID>1</d2p1:ID>
<d2p1:LastApprovedRun>2025-11-09T21:32:34.13691+10:00</d2p1:LastApprovedRun>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:NextRun>2025-11-09T21:32:34.13691+10:00</d2p1:NextRun>
<d2p1:TargetID>9</d2p1:TargetID>
<d2p1:TargetType>Program</d2p1:TargetType>
<d2p1:Time>PT0.1234567S</d2p1:Time>
<d2p1:UserName>sample string 7</d2p1:UserName>
</d2p1:APIStructs.Timetable>
<d2p1:APIStructs.Timetable>
<d2p1:ApprovalPeriod>PT0.1234567S</d2p1:ApprovalPeriod>
<d2p1:DaySelection>64</d2p1:DaySelection>
<d2p1:Description>sample string 3</d2p1:Description>
<d2p1:Enable>true</d2p1:Enable>
<d2p1:ID>1</d2p1:ID>
<d2p1:LastApprovedRun>2025-11-09T21:32:34.13691+10:00</d2p1:LastApprovedRun>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:NextRun>2025-11-09T21:32:34.13691+10:00</d2p1:NextRun>
<d2p1:TargetID>9</d2p1:TargetID>
<d2p1:TargetType>Program</d2p1:TargetType>
<d2p1:Time>PT0.1234567S</d2p1:Time>
<d2p1:UserName>sample string 7</d2p1:UserName>
</d2p1:APIStructs.Timetable>
</Timetables>
</GetTimetablesResponse>