POST api/Zapier/InsertPrincipal
Insert/update contact.
Request Information
URI Parameters
None.
Body Parameters
PrincipalIntegrationModelName | Description | Type | Additional 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": "24019466-0100-4c3b-8913-3b1f8188ec49", "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": "2535e29d-6d55-4f96-85ac-862bd0844d48", "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>24019466-0100-4c3b-8913-3b1f8188ec49</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>2535e29d-6d55-4f96-85ac-862bd0844d48</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
NowCertsApiResultOfPrincipalIntegrationModelName | Description | Type | Additional information |
---|---|---|---|
Status | ApiStatus |
None. |
|
Data | PrincipalIntegrationModel |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": 0, "data": { "database_id": "d6000ce8-600b-4fa6-8c8b-368a3600072f", "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": "d2be6564-75f6-433a-9aff-8176ba903b2e", "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>d6000ce8-600b-4fa6-8c8b-368a3600072f</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>d2be6564-75f6-433a-9aff-8176ba903b2e</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>