POST api/Property/InsertOrUpdate

Insert/update property.

Request Information

URI Parameters

None.

Body Parameters

PropertyModel
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

PropertyUse

string

None.

LocationNumber

string

None.

BuildingNumber

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

County

string

None.

Zip

string

None.

DescriptionOfOperations

string

None.

Description

string

None.

State

string

None.

InsuredDatabaseId

globally unique identifier

None.

InsuredEmail

string

None.

InsuredFirstName

string

None.

InsuredLastName

string

None.

InsuredCommercialName

string

None.

AttachToPolicyNumber

string

None.

Coverage

PropertyCoverage

None.

Additional

PropertyAdditional

None.

Additional1

PropertyAdditional1

None.

Additional2

PropertyAdditional2

None.

PropertyLienHolders

Collection of PropertyLienHolderDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "databaseId": "9f45ecc9-af1f-4c28-9e50-40bf0ffdec07",
  "propertyUse": "sample string 2",
  "locationNumber": "sample string 3",
  "buildingNumber": "sample string 4",
  "addressLine1": "sample string 5",
  "addressLine2": "sample string 6",
  "city": "sample string 7",
  "county": "sample string 8",
  "zip": "sample string 9",
  "descriptionOfOperations": "sample string 10",
  "description": "sample string 11",
  "state": "sample string 12",
  "insuredDatabaseId": "e8de9080-355b-48f9-8aaa-db06d330866a",
  "insuredEmail": "sample string 13",
  "insuredFirstName": "sample string 14",
  "insuredLastName": "sample string 15",
  "insuredCommercialName": "sample string 16",
  "attachToPolicyNumber": "sample string 17",
  "coverage": {
    "propertyTypeCd": 0,
    "dwelling_A": {
      "limit": 1.0,
      "premium": 1.0
    },
    "otherStructures_B": {
      "limit": 1.0,
      "premium": 1.0
    },
    "personalProperty_C": {
      "limit": 1.0,
      "premium": 1.0
    },
    "lossOfUse_D": {
      "limit": 1.0,
      "premium": 1.0
    },
    "personalLiability_E": {
      "limit": 1.0,
      "premium": 1.0
    },
    "medicalPayments_F": {
      "limit": 1.0,
      "premium": 1.0
    },
    "allOtherPerils": {
      "deductible": 1.0,
      "deductiblePct": 1.0
    },
    "hurricane": {
      "premium": 1.0,
      "deductible": 1.0,
      "deductiblePct": 1.0
    },
    "incOrdinanceOrLaw": {
      "yesNo": 0,
      "premium": 1.0
    },
    "coverageCs": [
      {
        "name": "sample string 1",
        "description": "sample string 2",
        "limitCsl": 1.0,
        "limit1": 1.0,
        "limit2": 1.0,
        "premium": 1.0,
        "deductible": 1.0,
        "deductiblePct": 1.0
      },
      {
        "name": "sample string 1",
        "description": "sample string 2",
        "limitCsl": 1.0,
        "limit1": 1.0,
        "limit2": 1.0,
        "premium": 1.0,
        "deductible": 1.0,
        "deductiblePct": 1.0
      }
    ]
  },
  "additional": {
    "numberOfFullTimeEmployees": "sample string 1",
    "numberOfPartTimeEmployees": "sample string 2",
    "annualRevenues": "sample string 3",
    "occupiedPct": "sample string 4",
    "occupiedArea": "sample string 5",
    "openToPublicArea": "sample string 6",
    "totalBuildingArea": "sample string 7",
    "anyAreaLeasedToOthers": "sample string 8",
    "occupancyDesc": "sample string 9"
  },
  "additional1": {
    "constructionCd": 0,
    "yearBuilt": 1,
    "numStories": 1.0,
    "roofMaterialCd": 0,
    "residenceTypeCd": 0,
    "dwellUseCd": 0,
    "fireProtectionClassCd": "sample string 1",
    "distanceToHydrant": 1,
    "airConditioningCd": 0,
    "distanceToFireStation": "sample string 2"
  },
  "additional2": {
    "dwellStyleCd": 0,
    "estimatedReplCostAmt": 1.0,
    "numberOfUnits": "sample string 1",
    "heatSourcePrimaryCd": 0,
    "numFamilies": 1,
    "fireplaceInfoNumHearths": 1,
    "numberOfPools": "sample string 2",
    "fireplaceInfoNumChimneys": 1,
    "garageTypeCd": 0,
    "parkingArea": "sample string 3",
    "garageNumVehs": 1
  },
  "propertyLienHolders": [
    {
      "certificateHolderDatabaseId": "abc57acb-2e1f-4e9e-aeb2-6c255f8044ef",
      "natureOfInterest": 0,
      "loanNumber": "sample string 2"
    },
    {
      "certificateHolderDatabaseId": "abc57acb-2e1f-4e9e-aeb2-6c255f8044ef",
      "natureOfInterest": 0,
      "loanNumber": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<PropertyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Property">
  <Additional>
    <AnnualRevenues>sample string 3</AnnualRevenues>
    <AnyAreaLeasedToOthers>sample string 8</AnyAreaLeasedToOthers>
    <NumberOfFullTimeEmployees>sample string 1</NumberOfFullTimeEmployees>
    <NumberOfPartTimeEmployees>sample string 2</NumberOfPartTimeEmployees>
    <OccupancyDesc>sample string 9</OccupancyDesc>
    <OccupiedArea>sample string 5</OccupiedArea>
    <OccupiedPct>sample string 4</OccupiedPct>
    <OpenToPublicArea>sample string 6</OpenToPublicArea>
    <TotalBuildingArea>sample string 7</TotalBuildingArea>
  </Additional>
  <Additional1>
    <AirConditioningCd>A</AirConditioningCd>
    <ConstructionCd>_1</ConstructionCd>
    <DistanceToFireStation>sample string 2</DistanceToFireStation>
    <DistanceToHydrant>1</DistanceToHydrant>
    <DwellUseCd>_1</DwellUseCd>
    <FireProtectionClassCd>sample string 1</FireProtectionClassCd>
    <NumStories>1</NumStories>
    <ResidenceTypeCd>AP</ResidenceTypeCd>
    <RoofMaterialCd>A</RoofMaterialCd>
    <YearBuilt>1</YearBuilt>
  </Additional1>
  <Additional2>
    <DwellStyleCd>_13Q</DwellStyleCd>
    <EstimatedReplCostAmt>1</EstimatedReplCostAmt>
    <FireplaceInfoNumChimneys>1</FireplaceInfoNumChimneys>
    <FireplaceInfoNumHearths>1</FireplaceInfoNumHearths>
    <GarageNumVehs>1</GarageNumVehs>
    <GarageTypeCd>A</GarageTypeCd>
    <HeatSourcePrimaryCd>A</HeatSourcePrimaryCd>
    <NumFamilies>1</NumFamilies>
    <NumberOfPools>sample string 2</NumberOfPools>
    <NumberOfUnits>sample string 1</NumberOfUnits>
    <ParkingArea>sample string 3</ParkingArea>
  </Additional2>
  <AddressLine1>sample string 5</AddressLine1>
  <AddressLine2>sample string 6</AddressLine2>
  <AttachToPolicyNumber>sample string 17</AttachToPolicyNumber>
  <BuildingNumber>sample string 4</BuildingNumber>
  <City>sample string 7</City>
  <County>sample string 8</County>
  <Coverage>
    <AllOtherPerils>
      <Deductible>1</Deductible>
      <DeductiblePct>1</DeductiblePct>
    </AllOtherPerils>
    <CoverageCs>
      <CoverageCslLimtWithPremiumModel>
        <Deductible>1</Deductible>
        <DeductiblePct>1</DeductiblePct>
        <Premium>1</Premium>
        <Description>sample string 2</Description>
        <Limit1>1</Limit1>
        <Limit2>1</Limit2>
        <LimitCsl>1</LimitCsl>
        <Name>sample string 1</Name>
      </CoverageCslLimtWithPremiumModel>
      <CoverageCslLimtWithPremiumModel>
        <Deductible>1</Deductible>
        <DeductiblePct>1</DeductiblePct>
        <Premium>1</Premium>
        <Description>sample string 2</Description>
        <Limit1>1</Limit1>
        <Limit2>1</Limit2>
        <LimitCsl>1</LimitCsl>
        <Name>sample string 1</Name>
      </CoverageCslLimtWithPremiumModel>
    </CoverageCs>
    <Dwelling_A>
      <Limit>1</Limit>
      <Premium>1</Premium>
    </Dwelling_A>
    <Hurricane>
      <Deductible>1</Deductible>
      <DeductiblePct>1</DeductiblePct>
      <Premium>1</Premium>
    </Hurricane>
    <IncOrdinanceOrLaw>
      <Premium>1</Premium>
      <YesNo>No</YesNo>
    </IncOrdinanceOrLaw>
    <LossOfUse_D>
      <Limit>1</Limit>
      <Premium>1</Premium>
    </LossOfUse_D>
    <MedicalPayments_F>
      <Limit>1</Limit>
      <Premium>1</Premium>
    </MedicalPayments_F>
    <OtherStructures_B>
      <Limit>1</Limit>
      <Premium>1</Premium>
    </OtherStructures_B>
    <PersonalLiability_E>
      <Limit>1</Limit>
      <Premium>1</Premium>
    </PersonalLiability_E>
    <PersonalProperty_C>
      <Limit>1</Limit>
      <Premium>1</Premium>
    </PersonalProperty_C>
    <PropertyTypeCd>_01</PropertyTypeCd>
  </Coverage>
  <DatabaseId>9f45ecc9-af1f-4c28-9e50-40bf0ffdec07</DatabaseId>
  <Description>sample string 11</Description>
  <DescriptionOfOperations>sample string 10</DescriptionOfOperations>
  <InsuredCommercialName>sample string 16</InsuredCommercialName>
  <InsuredDatabaseId>e8de9080-355b-48f9-8aaa-db06d330866a</InsuredDatabaseId>
  <InsuredEmail>sample string 13</InsuredEmail>
  <InsuredFirstName>sample string 14</InsuredFirstName>
  <InsuredLastName>sample string 15</InsuredLastName>
  <LocationNumber>sample string 3</LocationNumber>
  <PropertyLienHolders>
    <PropertyLienHolderDetails>
      <CertificateHolderDatabaseId>abc57acb-2e1f-4e9e-aeb2-6c255f8044ef</CertificateHolderDatabaseId>
      <LoanNumber>sample string 2</LoanNumber>
      <NatureOfInterest>A2</NatureOfInterest>
    </PropertyLienHolderDetails>
    <PropertyLienHolderDetails>
      <CertificateHolderDatabaseId>abc57acb-2e1f-4e9e-aeb2-6c255f8044ef</CertificateHolderDatabaseId>
      <LoanNumber>sample string 2</LoanNumber>
      <NatureOfInterest>A2</NatureOfInterest>
    </PropertyLienHolderDetails>
  </PropertyLienHolders>
  <PropertyUse>sample string 2</PropertyUse>
  <State>sample string 12</State>
  <Zip>sample string 9</Zip>
</PropertyModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultWithDatabaseId
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "4b04f732-c3f6-4120-98ee-3ff99a76c246",
  "status": 0,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<NowCertsApiResultWithDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 2</Message>
  <Status>Error</Status>
  <DatabaseId>4b04f732-c3f6-4120-98ee-3ff99a76c246</DatabaseId>
</NowCertsApiResultWithDatabaseId>