GET 17.0/database/keyhistory/defaultmodel

Description

Get a Key History model with default values

URI Parameters

None.

None.

None.

Name Description Type Additional information
ID

integer

None.

KeyID

integer

None.

SignedOutDate

date

None.

SignedOutUserID

integer

None.

ContactID

integer

None.

Status

byte

None.

ExpectedReturnDate

date

None.

ReturnedDate

date

None.

ReturnedUserID

integer

None.

application/json, text/json

Sample:
{
  "id": 1,
  "keyID": 2,
  "signedOutDate": "2025-01-09T20:26",
  "signedOutUserID": 4,
  "contactID": 5,
  "status": 64,
  "expectedReturnDate": "2025-01-09T20:26",
  "returnedDate": "2025-01-09T20:26",
  "returnedUserID": 9
}

application/xml, text/xml

Sample:
<KeyHistory xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <KeyID>2</KeyID>
  <SignedOutDate>2025-01-09T20:26:47.176616+00:00</SignedOutDate>
  <SignedOutUserID>4</SignedOutUserID>
  <ContactID>5</ContactID>
  <Status>64</Status>
  <ExpectedReturnDate>2025-01-09T20:26:47.176616+00:00</ExpectedReturnDate>
  <ReturnedDate>2025-01-09T20:26:47.176616+00:00</ReturnedDate>
  <ReturnedUserID>9</ReturnedUserID>
</KeyHistory>