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": "2021-08-03T06:35:25.9221101-05: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>2021-08-03T06:35:25.9221101-05:00</d2p1:DownloadUrlExpiresAtUtc>
  </Data>
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResultOfFileDirectUrlInfomXcRfcts>