POST api/InsuredLocation/Insert

Insert/Update insured/prospect location.

Request Information

URI Parameters

None.

Body Parameters

InsuredLocation
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

StateName

string

None.

ZipCode

string

None.

Type

AddressType

None.

InsuredDatabaseId

globally unique identifier

None.

InsuredEmail

string

None.

InsuredFirstName

string

None.

InsuredLastName

string

None.

InsuredCommercialName

string

None.

LastChangeUserId

globally unique identifier

None.

PolicyId

globally unique identifier

None.

LocationName

string

None.

Phone

string

None.

ContactPerson

string

None.

Email

string

None.

Fax

string

None.

IsBuilding

boolean

None.

LocationBusinessName

string

None.

Active

boolean

None.

Section

string

None.

Township

string

None.

County

string

None.

Range

string

None.

Acres

string

None.

Request Formats

application/json, text/json

Sample:
{
  "databaseId": "cae5c980-3ad6-4d85-9786-9106e88aba76",
  "addressLine1": "sample string 2",
  "addressLine2": "sample string 3",
  "city": "sample string 4",
  "stateName": "sample string 5",
  "zipCode": "sample string 6",
  "type": 0,
  "insuredDatabaseId": "25320af7-5358-4ec2-a92f-8b3537b86eaf",
  "insuredEmail": "sample string 8",
  "insuredFirstName": "sample string 9",
  "insuredLastName": "sample string 10",
  "insuredCommercialName": "sample string 11",
  "lastChangeUserId": "5b44a558-4fa1-4901-b1ed-fb4ac4e25471",
  "policyId": "09e94da2-0ba3-425e-a311-acfff05a1677",
  "locationName": "sample string 13",
  "phone": "sample string 14",
  "contactPerson": "sample string 15",
  "email": "sample string 16",
  "fax": "sample string 17",
  "isBuilding": true,
  "locationBusinessName": "sample string 19",
  "active": true,
  "section": "sample string 21",
  "township": "sample string 22",
  "county": "sample string 23",
  "range": "sample string 24",
  "acres": "sample string 25"
}

application/xml, text/xml

Sample:
<InsuredLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Acres>sample string 25</Acres>
  <Active>true</Active>
  <AddressLine1>sample string 2</AddressLine1>
  <AddressLine2>sample string 3</AddressLine2>
  <City>sample string 4</City>
  <ContactPerson>sample string 15</ContactPerson>
  <County>sample string 23</County>
  <DatabaseId>cae5c980-3ad6-4d85-9786-9106e88aba76</DatabaseId>
  <Email>sample string 16</Email>
  <Fax>sample string 17</Fax>
  <InsuredCommercialName>sample string 11</InsuredCommercialName>
  <InsuredDatabaseId>25320af7-5358-4ec2-a92f-8b3537b86eaf</InsuredDatabaseId>
  <InsuredEmail>sample string 8</InsuredEmail>
  <InsuredFirstName>sample string 9</InsuredFirstName>
  <InsuredLastName>sample string 10</InsuredLastName>
  <IsBuilding>true</IsBuilding>
  <LastChangeUserId>5b44a558-4fa1-4901-b1ed-fb4ac4e25471</LastChangeUserId>
  <LocationBusinessName>sample string 19</LocationBusinessName>
  <LocationName>sample string 13</LocationName>
  <Phone>sample string 14</Phone>
  <PolicyId>09e94da2-0ba3-425e-a311-acfff05a1677</PolicyId>
  <Range>sample string 24</Range>
  <Section>sample string 21</Section>
  <StateName>sample string 5</StateName>
  <Township>sample string 22</Township>
  <Type>Office</Type>
  <ZipCode>sample string 6</ZipCode>
</InsuredLocation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultWithInsuredAndDatabaseId
NameDescriptionTypeAdditional information
InsuredDatabaseId

globally unique identifier

None.

DatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "insuredDatabaseId": "8b781b4b-15fa-4d70-afd1-f9080f7de9a9",
  "databaseId": "17a04fbc-4b3b-4fa7-89f8-0f3171fa50ea",
  "status": 0,
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<NowCertsApiResultWithInsuredAndDatabaseId 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>
  <DatabaseId>17a04fbc-4b3b-4fa7-89f8-0f3171fa50ea</DatabaseId>
  <InsuredDatabaseId>8b781b4b-15fa-4d70-afd1-f9080f7de9a9</InsuredDatabaseId>
</NowCertsApiResultWithInsuredAndDatabaseId>