PUT api/Driver/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Driver_Backend
NameDescriptionTypeAdditional information
ID

integer

None.

Agency

Agency

None.

DriverId

integer

None.

LoginId

integer

None.

FirstName

string

None.

LastName

string

None.

Password

string

None.

Active

boolean

None.

VersionNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Agency": {
    "ID": 1,
    "AgencyName": "sample string 2",
    "AgencyAddress": "sample string 3",
    "AgencyCity": "sample string 4",
    "AgencyState": "sample string 5",
    "AgencyZip": "sample string 6",
    "Active": true,
    "Interoperable": true
  },
  "DriverId": 2,
  "LoginId": 3,
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "Password": "sample string 6",
  "Active": true,
  "VersionNumber": 8
}

application/xml, text/xml

Sample:
<Driver_Backend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FareBackEndData.FrontEndObj">
  <Active xmlns="http://schemas.datacontract.org/2004/07/FareFrontEndData">true</Active>
  <VersionNumber xmlns="http://schemas.datacontract.org/2004/07/FareFrontEndData">8</VersionNumber>
  <DriverId xmlns="http://schemas.datacontract.org/2004/07/FareFrontEndData">2</DriverId>
  <FirstName xmlns="http://schemas.datacontract.org/2004/07/FareFrontEndData">sample string 4</FirstName>
  <LastName xmlns="http://schemas.datacontract.org/2004/07/FareFrontEndData">sample string 5</LastName>
  <LoginId xmlns="http://schemas.datacontract.org/2004/07/FareFrontEndData">3</LoginId>
  <Password xmlns="http://schemas.datacontract.org/2004/07/FareFrontEndData">sample string 6</Password>
  <Agency xmlns:d2p1="http://schemas.datacontract.org/2004/07/FareBackEndData">
    <d2p1:Active>true</d2p1:Active>
    <d2p1:AgencyAddress>sample string 3</d2p1:AgencyAddress>
    <d2p1:AgencyCity>sample string 4</d2p1:AgencyCity>
    <d2p1:AgencyName>sample string 2</d2p1:AgencyName>
    <d2p1:AgencyState>sample string 5</d2p1:AgencyState>
    <d2p1:AgencyZip>sample string 6</d2p1:AgencyZip>
    <d2p1:ID>1</d2p1:ID>
    <d2p1:Interoperable>true</d2p1:Interoperable>
  </Agency>
  <ID>1</ID>
</Driver_Backend>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.