GET api/Policy/GetPolicyFilesList?insuredId={insuredId}&policyId={policyId}&folderId={folderId}

Policy files list endpoint.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
insuredId

Database ID of a insured.

globally unique identifier

Required

policyId

Database ID of a policy.

globally unique identifier

Required

folderId

Database ID of subfolder. Optional parameter that you may pass to get a list of files from insured files subfolder.

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

List of files and folders from insured files folder.

NowCertsApiResultOfPolicyFiles
NameDescriptionTypeAdditional information
Status

ApiStatus

None.

Data

PolicyFiles

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "data": {
    "number": "sample string 1",
    "files": [
      {
        "databaseId": "d6cb7fa0-de93-49e1-9d1d-5a52cb35f82a",
        "name": "sample string 2",
        "path": "sample string 3",
        "downloadUrl": "sample string 4",
        "downloadUrlExpiresAtUtc": "2024-11-21T02:34:00.3669524-06:00",
        "type": 0,
        "mime": "sample string 5",
        "size": 6,
        "createDate": "2024-11-21T02:34:00.3669524-06:00",
        "changeDate": "2024-11-21T02:34:00.3669524-06:00",
        "creatorName": "sample string 9",
        "isInsuredVisibleFolder": true,
        "fileOrFolder": "sample string 11"
      },
      {
        "databaseId": "d6cb7fa0-de93-49e1-9d1d-5a52cb35f82a",
        "name": "sample string 2",
        "path": "sample string 3",
        "downloadUrl": "sample string 4",
        "downloadUrlExpiresAtUtc": "2024-11-21T02:34:00.3669524-06:00",
        "type": 0,
        "mime": "sample string 5",
        "size": 6,
        "createDate": "2024-11-21T02:34:00.3669524-06:00",
        "changeDate": "2024-11-21T02:34:00.3669524-06:00",
        "creatorName": "sample string 9",
        "isInsuredVisibleFolder": true,
        "fileOrFolder": "sample string 11"
      }
    ],
    "currentFolderId": "504492ee-c9ad-47d0-97fe-8f7bf5aec210"
  },
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<NowCertsApiResultOfPolicyFilesodPQ2rGR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Data>
    <CurrentFolderId>504492ee-c9ad-47d0-97fe-8f7bf5aec210</CurrentFolderId>
    <Files>
      <FileList>
        <ChangeDate>2024-11-21T02:34:00.3669524-06:00</ChangeDate>
        <CreateDate>2024-11-21T02:34:00.3669524-06:00</CreateDate>
        <CreatorName>sample string 9</CreatorName>
        <DatabaseId>d6cb7fa0-de93-49e1-9d1d-5a52cb35f82a</DatabaseId>
        <DownloadUrl>sample string 4</DownloadUrl>
        <DownloadUrlExpiresAtUtc>2024-11-21T02:34:00.3669524-06:00</DownloadUrlExpiresAtUtc>
        <FileOrFolder>sample string 11</FileOrFolder>
        <IsInsuredVisibleFolder>true</IsInsuredVisibleFolder>
        <MIME>sample string 5</MIME>
        <Name>sample string 2</Name>
        <Path>sample string 3</Path>
        <Size>6</Size>
        <Type>File</Type>
      </FileList>
      <FileList>
        <ChangeDate>2024-11-21T02:34:00.3669524-06:00</ChangeDate>
        <CreateDate>2024-11-21T02:34:00.3669524-06:00</CreateDate>
        <CreatorName>sample string 9</CreatorName>
        <DatabaseId>d6cb7fa0-de93-49e1-9d1d-5a52cb35f82a</DatabaseId>
        <DownloadUrl>sample string 4</DownloadUrl>
        <DownloadUrlExpiresAtUtc>2024-11-21T02:34:00.3669524-06:00</DownloadUrlExpiresAtUtc>
        <FileOrFolder>sample string 11</FileOrFolder>
        <IsInsuredVisibleFolder>true</IsInsuredVisibleFolder>
        <MIME>sample string 5</MIME>
        <Name>sample string 2</Name>
        <Path>sample string 3</Path>
        <Size>6</Size>
        <Type>File</Type>
      </FileList>
    </Files>
    <Number>sample string 1</Number>
  </Data>
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResultOfPolicyFilesodPQ2rGR>