GET api/travel/day/traveldate/{travelDateId}/lock
Retrieves the lock information for a specific travel date. Locks prevent concurrent modifications to travel dates.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| travelDateId |
The unique identifier of the travel date to retrieve lock information for. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns HTTP 200 (OK) with the lock information object
TravelDateLock| Name | Description | Type | Additional information |
|---|---|---|---|
| LockID | integer |
None. |
|
| TravelDateID | integer |
None. |
|
| PersonID | integer |
None. |
|
| Expires | date |
None. |
|
| LastName | string |
None. |
|
| FirstName | string |
None. |
|
| NickName | string |
None. |
|
| MaidenName | string |
None. |
|
| MiddleName | string |
None. |
|
| FullName | string |
None. |
|
| FullNameIncludeNickName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"LastName": "sample string 5",
"FirstName": "sample string 6",
"NickName": "sample string 7",
"MaidenName": "sample string 8",
"MiddleName": "sample string 9",
"FullName": "sample string 6 sample string 5"
}
application/javascript
Sample:
{"LastName":"sample string 5","FirstName":"sample string 6","NickName":"sample string 7","MaidenName":"sample string 8","MiddleName":"sample string 9","FullName":"sample string 6 sample string 5"}
application/xml, text/xml
Sample:
<TravelDateLock xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <LastName>sample string 5</LastName> <FirstName>sample string 6</FirstName> <NickName>sample string 7</NickName> <MaidenName>sample string 8</MaidenName> <MiddleName>sample string 9</MiddleName> <FullName>sample string 6 sample string 5</FullName> <LockID>1</LockID> <TravelDateID>2</TravelDateID> <PersonID>3</PersonID> <Expires>2026-09-08T15:29:07.942717-06:00</Expires> </TravelDateLock>