GET api/DriverMileModelApi/GetDriverMileByDriverID?driverId={driverId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
driverId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DriverMileModelApi
NameDescriptionTypeAdditional information
ID

integer

None.

DateTime

date

None.

DriverID

integer

None.

Driver

string

None.

TruckID

integer

None.

Truck

string

None.

Title

string

None.

State

string

None.

Miles

decimal number

None.

CreatedDateTime

date

None.

ModifiedDateTime

date

None.

Closed

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "DateTime": "2024-07-24T18:13:31.4461758+00:00",
    "DriverID": 3,
    "Driver": "sample string 4",
    "TruckID": 5,
    "Truck": "sample string 6",
    "Title": "sample string 7",
    "State": "sample string 8",
    "Miles": 9.1,
    "CreatedDateTime": "2024-07-24T18:13:31.4461758+00:00",
    "ModifiedDateTime": "2024-07-24T18:13:31.4461758+00:00",
    "Closed": true
  },
  {
    "ID": 1,
    "DateTime": "2024-07-24T18:13:31.4461758+00:00",
    "DriverID": 3,
    "Driver": "sample string 4",
    "TruckID": 5,
    "Truck": "sample string 6",
    "Title": "sample string 7",
    "State": "sample string 8",
    "Miles": 9.1,
    "CreatedDateTime": "2024-07-24T18:13:31.4461758+00:00",
    "ModifiedDateTime": "2024-07-24T18:13:31.4461758+00:00",
    "Closed": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfDriverMileModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DriverMileModelApi>
    <ID>1</ID>
    <DateTime>2024-07-24T18:13:31.4461758+00:00</DateTime>
    <DriverID>3</DriverID>
    <Driver>sample string 4</Driver>
    <TruckID>5</TruckID>
    <Truck>sample string 6</Truck>
    <Title>sample string 7</Title>
    <State>sample string 8</State>
    <Miles>9.1</Miles>
    <CreatedDateTime>2024-07-24T18:13:31.4461758+00:00</CreatedDateTime>
    <ModifiedDateTime>2024-07-24T18:13:31.4461758+00:00</ModifiedDateTime>
    <Closed>true</Closed>
  </DriverMileModelApi>
  <DriverMileModelApi>
    <ID>1</ID>
    <DateTime>2024-07-24T18:13:31.4461758+00:00</DateTime>
    <DriverID>3</DriverID>
    <Driver>sample string 4</Driver>
    <TruckID>5</TruckID>
    <Truck>sample string 6</Truck>
    <Title>sample string 7</Title>
    <State>sample string 8</State>
    <Miles>9.1</Miles>
    <CreatedDateTime>2024-07-24T18:13:31.4461758+00:00</CreatedDateTime>
    <ModifiedDateTime>2024-07-24T18:13:31.4461758+00:00</ModifiedDateTime>
    <Closed>true</Closed>
  </DriverMileModelApi>
</ArrayOfDriverMileModelApi>