POST api/UserApplication/SaveAmenities

Request Information

URI Parameters

None.

Body Parameters

Collection of AmenitiesAvailableModel
NameDescriptionTypeAdditional information
ProspectId

integer

None.

ProspectQuoteId

integer

None.

DBARentalAmenityTypeId

integer

None.

DBARentalAmenityType

string

None.

Quantity

integer

None.

NonRefundableFee

decimal number

None.

DepositAmount

decimal number

None.

MonthlyRent

decimal number

None.

NosAvailable

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "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
  }
]

application/xml, text/xml

Sample:
<ArrayOfAmenitiesAvailableModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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>
</ArrayOfAmenitiesAvailableModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.