PUT api/Insured/UploadInsuredFile?insuredId={insuredId}&folderId={folderId}

Use this endpoint to upload file to insured folder. Body must be of multipart/form-data content with appropriate headers. Only one file at a time is allowed to attach.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
insuredId

Database ID of an insured.

globally unique identifier

Required

folderId

Database ID of subfolder. Optional parameter that you may pass to upload a file to a certain insured files subfolder.

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

Common API response.

NowCertsApiResultOfFileList
NameDescriptionTypeAdditional information
Status

ApiStatus

None.

Data

FileList

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "data": {
    "databaseId": "7cb1f9c9-670a-4132-9a62-55b383dd9228",
    "name": "sample string 2",
    "path": "sample string 3",
    "downloadUrl": "sample string 4",
    "downloadUrlExpiresAtUtc": "2021-08-03T06:43:43.0239837-05:00",
    "type": 0,
    "mime": "sample string 5",
    "size": 6,
    "createDate": "2021-08-03T06:43:43.0239837-05:00",
    "changeDate": "2021-08-03T06:43:43.0239837-05:00"
  },
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<NowCertsApiResultOfFileListodPQ2rGR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Data>
    <ChangeDate>2021-08-03T06:43:43.0239837-05:00</ChangeDate>
    <CreateDate>2021-08-03T06:43:43.0239837-05:00</CreateDate>
    <DatabaseId>7cb1f9c9-670a-4132-9a62-55b383dd9228</DatabaseId>
    <DownloadUrl>sample string 4</DownloadUrl>
    <DownloadUrlExpiresAtUtc>2021-08-03T06:43:43.0239837-05:00</DownloadUrlExpiresAtUtc>
    <MIME>sample string 5</MIME>
    <Name>sample string 2</Name>
    <Path>sample string 3</Path>
    <Size>6</Size>
    <Type>File</Type>
  </Data>
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResultOfFileListodPQ2rGR>