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": {
    "databaseId": "caedfcd8-21f4-4293-8280-3c5480652a6c",
    "active": true,
    "number": "sample string 3",
    "effectiveDate": "2021-08-03T05:36:50.0359243-05:00",
    "expirationDate": "2021-08-03T05:36:50.0359243-05:00",
    "rootFolderDatabaseId": "8e93da98-6130-4ca1-883a-df5361bed756",
    "files": [
      {
        "databaseId": "82a21276-f3ea-4fc2-bc64-a17f7244c313",
        "name": "sample string 2",
        "path": "sample string 3",
        "downloadUrl": "sample string 4",
        "downloadUrlExpiresAtUtc": "2021-08-03T05:36:50.0359243-05:00",
        "type": 0,
        "mime": "sample string 5",
        "size": 6,
        "createDate": "2021-08-03T05:36:50.0359243-05:00",
        "changeDate": "2021-08-03T05:36:50.0359243-05:00"
      },
      {
        "databaseId": "82a21276-f3ea-4fc2-bc64-a17f7244c313",
        "name": "sample string 2",
        "path": "sample string 3",
        "downloadUrl": "sample string 4",
        "downloadUrlExpiresAtUtc": "2021-08-03T05:36:50.0359243-05:00",
        "type": 0,
        "mime": "sample string 5",
        "size": 6,
        "createDate": "2021-08-03T05:36:50.0359243-05:00",
        "changeDate": "2021-08-03T05:36:50.0359243-05:00"
      }
    ]
  },
  "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>
    <Active>true</Active>
    <DatabaseId>caedfcd8-21f4-4293-8280-3c5480652a6c</DatabaseId>
    <EffectiveDate>2021-08-03T05:36:50.0359243-05:00</EffectiveDate>
    <ExpirationDate>2021-08-03T05:36:50.0359243-05:00</ExpirationDate>
    <Files>
      <FileList>
        <ChangeDate>2021-08-03T05:36:50.0359243-05:00</ChangeDate>
        <CreateDate>2021-08-03T05:36:50.0359243-05:00</CreateDate>
        <DatabaseId>82a21276-f3ea-4fc2-bc64-a17f7244c313</DatabaseId>
        <DownloadUrl>sample string 4</DownloadUrl>
        <DownloadUrlExpiresAtUtc>2021-08-03T05:36:50.0359243-05:00</DownloadUrlExpiresAtUtc>
        <MIME>sample string 5</MIME>
        <Name>sample string 2</Name>
        <Path>sample string 3</Path>
        <Size>6</Size>
        <Type>File</Type>
      </FileList>
      <FileList>
        <ChangeDate>2021-08-03T05:36:50.0359243-05:00</ChangeDate>
        <CreateDate>2021-08-03T05:36:50.0359243-05:00</CreateDate>
        <DatabaseId>82a21276-f3ea-4fc2-bc64-a17f7244c313</DatabaseId>
        <DownloadUrl>sample string 4</DownloadUrl>
        <DownloadUrlExpiresAtUtc>2021-08-03T05:36:50.0359243-05:00</DownloadUrlExpiresAtUtc>
        <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 3</Number>
    <RootFolderDatabaseId>8e93da98-6130-4ca1-883a-df5361bed756</RootFolderDatabaseId>
  </Data>
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResultOfPolicyFilesodPQ2rGR>