POST api/Property/InsertOrUpdate

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.

Request Formats

application/json, text/json

Sample:
{
  "databaseId": "b3cdc072-e39b-4b05-8a9f-456f02bdb772",
  "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": "440ea583-edcb-4f5b-b306-687efbb84866",
  "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": 1,
    "distanceToHydrant": 1,
    "airConditioningCd": 0,
    "distanceToFireStation": "sample string 1"
  },
  "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
  }
}

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 1</DistanceToFireStation>
    <DistanceToHydrant>1</DistanceToHydrant>
    <DwellUseCd>_1</DwellUseCd>
    <FireProtectionClassCd>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>b3cdc072-e39b-4b05-8a9f-456f02bdb772</DatabaseId>
  <Description>sample string 11</Description>
  <DescriptionOfOperations>sample string 10</DescriptionOfOperations>
  <InsuredCommercialName>sample string 16</InsuredCommercialName>
  <InsuredDatabaseId>440ea583-edcb-4f5b-b306-687efbb84866</InsuredDatabaseId>
  <InsuredEmail>sample string 13</InsuredEmail>
  <InsuredFirstName>sample string 14</InsuredFirstName>
  <InsuredLastName>sample string 15</InsuredLastName>
  <LocationNumber>sample string 3</LocationNumber>
  <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

NowCertsApiResult
NameDescriptionTypeAdditional information
Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<NowCertsApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResult>