POST api/Insured/Insert
Insert/Update insured/prospect.
Request Information
URI Parameters
None.
Body Parameters
InsuredName | Description | Type | Additional information |
---|---|---|---|
DatabaseId | globally unique identifier |
None. |
|
CommercialName | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
MiddleName | string |
None. |
|
Dba | string |
None. |
|
Type | InsuredType |
None. |
|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
State | string |
None. |
|
City | string |
None. |
|
ZipCode | string |
None. |
|
string |
None. |
||
EMail2 | string |
None. |
|
EMail3 | string |
None. |
|
Fax | string |
None. |
|
Phone | string |
None. |
|
CellPhone | string |
None. |
|
SmsPhone | string |
None. |
|
Description | string |
None. |
|
Active | boolean |
None. |
|
Website | string |
None. |
|
FEIN | string |
None. |
|
CustomerId | string |
None. |
|
InsuredId | string |
None. |
|
InsuredType | TruckingCompanyInsuredType |
None. |
|
CustomFieldsSimple | Collection of CustomFieldSimple |
None. |
|
CustomFields | Collection of CustomFieldEdit |
None. |
|
Agents | Collection of AgentBusiness |
None. |
|
CSRs | Collection of AgentBusiness |
None. |
|
XDatesAndLinesOfBusiness | Collection of XDateAndLineOfBusiness |
None. |
|
ReferralSourceCompanyName | string |
None. |
|
PrimaryAgencyOfficeLocationName | string |
None. |
|
TagName | string |
None. |
|
TagDescription | string |
None. |
|
DateOfBirth | date |
None. |
|
CoInsured_DateOfBirth | date |
None. |
|
CoInsured_FirstName | string |
None. |
|
CoInsured_LastName | string |
None. |
|
CoInsured_MiddleName | string |
None. |
|
PrimaryAgencyOfficeId | globally unique identifier |
None. |
|
ProspectStatusId | globally unique identifier |
None. |
|
ProspectType | integer |
None. |
|
Naic | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "databaseId": "2a683cad-60ad-4087-9ac8-0809d21af019", "commercialName": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "middleName": "sample string 5", "dba": "sample string 6", "type": 0, "addressLine1": "sample string 7", "addressLine2": "sample string 8", "state": "sample string 9", "city": "sample string 10", "zipCode": "sample string 11", "eMail": "sample string 12", "eMail2": "sample string 13", "eMail3": "sample string 14", "fax": "sample string 15", "phone": "sample string 16", "cellPhone": "sample string 17", "smsPhone": "sample string 18", "description": "sample string 19", "active": true, "website": "sample string 21", "fein": "sample string 22", "customerId": "sample string 23", "insuredId": "sample string 24", "insuredType": 0, "customFieldsSimple": [ { "text": "sample string 1", "value": "sample string 2" }, { "text": "sample string 1", "value": "sample string 2" } ], "customFields": [ { "customPanelName": "sample string 1", "customFields": [ { "customFieldName": "sample string 1", "customFieldValue": "sample string 2" }, { "customFieldName": "sample string 1", "customFieldValue": "sample string 2" } ] }, { "customPanelName": "sample string 1", "customFields": [ { "customFieldName": "sample string 1", "customFieldValue": "sample string 2" }, { "customFieldName": "sample string 1", "customFieldValue": "sample string 2" } ] } ], "agents": [ { "databaseId": "66422700-3800-4abe-94fa-ee12205b7abd", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "66422700-3800-4abe-94fa-ee12205b7abd", "firstName": "sample string 2", "lastName": "sample string 3" } ], "csRs": [ { "databaseId": "66422700-3800-4abe-94fa-ee12205b7abd", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "66422700-3800-4abe-94fa-ee12205b7abd", "firstName": "sample string 2", "lastName": "sample string 3" } ], "xDatesAndLinesOfBusiness": [ { "xDate": "2024-11-21T02:47:18.4047792-06:00", "lineOfBusinessName": "sample string 2" }, { "xDate": "2024-11-21T02:47:18.4047792-06:00", "lineOfBusinessName": "sample string 2" } ], "referralSourceCompanyName": "sample string 25", "primaryAgencyOfficeLocationName": "sample string 26", "tagName": "sample string 27", "tagDescription": "sample string 28", "dateOfBirth": "2024-11-21T02:47:18.4047792-06:00", "coInsured_DateOfBirth": "2024-11-21T02:47:18.4047792-06:00", "coInsured_FirstName": "sample string 29", "coInsured_LastName": "sample string 30", "coInsured_MiddleName": "sample string 31", "primaryAgencyOfficeId": "808133c4-ae24-47df-8b31-d3d1e54d750f", "prospectStatusId": "2fe78360-ca3d-4275-bbd0-bda6550a9dec", "prospectType": 1, "naic": "sample string 32" }
application/xml, text/xml
Sample:
<Insured xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Active>true</Active> <AddressLine1>sample string 7</AddressLine1> <AddressLine2>sample string 8</AddressLine2> <Agents> <AgentBusiness> <DatabaseId>66422700-3800-4abe-94fa-ee12205b7abd</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>66422700-3800-4abe-94fa-ee12205b7abd</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </Agents> <CSRs> <AgentBusiness> <DatabaseId>66422700-3800-4abe-94fa-ee12205b7abd</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>66422700-3800-4abe-94fa-ee12205b7abd</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </CSRs> <CellPhone>sample string 17</CellPhone> <City>sample string 10</City> <CoInsured_DateOfBirth>2024-11-21T02:47:18.4047792-06:00</CoInsured_DateOfBirth> <CoInsured_FirstName>sample string 29</CoInsured_FirstName> <CoInsured_LastName>sample string 30</CoInsured_LastName> <CoInsured_MiddleName>sample string 31</CoInsured_MiddleName> <CommercialName>sample string 2</CommercialName> <CustomFields> <CustomFieldEdit> <CustomFields> <CustomFieldAndValue> <CustomFieldName>sample string 1</CustomFieldName> <CustomFieldValue>sample string 2</CustomFieldValue> </CustomFieldAndValue> <CustomFieldAndValue> <CustomFieldName>sample string 1</CustomFieldName> <CustomFieldValue>sample string 2</CustomFieldValue> </CustomFieldAndValue> </CustomFields> <CustomPanelName>sample string 1</CustomPanelName> </CustomFieldEdit> <CustomFieldEdit> <CustomFields> <CustomFieldAndValue> <CustomFieldName>sample string 1</CustomFieldName> <CustomFieldValue>sample string 2</CustomFieldValue> </CustomFieldAndValue> <CustomFieldAndValue> <CustomFieldName>sample string 1</CustomFieldName> <CustomFieldValue>sample string 2</CustomFieldValue> </CustomFieldAndValue> </CustomFields> <CustomPanelName>sample string 1</CustomPanelName> </CustomFieldEdit> </CustomFields> <CustomFieldsSimple> <CustomFieldSimple> <Text>sample string 1</Text> <Value>sample string 2</Value> </CustomFieldSimple> <CustomFieldSimple> <Text>sample string 1</Text> <Value>sample string 2</Value> </CustomFieldSimple> </CustomFieldsSimple> <CustomerId>sample string 23</CustomerId> <DatabaseId>2a683cad-60ad-4087-9ac8-0809d21af019</DatabaseId> <DateOfBirth>2024-11-21T02:47:18.4047792-06:00</DateOfBirth> <Dba>sample string 6</Dba> <Description>sample string 19</Description> <EMail>sample string 12</EMail> <EMail2>sample string 13</EMail2> <EMail3>sample string 14</EMail3> <FEIN>sample string 22</FEIN> <Fax>sample string 15</Fax> <FirstName>sample string 3</FirstName> <InsuredId>sample string 24</InsuredId> <InsuredType>Commercial</InsuredType> <LastName>sample string 4</LastName> <MiddleName>sample string 5</MiddleName> <Naic>sample string 32</Naic> <Phone>sample string 16</Phone> <PrimaryAgencyOfficeId>808133c4-ae24-47df-8b31-d3d1e54d750f</PrimaryAgencyOfficeId> <PrimaryAgencyOfficeLocationName>sample string 26</PrimaryAgencyOfficeLocationName> <ProspectStatusId>2fe78360-ca3d-4275-bbd0-bda6550a9dec</ProspectStatusId> <ProspectType>1</ProspectType> <ReferralSourceCompanyName>sample string 25</ReferralSourceCompanyName> <SmsPhone>sample string 18</SmsPhone> <State>sample string 9</State> <TagDescription>sample string 28</TagDescription> <TagName>sample string 27</TagName> <Type>Insured</Type> <Website>sample string 21</Website> <XDatesAndLinesOfBusiness> <XDateAndLineOfBusiness> <LineOfBusinessName>sample string 2</LineOfBusinessName> <XDate>2024-11-21T02:47:18.4047792-06:00</XDate> </XDateAndLineOfBusiness> <XDateAndLineOfBusiness> <LineOfBusinessName>sample string 2</LineOfBusinessName> <XDate>2024-11-21T02:47:18.4047792-06:00</XDate> </XDateAndLineOfBusiness> </XDatesAndLinesOfBusiness> <ZipCode>sample string 11</ZipCode> </Insured>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResultWithInsuredIdAndReferralSourceCompanyNameName | Description | Type | Additional information |
---|---|---|---|
InsuredDatabaseId | globally unique identifier |
None. |
|
ReferralSourceCompanyName | string |
None. |
|
Status | ApiStatus |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "insuredDatabaseId": "b3767bf4-4fa9-4efe-b6b6-9570e3a9cf4d", "referralSourceCompanyName": "sample string 2", "status": 0, "message": "sample string 3" }
application/xml, text/xml
Sample:
<NowCertsApiResultWithInsuredIdAndReferralSourceCompanyName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Message>sample string 3</Message> <Status>Error</Status> <InsuredDatabaseId>b3767bf4-4fa9-4efe-b6b6-9570e3a9cf4d</InsuredDatabaseId> <ReferralSourceCompanyName>sample string 2</ReferralSourceCompanyName> </NowCertsApiResultWithInsuredIdAndReferralSourceCompanyName>