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": "26e406e9-f1df-4b4f-8fc3-8291d2f1a556",
  "subject": "sample string 2",
  "insured_database_id": "934d2eb7-9b89-406d-b1aa-6dd26ba34b66",
  "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": "cb5931a1-0396-480c-a1f2-6b7ccf91d884",
  "hide": true,
  "policy_database_id": "a19fcc84-3be0-49b8-9a35-de185dbbb3d7",
  "policies_database_ids": [
    "5fad6b30-020b-4ad4-aa0b-750663aff4e7",
    "8ba1e78b-6485-4da9-a1fc-9eac1702d384"
  ],
  "origin": 0,
  "taskId": "b0cce3ee-e883-4334-99cb-8af069f2dddd",
  "is_sticky_note": true,
  "sticky_note_color": 0,
  "opportunity_database_id": "4c741a67-cf65-4ade-9448-150f03ffa449"
}

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>26e406e9-f1df-4b4f-8fc3-8291d2f1a556</DatabaseId>
  <Hide>true</Hide>
  <InsuredCommercialName>sample string 6</InsuredCommercialName>
  <InsuredDatabaseId>934d2eb7-9b89-406d-b1aa-6dd26ba34b66</InsuredDatabaseId>
  <InsuredEmail>sample string 3</InsuredEmail>
  <InsuredFirstName>sample string 4</InsuredFirstName>
  <InsuredLastName>sample string 5</InsuredLastName>
  <IsStickyNote>true</IsStickyNote>
  <OpportunityDatabaseId>4c741a67-cf65-4ade-9448-150f03ffa449</OpportunityDatabaseId>
  <Origin>Manual</Origin>
  <ParentNoteId>cb5931a1-0396-480c-a1f2-6b7ccf91d884</ParentNoteId>
  <PoliciesDatabaseIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>5fad6b30-020b-4ad4-aa0b-750663aff4e7</d2p1:guid>
    <d2p1:guid>8ba1e78b-6485-4da9-a1fc-9eac1702d384</d2p1:guid>
  </PoliciesDatabaseIds>
  <PolicyDatabaseId>a19fcc84-3be0-49b8-9a35-de185dbbb3d7</PolicyDatabaseId>
  <StickyNoteColor>None</StickyNoteColor>
  <Subject>sample string 2</Subject>
  <TaskId>b0cce3ee-e883-4334-99cb-8af069f2dddd</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>