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
NameDescriptionTypeAdditional 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": "3efcb484-cd62-42d3-b2f9-4aea2a664940",
  "subject": "sample string 2",
  "insured_database_id": "370abbe8-0f1e-44ad-9079-0263f52b8c01",
  "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": "ad7ded88-6261-4d10-b5b0-729a0b6c44fe",
  "hide": true,
  "policy_database_id": "9664b22e-9b39-48f4-bd39-7c02b14ffcba",
  "policies_database_ids": [
    "8f81b154-94ec-4206-89ec-578619c2c302",
    "4ebe89d9-546b-450e-841f-39fba9a2e97c"
  ],
  "origin": 0,
  "taskId": "0a95a855-1046-4252-abb5-e1d4bdc92964",
  "is_sticky_note": true,
  "sticky_note_color": 0,
  "opportunity_database_id": "11c8cc54-ebb6-4e20-bde0-733c90ca3fa8"
}

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>3efcb484-cd62-42d3-b2f9-4aea2a664940</DatabaseId>
  <Hide>true</Hide>
  <InsuredCommercialName>sample string 6</InsuredCommercialName>
  <InsuredDatabaseId>370abbe8-0f1e-44ad-9079-0263f52b8c01</InsuredDatabaseId>
  <InsuredEmail>sample string 3</InsuredEmail>
  <InsuredFirstName>sample string 4</InsuredFirstName>
  <InsuredLastName>sample string 5</InsuredLastName>
  <IsStickyNote>true</IsStickyNote>
  <OpportunityDatabaseId>11c8cc54-ebb6-4e20-bde0-733c90ca3fa8</OpportunityDatabaseId>
  <Origin>Manual</Origin>
  <ParentNoteId>ad7ded88-6261-4d10-b5b0-729a0b6c44fe</ParentNoteId>
  <PoliciesDatabaseIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>8f81b154-94ec-4206-89ec-578619c2c302</d2p1:guid>
    <d2p1:guid>4ebe89d9-546b-450e-841f-39fba9a2e97c</d2p1:guid>
  </PoliciesDatabaseIds>
  <PolicyDatabaseId>9664b22e-9b39-48f4-bd39-7c02b14ffcba</PolicyDatabaseId>
  <StickyNoteColor>None</StickyNoteColor>
  <Subject>sample string 2</Subject>
  <TaskId>0a95a855-1046-4252-abb5-e1d4bdc92964</TaskId>
  <Type>sample string 9</Type>
</NoteIntegrationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResult
NameDescriptionTypeAdditional 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>