GET v1/Policies/Details/{policyDetailID}/FarmAnimals/{id}

Get a farm animal for a specified policy detail by Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
policyDetailID

Id of the policy detail

integer

Required

id

Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Farm animal for a specified policy detail with given Id

PolicyDetailsFarmAnimalDTO
NameDescriptionTypeAdditional information
AnimalID

integer

None.

PremisesID

integer

None.

Type

string

None.

Name

string

None.

DateOfBirth

date

None.

Sex

string

None.

Breed

string

None.

Sire

string

None.

Dam

string

None.

RegistrationNumber

string

None.

PurchasePrice

string

None.

DateAquired

date

None.

AquisitionMethod

string

None.

AquisitionOther

string

None.

DescriptionOfUse

string

None.

Accommodations

string

None.

AccommodationsOther

string

None.

FullMortality

boolean

None.

Theft

boolean

None.

NamedPerils

boolean

None.

OptionalPerils

boolean

None.

PolicyDetailsID

integer

None.

LocationNumber

string

None.

BuildingNumber

string

None.

PremisesAddress

string

None.

DateOfBirthString

string

None.

DateAquiredString

string

None.

PolicyDetailsFarmAnimalCoverages

Collection of PolicyDetailsFarmAnimalCoverageDTO

None.

PolicyDetailsFarmAnimalAdditionalInterests

Collection of PolicyDetailsFarmAdditionalInterestDTO

None.

LocationBuildingString

string

None.

AnimalNumber

integer

None.

AcordAddCovAnimalNumber1

string

None.

AcordAddCovDescription1

string

None.

AcordAddCovLimit1

string

None.

AcordAddCovDeductible1

string

None.

AcordAddCovAnimalNumber2

string

None.

AcordAddCovDescription2

string

None.

AcordAddCovLimit2

string

None.

AcordAddCovDeductible2

string

None.

AcordAddCovAnimalNumber3

string

None.

AcordAddCovDescription3

string

None.

AcordAddCovLimit3

string

None.

AcordAddCovDeductible3

string

None.

AcordAddCovAnimalNumber4

string

None.

AcordAddCovDescription4

string

None.

AcordAddCovLimit4

string

None.

AcordAddCovDeductible4

string

None.

AnimalDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AnimalID": 1,
  "PremisesID": 2,
  "Type": "sample string 3",
  "Name": "sample string 4",
  "DateOfBirth": "2024-11-21T09:55:54.177816+00:00",
  "Sex": "sample string 5",
  "Breed": "sample string 6",
  "Sire": "sample string 7",
  "Dam": "sample string 8",
  "RegistrationNumber": "sample string 9",
  "PurchasePrice": "sample string 10",
  "DateAquired": "2024-11-21T09:55:54.177816+00:00",
  "AquisitionMethod": "sample string 11",
  "AquisitionOther": "sample string 12",
  "DescriptionOfUse": "sample string 13",
  "Accommodations": "sample string 14",
  "AccommodationsOther": "sample string 15",
  "FullMortality": true,
  "Theft": true,
  "NamedPerils": true,
  "OptionalPerils": true,
  "PolicyDetailsID": 16,
  "LocationNumber": "sample string 17",
  "BuildingNumber": "sample string 18",
  "PremisesAddress": "sample string 19",
  "DateOfBirthString": "11/21/2024",
  "DateAquiredString": "11/21/2024",
  "PolicyDetailsFarmAnimalCoverages": [
    {
      "CoverageID": 1,
      "AnimalID": 2,
      "Coverage": "sample string 3",
      "Limit": 1.0,
      "Deductible": 1.0
    },
    {
      "CoverageID": 1,
      "AnimalID": 2,
      "Coverage": "sample string 3",
      "Limit": 1.0,
      "Deductible": 1.0
    }
  ],
  "PolicyDetailsFarmAnimalAdditionalInterests": [
    {
      "AddInterestID": 1,
      "ContactID": 1,
      "AddInterestTypeID": "sample string 2",
      "OtherLabel": "sample string 3",
      "Name": "sample string 4",
      "AddressLine1": "sample string 5",
      "AddressLine2": "sample string 6",
      "AddressCity": "sample string 7",
      "AddressState": "sample string 8",
      "AddressZip": "sample string 9",
      "LoanNumber": "sample string 10",
      "Rank": "sample string 11",
      "EvidenceIsCertificate": true,
      "EvidenceIsSendBill": true,
      "InterestLocation": "sample string 12",
      "InterestVehicle": "sample string 13",
      "InterestItemClass": "sample string 14",
      "InterestBuilding": "sample string 15",
      "InterestBoat": "sample string 16",
      "InterestItem": "sample string 17",
      "ItemDescription": "sample string 18",
      "PolicyDetailsID": 19,
      "ObjectID": 20,
      "IsAnimalAdditionalInterest": true,
      "PropertyTypeHasChanged": true,
      "ListItemDescription": "sample string 23",
      "AddInterestTypeString": "sample string 24"
    },
    {
      "AddInterestID": 1,
      "ContactID": 1,
      "AddInterestTypeID": "sample string 2",
      "OtherLabel": "sample string 3",
      "Name": "sample string 4",
      "AddressLine1": "sample string 5",
      "AddressLine2": "sample string 6",
      "AddressCity": "sample string 7",
      "AddressState": "sample string 8",
      "AddressZip": "sample string 9",
      "LoanNumber": "sample string 10",
      "Rank": "sample string 11",
      "EvidenceIsCertificate": true,
      "EvidenceIsSendBill": true,
      "InterestLocation": "sample string 12",
      "InterestVehicle": "sample string 13",
      "InterestItemClass": "sample string 14",
      "InterestBuilding": "sample string 15",
      "InterestBoat": "sample string 16",
      "InterestItem": "sample string 17",
      "ItemDescription": "sample string 18",
      "PolicyDetailsID": 19,
      "ObjectID": 20,
      "IsAnimalAdditionalInterest": true,
      "PropertyTypeHasChanged": true,
      "ListItemDescription": "sample string 23",
      "AddInterestTypeString": "sample string 24"
    }
  ],
  "LocationBuildingString": "Loc#: sample string 17 Bldg#: sample string 18 sample string 19",
  "AnimalNumber": 20,
  "AcordAddCovAnimalNumber1": "sample string 21",
  "AcordAddCovDescription1": "sample string 22",
  "AcordAddCovLimit1": "sample string 23",
  "AcordAddCovDeductible1": "sample string 24",
  "AcordAddCovAnimalNumber2": "sample string 25",
  "AcordAddCovDescription2": "sample string 26",
  "AcordAddCovLimit2": "sample string 27",
  "AcordAddCovDeductible2": "sample string 28",
  "AcordAddCovAnimalNumber3": "sample string 29",
  "AcordAddCovDescription3": "sample string 30",
  "AcordAddCovLimit3": "sample string 31",
  "AcordAddCovDeductible3": "sample string 32",
  "AcordAddCovAnimalNumber4": "sample string 33",
  "AcordAddCovDescription4": "sample string 34",
  "AcordAddCovLimit4": "sample string 35",
  "AcordAddCovDeductible4": "sample string 36",
  "AnimalDescription": "sample string 6 sample string 4"
}

