POST 17.0/app/keys/updatekeyhistory

Description

Updates an existing key history record to mark it as returned.

URI Parameters

None.

The update request.

Name Description Type Additional information
KeyHistoryId

integer

None.

ReturnedDate

date

None.

ReturnedUserId

integer

None.

application/json, text/json

Sample:
{
  "keyHistoryId": 1,
  "returnedDate": "2025-10-28T20:32",
  "returnedUserId": 3
}

application/xml, text/xml

Sample:
<UpdateKeyHistoryItem xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <KeyHistoryId>1</KeyHistoryId>
  <ReturnedDate>2025-10-28T20:32:27.6228724+00:00</ReturnedDate>
  <ReturnedUserId>3</ReturnedUserId>
</UpdateKeyHistoryItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

A object containing the ID of the updated key history record.

Name Description Type Additional information
Id

integer

None.

application/json, text/json

Sample:
{
  "id": 1
}

application/xml, text/xml

Sample:
<NewRecord xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
</NewRecord>