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.

Request Formats

application/json, text/json

Sample:
{
  "database_id": "183a8022-f575-4fab-a4cc-4535635dcae0",
  "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": "65c0a019-0c7c-404e-b577-cacf6e7564bc",
  "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"
}

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>183a8022-f575-4fab-a4cc-4535635dcae0</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>65c0a019-0c7c-404e-b577-cacf6e7564bc</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>
  <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": "42e41479-385f-4e67-9407-431ab91ed0ad",
    "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": "28992f72-3c0c-4998-b01c-a57943c809df",
    "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"
  },
  "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>42e41479-385f-4e67-9407-431ab91ed0ad</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>28992f72-3c0c-4998-b01c-a57943c809df</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: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>