PushFleetDriver
Creates or updates fleet drivers based on FleetDriverId.
Request Information
Parameters
FleetDriverPushRequest
Name | Description | Type | Additional information |
FleetDriverId |
|
integer
|
|
VehicleId |
|
integer
|
|
FirstName |
|
string
|
|
LastName |
|
string
|
|
MiddleName |
|
string
|
|
CompanyName |
|
string
|
|
DriverIdNumber |
|
string
|
|
VehicleIdNumber |
|
string
|
|
PoNumber |
|
string
|
|
Address1 |
|
string
|
|
Address2 |
|
string
|
|
City |
|
string
|
|
State |
|
string
|
|
ZipCode |
|
string
|
|
County |
|
string
|
|
HomePhone |
|
string
|
|
WorkPhone |
|
string
|
|
CellPhone |
|
string
|
|
Email |
|
string
|
|
Notes |
|
string
|
|
PreferredContactMethod |
|
ContactMethod
|
|
PreferredLanguageCode |
|
LanguageCode
|
|
ServiceLocationId |
|
integer
|
|
Sample Request
<ApiFleetDriverPushRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DealerBuilt.BaseApi">
<Address1>sample string 8</Address1>
<Address2>sample string 9</Address2>
<CellPhone>sample string 16</CellPhone>
<City>sample string 10</City>
<CompanyName>sample string 4</CompanyName>
<County>sample string 13</County>
<DriverIdNumber>sample string 5</DriverIdNumber>
<Email>sample string 17</Email>
<FirstName>sample string 1</FirstName>
<FleetDriverId>1</FleetDriverId>
<HomePhone>sample string 14</HomePhone>
<LastName>sample string 2</LastName>
<MiddleName>sample string 3</MiddleName>
<Notes>sample string 18</Notes>
<PoNumber>sample string 7</PoNumber>
<PreferredContactMethod>HomePhone</PreferredContactMethod>
<PreferredLanguageCode>EnglishUS</PreferredLanguageCode>
<ServiceLocationId>19</ServiceLocationId>
<State>sample string 11</State>
<VehicleId>1</VehicleId>
<VehicleIdNumber>sample string 6</VehicleIdNumber>
<WorkPhone>sample string 15</WorkPhone>
<ZipCode>sample string 12</ZipCode>
</ApiFleetDriverPushRequest>
Response Information
Resource Description
FleetDriverPushResponse
Name | Description | Type | Additional information |
PushedRecordKey |
|
string
|
|
PushResult |
|
PushResult
|
|
Message |
|
string
|
|
ExternalRecordId |
|
string
|
|
Sample Response
<ApiFleetDriverPushResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DealerBuilt.BaseApi">
<ExternalRecordId>sample string 4</ExternalRecordId>
<Message>sample string 3</Message>
<PushResult>Unprocessed</PushResult>
<PushedRecordKey>sample string 2</PushedRecordKey>
</ApiFleetDriverPushResponse>