POST 17.0/database/keyhistory

Description

Create Key History

URI Parameters

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": 1,
  "signedOutDate": "2025-01-09T20:42",
  "signedOutUserID": 1,
  "contactID": 1,
  "status": 64,
  "expectedReturnDate": "2025-01-09T20:42",
  "returnedDate": "2025-01-09T20:42",
  "returnedUserID": 1
}

application/xml, text/xml

Sample:
<KeyHistoryUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <KeyID>1</KeyID>
  <SignedOutDate>2025-01-09T20:42:23.8015681+00:00</SignedOutDate>
  <SignedOutUserID>1</SignedOutUserID>
  <ContactID>1</ContactID>
  <Status>64</Status>
  <ExpectedReturnDate>2025-01-09T20:42:23.8015681+00:00</ExpectedReturnDate>
  <ReturnedDate>2025-01-09T20:42:23.8015681+00:00</ReturnedDate>
  <ReturnedUserID>1</ReturnedUserID>
</KeyHistoryUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

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:42",
  "signedOutUserID": 4,
  "contactID": 5,
  "status": 64,
  "expectedReturnDate": "2025-01-09T20:42",
  "returnedDate": "2025-01-09T20:42",
  "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:42:23.8015681+00:00</SignedOutDate>
  <SignedOutUserID>4</SignedOutUserID>
  <ContactID>5</ContactID>
  <Status>64</Status>
  <ExpectedReturnDate>2025-01-09T20:42:23.8015681+00:00</ExpectedReturnDate>
  <ReturnedDate>2025-01-09T20:42:23.8015681+00:00</ReturnedDate>
  <ReturnedUserID>9</ReturnedUserID>
</KeyHistory>