GET api/driive/documentdownload/{driverId}/{token}/{documentId}

Get the document a driver can see

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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>