PUT api/travel/day/traveldate/lock/{lockID}/refresh
Refreshes an existing travel date lock by extending its duration. Updates the expiration time of the lock to the current time plus the specified duration.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| lockID |
The unique identifier of the lock to refresh. |
integer |
Required |
Body Parameters
The new duration to extend the lock. Sent in the request body as a TimeSpan (e.g., "02:00:00" for 2 hours).
time intervalRequest Formats
application/json, text/json, application/javascript
Sample:
"00:00:00.1234567"
application/xml, text/xml
Sample:
<TimeSpan xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Returns HTTP 204 (No Content) if the lock was successfully refreshed
IHttpActionResultNone.
Response Formats
application/json, text/json, application/javascript
Sample:
Sample not available.