POST VehicleInspections

Request Information

URI Parameters

None.

Body Parameters

NewVehicleInspectionDto
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

TruckId

integer

None.

TrailerId

integer

None.

TrailerRegistrationNumber

string

None.

TruckMileage

decimal number

None.

InspectionLatitude

decimal number

None.

InspectionLongitude

decimal number

None.

InspectionAddress

string

None.

SheetId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "TruckId": 1,
  "TrailerId": 1,
  "TrailerRegistrationNumber": "sample string 2",
  "TruckMileage": 1.0,
  "InspectionLatitude": 3.1,
  "InspectionLongitude": 4.1,
  "InspectionAddress": "sample string 5",
  "SheetId": 6
}

Response Information

Resource Description

Collection of BmwCbsInfoWrapperDto
NameDescriptionTypeAdditional information
Received

The last time the data is received

date

None.

List

The BmwCbsInfoDto's

Collection of BmwCbsInfoDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Received": "2022-01-26T21:51:56.824952+01:00",
    "List": [
      {
        "ServiceType": 64,
        "ServiceTypeString": "sample string 2",
        "ServiceCount": 64,
        "Percentage": 64,
        "DueKm": 5,
        "DueMonth": 64,
        "DueYear": 7,
        "ServiceStatus": 8,
        "ServiceStatusString": "sample string 9"
      },
      {
        "ServiceType": 64,
        "ServiceTypeString": "sample string 2",
        "ServiceCount": 64,
        "Percentage": 64,
        "DueKm": 5,
        "DueMonth": 64,
        "DueYear": 7,
        "ServiceStatus": 8,
        "ServiceStatusString": "sample string 9"
      }
    ]
  },
  {
    "Received": "2022-01-26T21:51:56.824952+01:00",
    "List": [
      {
        "ServiceType": 64,
        "ServiceTypeString": "sample string 2",
        "ServiceCount": 64,
        "Percentage": 64,
        "DueKm": 5,
        "DueMonth": 64,
        "DueYear": 7,
        "ServiceStatus": 8,
        "ServiceStatusString": "sample string 9"
      },
      {
        "ServiceType": 64,
        "ServiceTypeString": "sample string 2",
        "ServiceCount": 64,
        "Percentage": 64,
        "DueKm": 5,
        "DueMonth": 64,
        "DueYear": 7,
        "ServiceStatus": 8,
        "ServiceStatusString": "sample string 9"
      }
    ]
  }
]