POST api/Zapier/InsertPrincipal

Insert/update contact.

Request Information

URI Parameters

None.

Body Parameters

PrincipalIntegrationModel
NameDescriptionTypeAdditional information
database_id

globally unique identifier

None.

first_name

string

None.

middle_name

string

None.

last_name

string

None.

description

string

None.

type

string

None.

personal_email

string

None.

business_email

string

None.

home_phone

string

None.

office_phone

string

None.

cell_phone

string

None.

personal_fax

string

None.

business_fax

string

None.

ssn

string

None.

birthday

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.

marital_status

string

None.

gender

string

None.

match_record_base_on_name

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "database_id": "4e244d47-dc5d-4ff5-9abe-832b4e233bb7",
  "first_name": "sample string 2",
  "middle_name": "sample string 3",
  "last_name": "sample string 4",
  "description": "sample string 5",
  "type": "sample string 6",
  "personal_email": "sample string 7",
  "business_email": "sample string 8",
  "home_phone": "sample string 9",
  "office_phone": "sample string 10",
  "cell_phone": "sample string 11",
  "personal_fax": "sample string 12",
  "business_fax": "sample string 13",
  "ssn": "sample string 14",
  "birthday": "sample string 15",
  "insured_database_id": "4ce061d5-7f72-4b12-8a9c-c8e187ea7983",
  "insured_email": "sample string 16",
  "insured_first_name": "sample string 17",
  "insured_last_name": "sample string 18",
  "insured_commercial_name": "sample string 19",
  "marital_status": "sample string 20",
  "gender": "sample string 21",
  "match_record_base_on_name": true
}

application/xml, text/xml

Sample:
<PrincipalIntegrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <Birthday>sample string 15</Birthday>
  <BusinessEmail>sample string 8</BusinessEmail>
  <BusinessFax>sample string 13</BusinessFax>
  <CellPhone>sample string 11</CellPhone>
  <DatabaseId>4e244d47-dc5d-4ff5-9abe-832b4e233bb7</DatabaseId>
  <Description>sample string 5</Description>
  <FirstName>sample string 2</FirstName>
  <Gender>sample string 21</Gender>
  <HomePhone>sample string 9</HomePhone>
  <InsuredCommercialName>sample string 19</InsuredCommercialName>
  <InsuredDatabaseId>4ce061d5-7f72-4b12-8a9c-c8e187ea7983</InsuredDatabaseId>
  <InsuredEmail>sample string 16</InsuredEmail>
  <InsuredFirstName>sample string 17</InsuredFirstName>
  <InsuredLastName>sample string 18</InsuredLastName>
  <LastName>sample string 4</LastName>
  <MaritalStatus>sample string 20</MaritalStatus>
  <MatchRecordBaseOnName>true</MatchRecordBaseOnName>
  <MiddleName>sample string 3</MiddleName>
  <OfficePhone>sample string 10</OfficePhone>
  <PersonalEmail>sample string 7</PersonalEmail>
  <PersonalFax>sample string 12</PersonalFax>
  <SSN>sample string 14</SSN>
  <Type>sample string 6</Type>
</PrincipalIntegrationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultOfPrincipalIntegrationModel
NameDescriptionTypeAdditional information
Status

ApiStatus

None.

Data

PrincipalIntegrationModel

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "data": {
    "database_id": "623fc5dd-299e-4942-a051-761f330c587f",
    "first_name": "sample string 2",
    "middle_name": "sample string 3",
    "last_name": "sample string 4",
    "description": "sample string 5",
    "type": "sample string 6",
    "personal_email": "sample string 7",
    "business_email": "sample string 8",
    "home_phone": "sample string 9",
    "office_phone": "sample string 10",
    "cell_phone": "sample string 11",
    "personal_fax": "sample string 12",
    "business_fax": "sample string 13",
    "ssn": "sample string 14",
    "birthday": "sample string 15",
    "insured_database_id": "36ea6438-af34-406d-b52e-8d0c1f0d700f",
    "insured_email": "sample string 16",
    "insured_first_name": "sample string 17",
    "insured_last_name": "sample string 18",
    "insured_commercial_name": "sample string 19",
    "marital_status": "sample string 20",
    "gender": "sample string 21",
    "match_record_base_on_name": true
  },
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<NowCertsApiResultOfPrincipalIntegrationModel1_SQmMCrN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
    <d2p1:Birthday>sample string 15</d2p1:Birthday>
    <d2p1:BusinessEmail>sample string 8</d2p1:BusinessEmail>
    <d2p1:BusinessFax>sample string 13</d2p1:BusinessFax>
    <d2p1:CellPhone>sample string 11</d2p1:CellPhone>
    <d2p1:DatabaseId>623fc5dd-299e-4942-a051-761f330c587f</d2p1:DatabaseId>
    <d2p1:Description>sample string 5</d2p1:Description>
    <d2p1:FirstName>sample string 2</d2p1:FirstName>
    <d2p1:Gender>sample string 21</d2p1:Gender>
    <d2p1:HomePhone>sample string 9</d2p1:HomePhone>
    <d2p1:InsuredCommercialName>sample string 19</d2p1:InsuredCommercialName>
    <d2p1:InsuredDatabaseId>36ea6438-af34-406d-b52e-8d0c1f0d700f</d2p1:InsuredDatabaseId>
    <d2p1:InsuredEmail>sample string 16</d2p1:InsuredEmail>
    <d2p1:InsuredFirstName>sample string 17</d2p1:InsuredFirstName>
    <d2p1:InsuredLastName>sample string 18</d2p1:InsuredLastName>
    <d2p1:LastName>sample string 4</d2p1:LastName>
    <d2p1:MaritalStatus>sample string 20</d2p1:MaritalStatus>
    <d2p1:MatchRecordBaseOnName>true</d2p1:MatchRecordBaseOnName>
    <d2p1:MiddleName>sample string 3</d2p1:MiddleName>
    <d2p1:OfficePhone>sample string 10</d2p1:OfficePhone>
    <d2p1:PersonalEmail>sample string 7</d2p1:PersonalEmail>
    <d2p1:PersonalFax>sample string 12</d2p1:PersonalFax>
    <d2p1:SSN>sample string 14</d2p1:SSN>
    <d2p1:Type>sample string 6</d2p1:Type>
  </Data>
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResultOfPrincipalIntegrationModel1_SQmMCrN>