PUT api/Note/UploadContactNoteFile?noteId={noteId}&folderId={folderId}&creatorName={creatorName}
Use this endpoint to upload file to contact (insured, prospect, etc...) note folder. Body must be of multipart/form-data content with appropriate headers. Only one file at a time is allowed to attach. To create a new folder under some specific folder,use CreateFolder end point by passing files->databaseId (of type 2 (Folder)) from GetNoteFilesList end point as a parent id. This will create new folder under specific folder. Use files->databaseId (of type 2 (Folder)) from GetNoteFilesList or data->databaseId from CreateFolder end point as a folder id in UploadContactNoteFile. This will upload file in that particular folder.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
noteId |
Database ID of an note. |
globally unique identifier |
Required |
folderId |
Database ID of subfolder. Optional parameter that you may pass to upload a file to a certain note files subfolder. |
globally unique identifier |
None. |
creatorName |
Name of the agent that will be set as file uploader if auth user exists for the agent. Optional. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Common API response.
NowCertsApiResultOfFileListName | Description | Type | Additional information |
---|---|---|---|
Status | ApiStatus |
None. |
|
Data | FileList |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
{ "status": 0, "data": { "databaseId": "f4956fb2-2f7a-4b6b-9b2c-81fcc30cfb2d", "name": "sample string 2", "path": "sample string 3", "downloadUrl": "sample string 4", "downloadUrlExpiresAtUtc": "2024-12-10T08:43:45.9874252-06:00", "type": 0, "mime": "sample string 5", "size": 6, "createDate": "2024-12-10T08:43:45.9874252-06:00", "changeDate": "2024-12-10T08:43:45.9874252-06:00", "creatorName": "sample string 9", "isInsuredVisibleFolder": true, "fileOrFolder": "sample string 11" }, "message": "sample string 1" }
application/xml, text/xml
<NowCertsApiResultOfFileListodPQ2rGR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Data> <ChangeDate>2024-12-10T08:43:45.9874252-06:00</ChangeDate> <CreateDate>2024-12-10T08:43:45.9874252-06:00</CreateDate> <CreatorName>sample string 9</CreatorName> <DatabaseId>f4956fb2-2f7a-4b6b-9b2c-81fcc30cfb2d</DatabaseId> <DownloadUrl>sample string 4</DownloadUrl> <DownloadUrlExpiresAtUtc>2024-12-10T08:43:45.9874252-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> </Data> <Message>sample string 1</Message> <Status>Error</Status> </NowCertsApiResultOfFileListodPQ2rGR>