PUT api/Logbook

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "UserID": 2,
    "Type": 1,
    "DateTime": "2024-10-05T14:26:34.7111261+02:00",
    "Place": "sample string 4",
    "KM": 5,
    "Changed": "2024-10-05T14:26:34.7111261+02:00",
    "Deleted": true
  },
  {
    "ID": 1,
    "UserID": 2,
    "Type": 1,
    "DateTime": "2024-10-05T14:26:34.7111261+02:00",
    "Place": "sample string 4",
    "KM": 5,
    "Changed": "2024-10-05T14:26:34.7111261+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:26:34.7111261+02:00</Changed>
    <DateTime>2024-10-05T14:26:34.7111261+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:26:34.7111261+02:00</Changed>
    <DateTime>2024-10-05T14:26:34.7111261+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>

application/x-www-form-urlencoded

Sample:

Sample not available.

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:26:34.7111261+02:00",
    "Place": "sample string 4",
    "KM": 5,
    "Changed": "2024-10-05T14:26:34.7111261+02:00",
    "Deleted": true
  },
  {
    "ID": 1,
    "UserID": 2,
    "Type": 1,
    "DateTime": "2024-10-05T14:26:34.7111261+02:00",
    "Place": "sample string 4",
    "KM": 5,
    "Changed": "2024-10-05T14:26:34.7111261+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:26:34.7111261+02:00</Changed>
    <DateTime>2024-10-05T14:26:34.7111261+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:26:34.7111261+02:00</Changed>
    <DateTime>2024-10-05T14:26:34.7111261+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>