GET api/UserApplication/GetAvailableAmenities/{dateNeeded}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dateNeeded | date |
Required |
Body Parameters
None.
Response Information
Resource Description
ListofAmenitiesModelName | Description | Type | Additional information |
---|---|---|---|
Amenities | Collection of AmenitiesAvailableModel |
None. |
|
PermanentAmenities | Collection of PermanentAmenitiesModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "amenities": [ { "prospectId": 1, "prospectQuoteId": 1, "dbaRentalAmenityTypeId": 1, "dbaRentalAmenityType": "sample string 1", "quantity": 1, "nonRefundableFee": 1.0, "depositAmount": 1.0, "monthlyRent": 1.0, "nosAvailable": 1 }, { "prospectId": 1, "prospectQuoteId": 1, "dbaRentalAmenityTypeId": 1, "dbaRentalAmenityType": "sample string 1", "quantity": 1, "nonRefundableFee": 1.0, "depositAmount": 1.0, "monthlyRent": 1.0, "nosAvailable": 1 } ], "permanentAmenities": [ { "rentalAmenityTypeId": 1, "dbaRentalAmenityTypeId": 1, "unitNumber": "sample string 1", "dbaRentalAmenityType": "sample string 2", "amenityNumber": "sample string 3", "monthlyRent": 1.0, "nonRefundableFee": 1.0, "depositAmount": 1.0 }, { "rentalAmenityTypeId": 1, "dbaRentalAmenityTypeId": 1, "unitNumber": "sample string 1", "dbaRentalAmenityType": "sample string 2", "amenityNumber": "sample string 3", "monthlyRent": 1.0, "nonRefundableFee": 1.0, "depositAmount": 1.0 } ] }
application/xml, text/xml
Sample:
<ListofAmenitiesModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Amenities> <AmenitiesAvailableModel> <ProspectId>1</ProspectId> <ProspectQuoteId>1</ProspectQuoteId> <DBARentalAmenityTypeId>1</DBARentalAmenityTypeId> <DBARentalAmenityType>sample string 1</DBARentalAmenityType> <Quantity>1</Quantity> <NonRefundableFee>1</NonRefundableFee> <DepositAmount>1</DepositAmount> <MonthlyRent>1</MonthlyRent> <NosAvailable>1</NosAvailable> </AmenitiesAvailableModel> <AmenitiesAvailableModel> <ProspectId>1</ProspectId> <ProspectQuoteId>1</ProspectQuoteId> <DBARentalAmenityTypeId>1</DBARentalAmenityTypeId> <DBARentalAmenityType>sample string 1</DBARentalAmenityType> <Quantity>1</Quantity> <NonRefundableFee>1</NonRefundableFee> <DepositAmount>1</DepositAmount> <MonthlyRent>1</MonthlyRent> <NosAvailable>1</NosAvailable> </AmenitiesAvailableModel> </Amenities> <PermanentAmenities> <PermanentAmenitiesModel> <RentalAmenityTypeId>1</RentalAmenityTypeId> <DBARentalAmenityTypeId>1</DBARentalAmenityTypeId> <UnitNumber>sample string 1</UnitNumber> <DBARentalAmenityType>sample string 2</DBARentalAmenityType> <AmenityNumber>sample string 3</AmenityNumber> <MonthlyRent>1</MonthlyRent> <NonRefundableFee>1</NonRefundableFee> <DepositAmount>1</DepositAmount> </PermanentAmenitiesModel> <PermanentAmenitiesModel> <RentalAmenityTypeId>1</RentalAmenityTypeId> <DBARentalAmenityTypeId>1</DBARentalAmenityTypeId> <UnitNumber>sample string 1</UnitNumber> <DBARentalAmenityType>sample string 2</DBARentalAmenityType> <AmenityNumber>sample string 3</AmenityNumber> <MonthlyRent>1</MonthlyRent> <NonRefundableFee>1</NonRefundableFee> <DepositAmount>1</DepositAmount> </PermanentAmenitiesModel> </PermanentAmenities> </ListofAmenitiesModel>