POST api/InsuredLocation/Insert
Insert/Update insured/prospect location.
Request Information
URI Parameters
None.
Body Parameters
InsuredLocationName | Description | Type | Additional 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. |
|
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": "6e76295f-841b-4c6a-88bd-45396fb80b7d", "addressLine1": "sample string 2", "addressLine2": "sample string 3", "city": "sample string 4", "stateName": "sample string 5", "zipCode": "sample string 6", "type": 0, "insuredDatabaseId": "b062434c-955b-487a-aba7-96573a80abc6", "insuredEmail": "sample string 8", "insuredFirstName": "sample string 9", "insuredLastName": "sample string 10", "insuredCommercialName": "sample string 11", "lastChangeUserId": "c03dbc92-1c42-47bb-a12e-a8ae2407304d", "policyId": "5f52376c-8c39-4b7a-a174-655de7a1a7c1", "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>6e76295f-841b-4c6a-88bd-45396fb80b7d</DatabaseId> <Email>sample string 16</Email> <Fax>sample string 17</Fax> <InsuredCommercialName>sample string 11</InsuredCommercialName> <InsuredDatabaseId>b062434c-955b-487a-aba7-96573a80abc6</InsuredDatabaseId> <InsuredEmail>sample string 8</InsuredEmail> <InsuredFirstName>sample string 9</InsuredFirstName> <InsuredLastName>sample string 10</InsuredLastName> <IsBuilding>true</IsBuilding> <LastChangeUserId>c03dbc92-1c42-47bb-a12e-a8ae2407304d</LastChangeUserId> <LocationBusinessName>sample string 19</LocationBusinessName> <LocationName>sample string 13</LocationName> <Phone>sample string 14</Phone> <PolicyId>5f52376c-8c39-4b7a-a174-655de7a1a7c1</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
NowCertsApiResultWithInsuredAndDatabaseIdName | Description | Type | Additional 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": "4d42810b-8ba4-4b9f-a2fe-2c4414095e02", "databaseId": "cd231288-c60a-4652-8d66-2961f1077f04", "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>cd231288-c60a-4652-8d66-2961f1077f04</DatabaseId> <InsuredDatabaseId>4d42810b-8ba4-4b9f-a2fe-2c4414095e02</InsuredDatabaseId> </NowCertsApiResultWithInsuredAndDatabaseId>