application/xml, text/xml

Sample:
<PolicyDetailsFarmAnimalDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PolicyDetail.Farm">
  <Accommodations>sample string 14</Accommodations>
  <AccommodationsOther>sample string 15</AccommodationsOther>
  <AcordAddCovAnimalNumber1>sample string 21</AcordAddCovAnimalNumber1>
  <AcordAddCovAnimalNumber2>sample string 25</AcordAddCovAnimalNumber2>
  <AcordAddCovAnimalNumber3>sample string 29</AcordAddCovAnimalNumber3>
  <AcordAddCovAnimalNumber4>sample string 33</AcordAddCovAnimalNumber4>
  <AcordAddCovDeductible1>sample string 24</AcordAddCovDeductible1>
  <AcordAddCovDeductible2>sample string 28</AcordAddCovDeductible2>
  <AcordAddCovDeductible3>sample string 32</AcordAddCovDeductible3>
  <AcordAddCovDeductible4>sample string 36</AcordAddCovDeductible4>
  <AcordAddCovDescription1>sample string 22</AcordAddCovDescription1>
  <AcordAddCovDescription2>sample string 26</AcordAddCovDescription2>
  <AcordAddCovDescription3>sample string 30</AcordAddCovDescription3>
  <AcordAddCovDescription4>sample string 34</AcordAddCovDescription4>
  <AcordAddCovLimit1>sample string 23</AcordAddCovLimit1>
  <AcordAddCovLimit2>sample string 27</AcordAddCovLimit2>
  <AcordAddCovLimit3>sample string 31</AcordAddCovLimit3>
  <AcordAddCovLimit4>sample string 35</AcordAddCovLimit4>
  <AnimalID>1</AnimalID>
  <AnimalNumber>20</AnimalNumber>
  <AquisitionMethod>sample string 11</AquisitionMethod>
  <AquisitionOther>sample string 12</AquisitionOther>
  <Breed>sample string 6</Breed>
  <BuildingNumber>sample string 18</BuildingNumber>
  <Dam>sample string 8</Dam>
  <DateAquired>2024-11-21T09:55:54.177816+00:00</DateAquired>
  <DateOfBirth>2024-11-21T09:55:54.177816+00:00</DateOfBirth>
  <DescriptionOfUse>sample string 13</DescriptionOfUse>
  <FullMortality>true</FullMortality>
  <LocationNumber>sample string 17</LocationNumber>
  <Name>sample string 4</Name>
  <NamedPerils>true</NamedPerils>
  <OptionalPerils>true</OptionalPerils>
  <PolicyDetailsFarmAnimalAdditionalInterests>
    <PolicyDetailsFarmAdditionalInterestDTO>
      <AddInterestID>1</AddInterestID>
      <AddInterestTypeID>sample string 2</AddInterestTypeID>
      <AddInterestTypeString>sample string 24</AddInterestTypeString>
      <AddressCity>sample string 7</AddressCity>
      <AddressLine1>sample string 5</AddressLine1>
      <AddressLine2>sample string 6</AddressLine2>
      <AddressState>sample string 8</AddressState>
      <AddressZip>sample string 9</AddressZip>
      <ContactID>1</ContactID>
      <EvidenceIsCertificate>true</EvidenceIsCertificate>
      <EvidenceIsSendBill>true</EvidenceIsSendBill>
      <InterestBoat>sample string 16</InterestBoat>
      <InterestBuilding>sample string 15</InterestBuilding>
      <InterestItem>sample string 17</InterestItem>
      <InterestItemClass>sample string 14</InterestItemClass>
      <InterestLocation>sample string 12</InterestLocation>
      <InterestVehicle>sample string 13</InterestVehicle>
      <IsAnimalAdditionalInterest>true</IsAnimalAdditionalInterest>
      <ItemDescription>sample string 18</ItemDescription>
      <ListItemDescription>sample string 23</ListItemDescription>
      <LoanNumber>sample string 10</LoanNumber>
      <Name>sample string 4</Name>
      <ObjectID>20</ObjectID>
      <OtherLabel>sample string 3</OtherLabel>
      <PolicyDetailsID>19</PolicyDetailsID>
      <PropertyTypeHasChanged>true</PropertyTypeHasChanged>
      <Rank>sample string 11</Rank>
    </PolicyDetailsFarmAdditionalInterestDTO>
    <PolicyDetailsFarmAdditionalInterestDTO>
      <AddInterestID>1</AddInterestID>
      <AddInterestTypeID>sample string 2</AddInterestTypeID>
      <AddInterestTypeString>sample string 24</AddInterestTypeString>
      <AddressCity>sample string 7</AddressCity>
      <AddressLine1>sample string 5</AddressLine1>
      <AddressLine2>sample string 6</AddressLine2>
      <AddressState>sample string 8</AddressState>
      <AddressZip>sample string 9</AddressZip>
      <ContactID>1</ContactID>
      <EvidenceIsCertificate>true</EvidenceIsCertificate>
      <EvidenceIsSendBill>true</EvidenceIsSendBill>
      <InterestBoat>sample string 16</InterestBoat>
      <InterestBuilding>sample string 15</InterestBuilding>
      <InterestItem>sample string 17</InterestItem>
      <InterestItemClass>sample string 14</InterestItemClass>
      <InterestLocation>sample string 12</InterestLocation>
      <InterestVehicle>sample string 13</InterestVehicle>
      <IsAnimalAdditionalInterest>true</IsAnimalAdditionalInterest>
      <ItemDescription>sample string 18</ItemDescription>
      <ListItemDescription>sample string 23</ListItemDescription>
      <LoanNumber>sample string 10</LoanNumber>
      <Name>sample string 4</Name>
      <ObjectID>20</ObjectID>
      <OtherLabel>sample string 3</OtherLabel>
      <PolicyDetailsID>19</PolicyDetailsID>
      <PropertyTypeHasChanged>true</PropertyTypeHasChanged>
      <Rank>sample string 11</Rank>
    </PolicyDetailsFarmAdditionalInterestDTO>
  </PolicyDetailsFarmAnimalAdditionalInterests>
  <PolicyDetailsFarmAnimalCoverages>
    <PolicyDetailsFarmAnimalCoverageDTO>
      <AnimalID>2</AnimalID>
      <Coverage>sample string 3</Coverage>
      <CoverageID>1</CoverageID>
      <Deductible>1</Deductible>
      <Limit>1</Limit>
    </PolicyDetailsFarmAnimalCoverageDTO>
    <PolicyDetailsFarmAnimalCoverageDTO>
      <AnimalID>2</AnimalID>
      <Coverage>sample string 3</Coverage>
      <CoverageID>1</CoverageID>
      <Deductible>1</Deductible>
      <Limit>1</Limit>
    </PolicyDetailsFarmAnimalCoverageDTO>
  </PolicyDetailsFarmAnimalCoverages>
  <PolicyDetailsID>16</PolicyDetailsID>
  <PremisesAddress>sample string 19</PremisesAddress>
  <PremisesID>2</PremisesID>
  <PurchasePrice>sample string 10</PurchasePrice>
  <RegistrationNumber>sample string 9</RegistrationNumber>
  <Sex>sample string 5</Sex>
  <Sire>sample string 7</Sire>
  <Theft>true</Theft>
  <Type>sample string 3</Type>
</PolicyDetailsFarmAnimalDTO>