GET api/Logbook

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of LogbookEntry
NameDescriptionTypeAdditional information
ID

integer

None.

UserID

integer

None.

Type

LogbookEntryType

None.

DateTime

date

None.

Place

string

None.

KM

integer

None.

Changed

date

None.

Deleted

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "UserID": 2,
    "Type": 1,
    "DateTime": "2024-10-05T14:23:05.1481684+02:00",
    "Place": "sample string 4",
    "KM": 5,
    "Changed": "2024-10-05T14:23:05.1481684+02:00",
    "Deleted": true
  },
  {
    "ID": 1,
    "UserID": 2,
    "Type": 1,
    "DateTime": "2024-10-05T14:23:05.1481684+02:00",
    "Place": "sample string 4",
    "KM": 5,
    "Changed": "2024-10-05T14:23:05.1481684+02:00",
    "Deleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfLogbookEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Multitool.Shared.Models">
  <LogbookEntry>
    <Changed>2024-10-05T14:23:05.1481684+02:00</Changed>
    <DateTime>2024-10-05T14:23:05.1481684+02:00</DateTime>
    <Deleted>true</Deleted>
    <ID>1</ID>
    <KM>5</KM>
    <Place>sample string 4</Place>
    <Type>Departure</Type>
    <UserID>2</UserID>
  </LogbookEntry>
  <LogbookEntry>
    <Changed>2024-10-05T14:23:05.1481684+02:00</Changed>
    <DateTime>2024-10-05T14:23:05.1481684+02:00</DateTime>
    <Deleted>true</Deleted>
    <ID>1</ID>
    <KM>5</KM>
    <Place>sample string 4</Place>
    <Type>Departure</Type>
    <UserID>2</UserID>
  </LogbookEntry>
</ArrayOfLogbookEntry>