GET GetDriverDetails?Username={Username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Username

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Driver
NameDescriptionTypeAdditional information
id

integer

None.

UserId

string

None.

OwnerId

string

None.

TaxiId

integer

None.

Active

boolean

None.

FirstName

string

None.

LastName

string

None.

SalaryDate

integer

None.

Weekly

boolean

None.

Rate

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "UserId": "sample string 2",
    "OwnerId": "sample string 3",
    "TaxiId": 1,
    "Active": true,
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "SalaryDate": 1,
    "Weekly": true,
    "Rate": 1.1
  },
  {
    "id": 1,
    "UserId": "sample string 2",
    "OwnerId": "sample string 3",
    "TaxiId": 1,
    "Active": true,
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "SalaryDate": 1,
    "Weekly": true,
    "Rate": 1.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfDriver xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaITBackend.Models">
  <Driver>
    <Active>true</Active>
    <FirstName>sample string 4</FirstName>
    <LastName>sample string 5</LastName>
    <OwnerId>sample string 3</OwnerId>
    <Rate>1.1</Rate>
    <SalaryDate>1</SalaryDate>
    <TaxiId>1</TaxiId>
    <UserId>sample string 2</UserId>
    <Weekly>true</Weekly>
    <id>1</id>
  </Driver>
  <Driver>
    <Active>true</Active>
    <FirstName>sample string 4</FirstName>
    <LastName>sample string 5</LastName>
    <OwnerId>sample string 3</OwnerId>
    <Rate>1.1</Rate>
    <SalaryDate>1</SalaryDate>
    <TaxiId>1</TaxiId>
    <UserId>sample string 2</UserId>
    <Weekly>true</Weekly>
    <id>1</id>
  </Driver>
</ArrayOfDriver>