POST api/Zapier/InsertNotesForSameInsured
Insert notes against all insured having same name/phone number or email address.
Request Information
URI Parameters
None.
Body Parameters
NoteIntegrationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| database_id | globally unique identifier |
None. |
|
| subject | string |
None. |
|
| insured_database_id | globally unique identifier |
None. |
|
| insured_email | string |
None. |
|
| insured_first_name | string |
None. |
|
| insured_last_name | string |
None. |
|
| insured_commercial_name | string |
None. |
|
| create_date | string |
None. |
|
| creator_name | string |
None. |
|
| type | string |
None. |
|
| parent_note_id | globally unique identifier |
None. |
|
| hide | boolean |
None. |
|
| policy_database_id | globally unique identifier |
None. |
|
| policies_database_ids | Collection of globally unique identifier |
None. |
|
| origin | PolicyOrigin |
None. |
|
| taskId | globally unique identifier |
None. |
|
| is_sticky_note | boolean |
None. |
|
| sticky_note_color | StickyNoteColor |
None. |
|
| opportunity_database_id | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"database_id": "8b9823e0-dfb7-4c09-b4e0-6af7572e64f5",
"subject": "sample string 2",
"insured_database_id": "c2931667-1d0e-4da1-a4a9-05e309c538d9",
"insured_email": "sample string 3",
"insured_first_name": "sample string 4",
"insured_last_name": "sample string 5",
"insured_commercial_name": "sample string 6",
"create_date": "sample string 7",
"creator_name": "sample string 8",
"type": "sample string 9",
"parent_note_id": "101a157b-045f-4b37-9d12-ec5e0771064a",
"hide": true,
"policy_database_id": "420add9c-284e-4939-8e75-3f9f781c5759",
"policies_database_ids": [
"54a82878-1d1d-4b3c-9963-a10ccd2e2b5b",
"d6e87d84-12d9-46b3-9e1f-35c6bffd5cfc"
],
"origin": 0,
"taskId": "7cd3ad68-e32a-4d9c-a8ac-42d8cd73ed1c",
"is_sticky_note": true,
"sticky_note_color": 0,
"opportunity_database_id": "f11a26c0-f514-4760-80df-d5f5ccac6892"
}
application/xml, text/xml
Sample:
<NoteIntegrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations">
<CreateDate>sample string 7</CreateDate>
<CreatorName>sample string 8</CreatorName>
<DatabaseId>8b9823e0-dfb7-4c09-b4e0-6af7572e64f5</DatabaseId>
<Hide>true</Hide>
<InsuredCommercialName>sample string 6</InsuredCommercialName>
<InsuredDatabaseId>c2931667-1d0e-4da1-a4a9-05e309c538d9</InsuredDatabaseId>
<InsuredEmail>sample string 3</InsuredEmail>
<InsuredFirstName>sample string 4</InsuredFirstName>
<InsuredLastName>sample string 5</InsuredLastName>
<IsStickyNote>true</IsStickyNote>
<OpportunityDatabaseId>f11a26c0-f514-4760-80df-d5f5ccac6892</OpportunityDatabaseId>
<Origin>Manual</Origin>
<ParentNoteId>101a157b-045f-4b37-9d12-ec5e0771064a</ParentNoteId>
<PoliciesDatabaseIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>54a82878-1d1d-4b3c-9963-a10ccd2e2b5b</d2p1:guid>
<d2p1:guid>d6e87d84-12d9-46b3-9e1f-35c6bffd5cfc</d2p1:guid>
</PoliciesDatabaseIds>
<PolicyDatabaseId>420add9c-284e-4939-8e75-3f9f781c5759</PolicyDatabaseId>
<StickyNoteColor>None</StickyNoteColor>
<Subject>sample string 2</Subject>
<TaskId>7cd3ad68-e32a-4d9c-a8ac-42d8cd73ed1c</TaskId>
<Type>sample string 9</Type>
</NoteIntegrationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ApiStatus |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 0,
"message": "sample string 1"
}
application/xml, text/xml
Sample:
<NowCertsApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Message>sample string 1</Message> <Status>Error</Status> </NowCertsApiResult>