GET api/Files/GetFileDirectUrl/{fileId}

Returns direct AWS URL for a file by specified ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fileId

File Database ID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Common API response with URL info.

NowCertsApiResultOfFileDirectUrlInfo
NameDescriptionTypeAdditional information
Status

ApiStatus

None.

Data

FileDirectUrlInfo

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "data": {
    "downloadUrl": "sample string 1",
    "downloadUrlExpiresAtUtc": "2024-12-06T14:55:04.6019867-06:00"
  },
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<NowCertsApiResultOfFileDirectUrlInfomXcRfcts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.File">
    <d2p1:DownloadUrl>sample string 1</d2p1:DownloadUrl>
    <d2p1:DownloadUrlExpiresAtUtc>2024-12-06T14:55:04.6019867-06:00</d2p1:DownloadUrlExpiresAtUtc>
  </Data>
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResultOfFileDirectUrlInfomXcRfcts>