GET api/driive/documentdownload/{driverId}/{token}/{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
DriiveDocumentDownloadResponseName | Description | Type | Additional information |
---|---|---|---|
FileExpiryDate | date |
None. |
|
FileURL | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "FileExpiryDate": "2025-04-27T16:37:12.036974+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-04-27T16:37:12.036974+00:00</FileExpiryDate> <FileURL>sample string 2</FileURL> </DriiveDocumentDownloadResponse>