GET api/travel/day/traveldate/{id}
Retrieves a specific travel date by its unique identifier.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The unique identifier of the travel date to retrieve. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns HTTP 200 (OK) with the TravelDate object
TravelDate| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| TravelDateID | integer |
None. |
|
| Name | string |
None. |
|
| Code | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| ObjectType | ObjectTypeFlag |
None. |
|
| SessionIDList | Collection of integer |
None. |
|
| ProgramIDList | Collection of integer |
None. |
|
| SeasonIDArray | Collection of integer |
None. |
|
| UpdatedBy | string |
None. |
|
| Updated | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 2,
"TravelDateID": 2,
"Name": "sample string 3",
"Code": "sample string 4",
"StartDate": "2026-09-08T15:28:58.7342191-06:00",
"EndDate": "2026-09-08T15:28:58.7342191-06:00",
"ObjectType": 0,
"SessionIDList": [
1,
2
],
"ProgramIDList": [
1,
2
],
"SeasonIDArray": [
1,
2
],
"UpdatedBy": "sample string 7",
"Updated": "2026-09-08T15:28:58.7342191-06:00"
}
application/javascript
Sample:
{"ID":2,"TravelDateID":2,"Name":"sample string 3","Code":"sample string 4","StartDate":"2026-09-08T15:28:58.7342191-06:00","EndDate":"2026-09-08T15:28:58.7342191-06:00","ObjectType":0,"SessionIDList":[1,2],"ProgramIDList":[1,2],"SeasonIDArray":[1,2],"UpdatedBy":"sample string 7","Updated":"2026-09-08T15:28:58.7342191-06:00"}
application/xml, text/xml
Sample:
<TravelDate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ID>2</ID>
<TravelDateID>2</TravelDateID>
<Name>sample string 3</Name>
<Code>sample string 4</Code>
<StartDate>2026-09-08T15:28:58.7342191-06:00</StartDate>
<EndDate>2026-09-08T15:28:58.7342191-06:00</EndDate>
<ObjectType>Undefined</ObjectType>
<SessionIDList>
<int>1</int>
<int>2</int>
</SessionIDList>
<ProgramIDList>
<int>1</int>
<int>2</int>
</ProgramIDList>
<SeasonIDArray>
<int>1</int>
<int>2</int>
</SeasonIDArray>
<UpdatedBy>sample string 7</UpdatedBy>
<Updated>2026-09-08T15:28:58.7342191-06:00</Updated>
</TravelDate>