GET api/driive/documentdownload?driverId={driverId}&token={token}&documentId={documentId}
Get the document a driver can see
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| driverId |
The driver id |
unsigned integer |
Required |
| token |
The driver token |
string |
Required |
| documentId |
The id of the document to download |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DriiveDocumentResponse
DriiveDocumentDownloadResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| FileExpiryDate | date |
None. |
|
| FileURL | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"FileExpiryDate": "2025-12-14T06:13:26.6583589+00:00",
"FileURL": "sample string 2"
}
application/xml, text/xml
Sample:
<DriiveDocumentDownloadResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FileExpiryDate>2025-12-14T06:13:26.6583589+00:00</FileExpiryDate> <FileURL>sample string 2</FileURL> </DriiveDocumentDownloadResponse>