GET api/logging/GetLogging

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Logging
NameDescriptionTypeAdditional information
LoggingId

integer

None.

VehicleId

integer

None.

ActivityId

integer

None.

LocationId

integer

None.

ClientId

integer

None.

Odometer

integer

None.

Stops

integer

None.

Update

string

None.

Comments

string

None.

LoggingDate

date

None.

LocationGeoCode

string

None.

LocationGPS

DbGeography

None.

PracticeId

integer

None.

DriverId

string

None.

AssistantId

string

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LoggingId": 1,
    "VehicleId": 1,
    "ActivityId": 1,
    "LocationId": 1,
    "ClientId": 1,
    "Odometer": 1,
    "Stops": 1,
    "Update": "sample string 2",
    "Comments": "sample string 3",
    "LoggingDate": "2024-12-21T05:46:23.7691142+00:00",
    "LocationGeoCode": "sample string 4",
    "LocationGPS": null,
    "PracticeId": 1,
    "DriverId": "sample string 5",
    "AssistantId": "sample string 6",
    "Longitude": 1.1,
    "Latitude": 1.1
  },
  {
    "LoggingId": 1,
    "VehicleId": 1,
    "ActivityId": 1,
    "LocationId": 1,
    "ClientId": 1,
    "Odometer": 1,
    "Stops": 1,
    "Update": "sample string 2",
    "Comments": "sample string 3",
    "LoggingDate": "2024-12-21T05:46:23.7691142+00:00",
    "LocationGeoCode": "sample string 4",
    "LocationGPS": null,
    "PracticeId": 1,
    "DriverId": "sample string 5",
    "AssistantId": "sample string 6",
    "Longitude": 1.1,
    "Latitude": 1.1
  }
]

text/html

Sample:
[{"LoggingId":1,"VehicleId":1,"ActivityId":1,"LocationId":1,"ClientId":1,"Odometer":1,"Stops":1,"Update":"sample string 2","Comments":"sample string 3","LoggingDate":"2024-12-21T05:46:23.7691142+00:00","LocationGeoCode":"sample string 4","LocationGPS":null,"PracticeId":1,"DriverId":"sample string 5","AssistantId":"sample string 6","Longitude":1.1,"Latitude":1.1},{"LoggingId":1,"VehicleId":1,"ActivityId":1,"LocationId":1,"ClientId":1,"Odometer":1,"Stops":1,"Update":"sample string 2","Comments":"sample string 3","LoggingDate":"2024-12-21T05:46:23.7691142+00:00","LocationGeoCode":"sample string 4","LocationGPS":null,"PracticeId":1,"DriverId":"sample string 5","AssistantId":"sample string 6","Longitude":1.1,"Latitude":1.1}]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[FleetAPI.DataModel.AspNetRole, FleetAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[FleetAPI.DataModel.AspNetRole, FleetAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.