POST api/Insured/Insert

Request Information

URI Parameters

None.

Body Parameters

Insured
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

CommercialName

string

None.

FirstName

string

None.

LastName

string

None.

Dba

string

None.

Type

InsuredType

None.

AddressLine1

string

None.

AddressLine2

string

None.

State

string

None.

City

string

None.

ZipCode

string

None.

EMail

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.

Request Formats

application/json, text/json

Sample:
{
  "databaseId": "5a10fdd2-0a23-40bd-b393-cdd08886d8f2",
  "commercialName": "sample string 2",
  "firstName": "sample string 3",
  "lastName": "sample string 4",
  "dba": "sample string 5",
  "type": 0,
  "addressLine1": "sample string 6",
  "addressLine2": "sample string 7",
  "state": "sample string 8",
  "city": "sample string 9",
  "zipCode": "sample string 10",
  "eMail": "sample string 11",
  "eMail2": "sample string 12",
  "eMail3": "sample string 13",
  "fax": "sample string 14",
  "phone": "sample string 15",
  "cellPhone": "sample string 16",
  "smsPhone": "sample string 17",
  "description": "sample string 18",
  "active": true,
  "website": "sample string 20",
  "fein": "sample string 21",
  "customerId": "sample string 22",
  "insuredId": "sample string 23",
  "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": "d7a237c2-a828-4039-abc3-18daa04fa4c3",
      "firstName": "sample string 2",
      "lastName": "sample string 3"
    },
    {
      "databaseId": "d7a237c2-a828-4039-abc3-18daa04fa4c3",
      "firstName": "sample string 2",
      "lastName": "sample string 3"
    }
  ],
  "csRs": [
    {
      "databaseId": "d7a237c2-a828-4039-abc3-18daa04fa4c3",
      "firstName": "sample string 2",
      "lastName": "sample string 3"
    },
    {
      "databaseId": "d7a237c2-a828-4039-abc3-18daa04fa4c3",
      "firstName": "sample string 2",
      "lastName": "sample string 3"
    }
  ],
  "xDatesAndLinesOfBusiness": [
    {
      "xDate": "2020-10-27T23:08:15.4518136-06:00",
      "lineOfBusinessName": "sample string 2"
    },
    {
      "xDate": "2020-10-27T23:08:15.4518136-06:00",
      "lineOfBusinessName": "sample string 2"
    }
  ],
  "referralSourceCompanyName": "sample string 24",
  "primaryAgencyOfficeLocationName": "sample string 25",
  "tagName": "sample string 26",
  "tagDescription": "sample string 27",
  "dateOfBirth": "2020-10-27T23:08:15.4518136-06:00",
  "coInsured_DateOfBirth": "2020-10-27T23:08:15.4518136-06:00",
  "coInsured_FirstName": "sample string 28",
  "coInsured_LastName": "sample string 29",
  "coInsured_MiddleName": "sample string 30"
}

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 6</AddressLine1>
  <AddressLine2>sample string 7</AddressLine2>
  <Agents>
    <AgentBusiness>
      <DatabaseId>d7a237c2-a828-4039-abc3-18daa04fa4c3</DatabaseId>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
    </AgentBusiness>
    <AgentBusiness>
      <DatabaseId>d7a237c2-a828-4039-abc3-18daa04fa4c3</DatabaseId>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
    </AgentBusiness>
  </Agents>
  <CSRs>
    <AgentBusiness>
      <DatabaseId>d7a237c2-a828-4039-abc3-18daa04fa4c3</DatabaseId>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
    </AgentBusiness>
    <AgentBusiness>
      <DatabaseId>d7a237c2-a828-4039-abc3-18daa04fa4c3</DatabaseId>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
    </AgentBusiness>
  </CSRs>
  <CellPhone>sample string 16</CellPhone>
  <City>sample string 9</City>
  <CoInsured_DateOfBirth>2020-10-27T23:08:15.4518136-06:00</CoInsured_DateOfBirth>
  <CoInsured_FirstName>sample string 28</CoInsured_FirstName>
  <CoInsured_LastName>sample string 29</CoInsured_LastName>
  <CoInsured_MiddleName>sample string 30</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 22</CustomerId>
  <DatabaseId>5a10fdd2-0a23-40bd-b393-cdd08886d8f2</DatabaseId>
  <DateOfBirth>2020-10-27T23:08:15.4518136-06:00</DateOfBirth>
  <Dba>sample string 5</Dba>
  <Description>sample string 18</Description>
  <EMail>sample string 11</EMail>
  <EMail2>sample string 12</EMail2>
  <EMail3>sample string 13</EMail3>
  <FEIN>sample string 21</FEIN>
  <Fax>sample string 14</Fax>
  <FirstName>sample string 3</FirstName>
  <InsuredId>sample string 23</InsuredId>
  <InsuredType>Commercial</InsuredType>
  <LastName>sample string 4</LastName>
  <Phone>sample string 15</Phone>
  <PrimaryAgencyOfficeLocationName>sample string 25</PrimaryAgencyOfficeLocationName>
  <ReferralSourceCompanyName>sample string 24</ReferralSourceCompanyName>
  <SmsPhone>sample string 17</SmsPhone>
  <State>sample string 8</State>
  <TagDescription>sample string 27</TagDescription>
  <TagName>sample string 26</TagName>
  <Type>Insured</Type>
  <Website>sample string 20</Website>
  <XDatesAndLinesOfBusiness>
    <XDateAndLineOfBusiness>
      <LineOfBusinessName>sample string 2</LineOfBusinessName>
      <XDate>2020-10-27T23:08:15.4518136-06:00</XDate>
    </XDateAndLineOfBusiness>
    <XDateAndLineOfBusiness>
      <LineOfBusinessName>sample string 2</LineOfBusinessName>
      <XDate>2020-10-27T23:08:15.4518136-06:00</XDate>
    </XDateAndLineOfBusiness>
  </XDatesAndLinesOfBusiness>
  <ZipCode>sample string 10</ZipCode>
</Insured>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultWithInsuredIdAndReferralSourceCompanyName
NameDescriptionTypeAdditional information
InsuredDatabaseId

globally unique identifier

None.

ReferralSourceCompanyName

string

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "insuredDatabaseId": "4cce2148-d28f-400b-9b77-eb0a446a4c73",
  "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>4cce2148-d28f-400b-9b77-eb0a446a4c73</InsuredDatabaseId>
  <ReferralSourceCompanyName>sample string 2</ReferralSourceCompanyName>
</NowCertsApiResultWithInsuredIdAndReferralSourceCompanyName>