GET v1/Policies/Details/{policyDetailID}/FarmUnscheduledProperties

Get a list of farm unscheduled properties

Request Information

URI Parameters

NameDescriptionTypeAdditional information
policyDetailID

Id of the policy detail

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of unscheduled properties

Collection of PolicyDetailsFarmUnscheduledPropertyDTO
NameDescriptionTypeAdditional information
UnscheduledPropertyID

integer

None.

PolicyDetailsID

integer

None.

LocationID

integer

None.

ClassIfOther

string

None.

SubClassID

integer

None.

SubClassIfOther

string

None.

CauseOfLoss

string

None.

Description

string

None.

Value

integer

None.

Deductible

integer

None.

UnitPrice

decimal number

None.

ClassID

integer

None.

ClassName

string

None.

SubClassName

string

None.

LocationNumber

string

None.

LocationAddress

string

None.

ValueString

string

None.

DeductibleString

string

None.

UnitPriceString

string

None.

ClassNameForListView

string

None.

SubClassNameForListView

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UnscheduledPropertyID": 1,
    "PolicyDetailsID": 2,
    "LocationID": 3,
    "ClassIfOther": "sample string 4",
    "SubClassID": 5,
    "SubClassIfOther": "sample string 6",
    "CauseOfLoss": "sample string 7",
    "Description": "sample string 8",
    "Value": 1,
    "Deductible": 1,
    "UnitPrice": 1.0,
    "ClassID": 9,
    "ClassName": "sample string 10",
    "SubClassName": "sample string 11",
    "LocationNumber": "sample string 12",
    "LocationAddress": "sample string 13",
    "ValueString": "$1",
    "DeductibleString": "$1",
    "UnitPriceString": "$1.00",
    "ClassNameForListView": "sample string 10",
    "SubClassNameForListView": "sample string 11"
  },
  {
    "UnscheduledPropertyID": 1,
    "PolicyDetailsID": 2,
    "LocationID": 3,
    "ClassIfOther": "sample string 4",
    "SubClassID": 5,
    "SubClassIfOther": "sample string 6",
    "CauseOfLoss": "sample string 7",
    "Description": "sample string 8",
    "Value": 1,
    "Deductible": 1,
    "UnitPrice": 1.0,
    "ClassID": 9,
    "ClassName": "sample string 10",
    "SubClassName": "sample string 11",
    "LocationNumber": "sample string 12",
    "LocationAddress": "sample string 13",
    "ValueString": "$1",
    "DeductibleString": "$1",
    "UnitPriceString": "$1.00",
    "ClassNameForListView": "sample string 10",
    "SubClassNameForListView": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPolicyDetailsFarmUnscheduledPropertyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PolicyDetail.Farm">
  <PolicyDetailsFarmUnscheduledPropertyDTO>
    <CauseOfLoss>sample string 7</CauseOfLoss>
    <ClassID>9</ClassID>
    <ClassIfOther>sample string 4</ClassIfOther>
    <ClassName>sample string 10</ClassName>
    <Deductible>1</Deductible>
    <Description>sample string 8</Description>
    <LocationAddress>sample string 13</LocationAddress>
    <LocationID>3</LocationID>
    <LocationNumber>sample string 12</LocationNumber>
    <PolicyDetailsID>2</PolicyDetailsID>
    <SubClassID>5</SubClassID>
    <SubClassIfOther>sample string 6</SubClassIfOther>
    <SubClassName>sample string 11</SubClassName>
    <UnitPrice>1</UnitPrice>
    <UnscheduledPropertyID>1</UnscheduledPropertyID>
    <Value>1</Value>
  </PolicyDetailsFarmUnscheduledPropertyDTO>
  <PolicyDetailsFarmUnscheduledPropertyDTO>
    <CauseOfLoss>sample string 7</CauseOfLoss>
    <ClassID>9</ClassID>
    <ClassIfOther>sample string 4</ClassIfOther>
    <ClassName>sample string 10</ClassName>
    <Deductible>1</Deductible>
    <Description>sample string 8</Description>
    <LocationAddress>sample string 13</LocationAddress>
    <LocationID>3</LocationID>
    <LocationNumber>sample string 12</LocationNumber>
    <PolicyDetailsID>2</PolicyDetailsID>
    <SubClassID>5</SubClassID>
    <SubClassIfOther>sample string 6</SubClassIfOther>
    <SubClassName>sample string 11</SubClassName>
    <UnitPrice>1</UnitPrice>
    <UnscheduledPropertyID>1</UnscheduledPropertyID>
    <Value>1</Value>
  </PolicyDetailsFarmUnscheduledPropertyDTO>
</ArrayOfPolicyDetailsFarmUnscheduledPropertyDTO>