GET v1/Policies/Details/{policyDetailID}/FarmUnscheduledProperties/{id}
Get farm unscheduled properties by Id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| policyDetailID |
Id of the policy detail |
integer |
Required |
| id |
Id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Farm unscheduled properties
PolicyDetailsFarmUnscheduledPropertyDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| UnscheduledPropertyID |
Id of the unscheduled property |
integer |
None. |
| PolicyDetailsID |
Id of the policy details |
integer |
None. |
| LocationID |
Id of the location |
integer |
None. |
| ClassIfOther |
Class if other |
string |
None. |
| SubClassID |
Id of the subclass |
integer |
None. |
| SubClassIfOther |
Subclass if other |
string |
None. |
| CauseOfLoss |
Cause of loss |
string |
None. |
| Description |
Description |
string |
None. |
| Value |
Value |
integer |
None. |
| Deductible |
Deductible |
integer |
None. |
| UnitPrice |
Unit price |
decimal number |
None. |
| ClassID |
Id of the class |
integer |
None. |
| ClassName |
Classname |
string |
None. |
| SubClassName |
Subclass name |
string |
None. |
| LocationNumber |
Location number |
string |
None. |
| LocationAddress |
Location address |
string |
None. |
| ValueString |
Value string |
string |
None. |
| DeductibleString |
Deductible string |
string |
None. |
| UnitPriceString |
Unit price string |
string |
None. |
| ClassNameForListView |
Class name for list view |
string |
None. |
| SubClassNameForListView |
Subclass name for list view |
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"
}
application/xml, text/xml
Sample:
<PolicyDetailsFarmUnscheduledPropertyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PolicyDetail.Farm"> <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>