PUT Driver/{id}
Update an existing Driver.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Internal Id of the Driver to Update |
integer |
Required |
Body Parameters
A DriverRestResult object
DriverRestItemName | Description | Type | Additional information |
---|---|---|---|
Nationality | string |
None. |
|
DriverLicenceExpirationDate | date |
None. |
|
DateOfBirth | date |
None. |
|
MobilePhone | string |
None. |
|
HomePhone | string |
None. |
|
InactivationDate | date |
None. |
|
IdentificationCardNumber | string |
None. |
|
DriversLicense | string |
None. |
|
Qualification | string |
None. |
|
string |
None. |
||
OfficePhone | string |
None. |
|
CompanyPosition | string |
None. |
|
IdentificationCardExpirationDate |
Driver ID will expire at this date. |
date |
None. |
DriverEligibilityLevel |
Driver qualification. |
byte |
None. |
FkDepartmentId | integer |
None. |
|
DepartmentName | string |
None. |
|
FkDefaultGarageId | integer |
None. |
|
DefaultGarageName | string |
None. |
|
FkAgencyId | integer |
None. |
|
AgencyName | string |
None. |
|
Id |
Primary Key. |
integer |
None. |
LastName |
External FirstName. |
string |
None. |
FirstName |
FirstName for the Driver. |
string |
None. |
Tag |
Tag for the Driver. |
string |
None. |
Alerts |
Enumeration of warnings or messages for this driver. For example: "Driver's license will expire in 40 days." |
Collection of string |
None. |
DriverGroups |
DriverGroups |
Collection of integer |
None. |
AssignedAssetCode | string |
None. |
|
AssignedAssetStartDate | date |
None. |
|
AssignedAssetEndDate | date |
None. |
|
ErpCode | string |
None. |
|
Comments | string |
None. |
Request Formats
application/json, text/json
{ "Nationality": "sample string 1", "DriverLicenceExpirationDate": "2025-01-05T02:21:46.4399571+01:00", "DateOfBirth": "2025-01-05T02:21:46.4399571+01:00", "MobilePhone": "sample string 2", "HomePhone": "sample string 3", "InactivationDate": "2025-01-05T02:21:46.4399571+01:00", "IdentificationCardNumber": "sample string 4", "DriversLicense": "sample string 5", "Qualification": "sample string 6", "Email": "sample string 7", "OfficePhone": "sample string 8", "CompanyPosition": "sample string 9", "IdentificationCardExpirationDate": "2025-01-05T02:21:46.4399571+01:00", "DriverEligibilityLevel": 64, "FkDepartmentId": 1, "DepartmentName": "sample string 10", "FkDefaultGarageId": 1, "DefaultGarageName": "sample string 11", "FkAgencyId": 1, "AgencyName": "sample string 12", "Id": 13, "LastName": "sample string 14", "FirstName": "sample string 15", "Tag": "sample string 16", "Alerts": [ "sample string 1", "sample string 2" ], "DriverGroups": [ 1, 2 ], "AssignedAssetCode": "sample string 17", "AssignedAssetStartDate": "2025-01-05T02:21:46.4399571+01:00", "AssignedAssetEndDate": "2025-01-05T02:21:46.4399571+01:00", "ErpCode": "sample string 19", "Comments": "sample string 20" }
application/xml, text/xml
<DriverRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <AgencyName>sample string 12</AgencyName> <Alerts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Alerts> <AssignedAssetCode>sample string 17</AssignedAssetCode> <AssignedAssetEndDate>2025-01-05T02:21:46.4399571+01:00</AssignedAssetEndDate> <AssignedAssetStartDate>2025-01-05T02:21:46.4399571+01:00</AssignedAssetStartDate> <Comments>sample string 20</Comments> <CompanyPosition>sample string 9</CompanyPosition> <DateOfBirth>2025-01-05T02:21:46.4399571+01:00</DateOfBirth> <DefaultGarageName>sample string 11</DefaultGarageName> <DepartmentName>sample string 10</DepartmentName> <DriverEligibilityLevel>64</DriverEligibilityLevel> <DriverGroups xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </DriverGroups> <DriverLicenceExpirationDate>2025-01-05T02:21:46.4399571+01:00</DriverLicenceExpirationDate> <DriversLicense>sample string 5</DriversLicense> <Email>sample string 7</Email> <ErpCode>sample string 19</ErpCode> <FirstName>sample string 15</FirstName> <FkAgencyId>1</FkAgencyId> <FkDefaultGarageId>1</FkDefaultGarageId> <FkDepartmentId>1</FkDepartmentId> <HomePhone>sample string 3</HomePhone> <Id>13</Id> <IdentificationCardExpirationDate>2025-01-05T02:21:46.4399571+01:00</IdentificationCardExpirationDate> <IdentificationCardNumber>sample string 4</IdentificationCardNumber> <InactivationDate>2025-01-05T02:21:46.4399571+01:00</InactivationDate> <LastName>sample string 14</LastName> <MobilePhone>sample string 2</MobilePhone> <Nationality>sample string 1</Nationality> <OfficePhone>sample string 8</OfficePhone> <Qualification>sample string 6</Qualification> <Tag>sample string 16</Tag> </DriverRestItem>
application/x-www-form-urlencoded
Response Information
Resource Description
DriverRestItemName | Description | Type | Additional information |
---|---|---|---|
Nationality | string |
None. |
|
DriverLicenceExpirationDate | date |
None. |
|
DateOfBirth | date |
None. |
|
MobilePhone | string |
None. |
|
HomePhone | string |
None. |
|
InactivationDate | date |
None. |
|
IdentificationCardNumber | string |
None. |
|
DriversLicense | string |
None. |
|
Qualification | string |
None. |
|
string |
None. |
||
OfficePhone | string |
None. |
|
CompanyPosition | string |
None. |
|
IdentificationCardExpirationDate |
Driver ID will expire at this date. |
date |
None. |
DriverEligibilityLevel |
Driver qualification. |
byte |
None. |
FkDepartmentId | integer |
None. |
|
DepartmentName | string |
None. |
|
FkDefaultGarageId | integer |
None. |
|
DefaultGarageName | string |
None. |
|
FkAgencyId | integer |
None. |
|
AgencyName | string |
None. |
|
Id |
Primary Key. |
integer |
None. |
LastName |
External FirstName. |
string |
None. |
FirstName |
FirstName for the Driver. |
string |
None. |
Tag |
Tag for the Driver. |
string |
None. |
Alerts |
Enumeration of warnings or messages for this driver. For example: "Driver's license will expire in 40 days." |
Collection of string |
None. |
DriverGroups |
DriverGroups |
Collection of integer |
None. |
AssignedAssetCode | string |
None. |
|
AssignedAssetStartDate | date |
None. |
|
AssignedAssetEndDate | date |
None. |
|
ErpCode | string |
None. |
|
Comments | string |
None. |
Response Formats
application/json, text/json
{ "Nationality": "sample string 1", "DriverLicenceExpirationDate": "2025-01-05T02:21:46.4404911+01:00", "DateOfBirth": "2025-01-05T02:21:46.4404911+01:00", "MobilePhone": "sample string 2", "HomePhone": "sample string 3", "InactivationDate": "2025-01-05T02:21:46.4404911+01:00", "IdentificationCardNumber": "sample string 4", "DriversLicense": "sample string 5", "Qualification": "sample string 6", "Email": "sample string 7", "OfficePhone": "sample string 8", "CompanyPosition": "sample string 9", "IdentificationCardExpirationDate": "2025-01-05T02:21:46.4404911+01:00", "DriverEligibilityLevel": 64, "FkDepartmentId": 1, "DepartmentName": "sample string 10", "FkDefaultGarageId": 1, "DefaultGarageName": "sample string 11", "FkAgencyId": 1, "AgencyName": "sample string 12", "Id": 13, "LastName": "sample string 14", "FirstName": "sample string 15", "Tag": "sample string 16", "Alerts": [ "sample string 1", "sample string 2" ], "DriverGroups": [ 1, 2 ], "AssignedAssetCode": "sample string 17", "AssignedAssetStartDate": "2025-01-05T02:21:46.4404911+01:00", "AssignedAssetEndDate": "2025-01-05T02:21:46.4404911+01:00", "ErpCode": "sample string 19", "Comments": "sample string 20" }
application/xml, text/xml
<DriverRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <AgencyName>sample string 12</AgencyName> <Alerts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Alerts> <AssignedAssetCode>sample string 17</AssignedAssetCode> <AssignedAssetEndDate>2025-01-05T02:21:46.4404911+01:00</AssignedAssetEndDate> <AssignedAssetStartDate>2025-01-05T02:21:46.4404911+01:00</AssignedAssetStartDate> <Comments>sample string 20</Comments> <CompanyPosition>sample string 9</CompanyPosition> <DateOfBirth>2025-01-05T02:21:46.4404911+01:00</DateOfBirth> <DefaultGarageName>sample string 11</DefaultGarageName> <DepartmentName>sample string 10</DepartmentName> <DriverEligibilityLevel>64</DriverEligibilityLevel> <DriverGroups xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </DriverGroups> <DriverLicenceExpirationDate>2025-01-05T02:21:46.4404911+01:00</DriverLicenceExpirationDate> <DriversLicense>sample string 5</DriversLicense> <Email>sample string 7</Email> <ErpCode>sample string 19</ErpCode> <FirstName>sample string 15</FirstName> <FkAgencyId>1</FkAgencyId> <FkDefaultGarageId>1</FkDefaultGarageId> <FkDepartmentId>1</FkDepartmentId> <HomePhone>sample string 3</HomePhone> <Id>13</Id> <IdentificationCardExpirationDate>2025-01-05T02:21:46.4404911+01:00</IdentificationCardExpirationDate> <IdentificationCardNumber>sample string 4</IdentificationCardNumber> <InactivationDate>2025-01-05T02:21:46.4404911+01:00</InactivationDate> <LastName>sample string 14</LastName> <MobilePhone>sample string 2</MobilePhone> <Nationality>sample string 1</Nationality> <OfficePhone>sample string 8</OfficePhone> <Qualification>sample string 6</Qualification> <Tag>sample string 16</Tag> </DriverRestItem>