GET api/UserApplication/GetAllowedPets/{dateNeeded}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dateNeeded | date |
Required |
Body Parameters
None.
Response Information
Resource Description
ListofPetsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Pets | Collection of PetsAllowedModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"pets": [
{
"prospectId": 1,
"prospectQuoteId": 1,
"dbaPetTypeId": 1,
"dbaPetType": "sample string 1",
"quantity": 1,
"nonRefundableFee": 1.0,
"depositAmount": 1.0,
"monthlyRent": 1.0
},
{
"prospectId": 1,
"prospectQuoteId": 1,
"dbaPetTypeId": 1,
"dbaPetType": "sample string 1",
"quantity": 1,
"nonRefundableFee": 1.0,
"depositAmount": 1.0,
"monthlyRent": 1.0
}
]
}
application/xml, text/xml
Sample:
<ListofPetsModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Pets>
<PetsAllowedModel>
<ProspectId>1</ProspectId>
<ProspectQuoteId>1</ProspectQuoteId>
<DBAPetTypeId>1</DBAPetTypeId>
<DBAPetType>sample string 1</DBAPetType>
<Quantity>1</Quantity>
<NonRefundableFee>1</NonRefundableFee>
<DepositAmount>1</DepositAmount>
<MonthlyRent>1</MonthlyRent>
</PetsAllowedModel>
<PetsAllowedModel>
<ProspectId>1</ProspectId>
<ProspectQuoteId>1</ProspectQuoteId>
<DBAPetTypeId>1</DBAPetTypeId>
<DBAPetType>sample string 1</DBAPetType>
<Quantity>1</Quantity>
<NonRefundableFee>1</NonRefundableFee>
<DepositAmount>1</DepositAmount>
<MonthlyRent>1</MonthlyRent>
</PetsAllowedModel>
</Pets>
</ListofPetsModel>