GET api/Logs/{id}

Returns a log entry.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the log entry to return.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

LogEntry
NameDescriptionTypeAdditional information
Id

The ID of the log entry.

globally unique identifier

Required

Category

The category of the log entry. Where: 6 is "AddCommunicationKey"; 7 is "UpdateCommunicationKey"; 8 is "DeleteCommunicationKey"; 9 is "AddKeySeed"; 10 is "UpdateKeySeed"; 11 is "DeleteKeySeed".

byte

Required

Timestamp

The date when the log entry was added (in the ISO 8601 format).

date

Required

RequestUrl

The URL of the request that produced this log entry.

string

None.

RequestBody

The body of the request that produced this log entry.

string

None.

AuthenticationCredentialId

The ID of the credential that was used for authentication.

string

None.

AuthenticationType

The type of authentication that was used.

string

None.

Status Codes

All HTTP status codes must be expected, but the following status codes are the most probable:

  • OK (200) - The log entry is found and returned.
  • BadRequest (400) - The ID of a log entry is invalid.
  • NotFound (404) - The log entry with the specified ID is not found.

Response Formats

application/json, text/json

Sample:
{
  "Id": "c61fc983-31ef-460a-936c-ceb4f9994a26",
  "Category": 64,
  "Timestamp": "2026-01-15T09:20:16.7214938+00:00",
  "RequestUrl": "sample string 4",
  "RequestBody": "sample string 5",
  "AuthenticationCredentialId": "sample string 6",
  "AuthenticationType": "sample string 7"
}