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": "ed9e5099-579f-4760-86f1-94d04e34c73d", "addressLine1": "sample string 2", "addressLine2": "sample string 3", "city": "sample string 4", "stateName": "sample string 5", "zipCode": "sample string 6", "type": 0, "insuredDatabaseId": "6d7af65f-857c-4df8-8939-d71a3fba15db", "insuredEmail": "sample string 8", "insuredFirstName": "sample string 9", "insuredLastName": "sample string 10", "insuredCommercialName": "sample string 11", "lastChangeUserId": "f3a5b6dc-5fa8-4407-9ae7-c8ebbeeffc7c", "policyId": "a07c301e-8d24-4be1-9f4f-a9bfbcf08e3c", "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>ed9e5099-579f-4760-86f1-94d04e34c73d</DatabaseId> <Email>sample string 16</Email> <Fax>sample string 17</Fax> <InsuredCommercialName>sample string 11</InsuredCommercialName> <InsuredDatabaseId>6d7af65f-857c-4df8-8939-d71a3fba15db</InsuredDatabaseId> <InsuredEmail>sample string 8</InsuredEmail> <InsuredFirstName>sample string 9</InsuredFirstName> <InsuredLastName>sample string 10</InsuredLastName> <IsBuilding>true</IsBuilding> <LastChangeUserId>f3a5b6dc-5fa8-4407-9ae7-c8ebbeeffc7c</LastChangeUserId> <LocationBusinessName>sample string 19</LocationBusinessName> <LocationName>sample string 13</LocationName> <Phone>sample string 14</Phone> <PolicyId>a07c301e-8d24-4be1-9f4f-a9bfbcf08e3c</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": "133e92bd-8981-4a74-b5e8-bb7a91e1d778", "databaseId": "ee2e1233-cf13-457a-9ad7-f5383734ce81", "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>ee2e1233-cf13-457a-9ad7-f5383734ce81</DatabaseId> <InsuredDatabaseId>133e92bd-8981-4a74-b5e8-bb7a91e1d778</InsuredDatabaseId> </NowCertsApiResultWithInsuredAndDatabaseId>