POST api/UserApplication/SavePets

Request Information

URI Parameters

None.

Body Parameters

Collection of PetsAllowedModel
NameDescriptionTypeAdditional information
ProspectId

integer

None.

ProspectQuoteId

integer

None.

DBAPetTypeId

integer

None.

DBAPetType

string

None.

Quantity

integer

None.

NonRefundableFee

decimal number

None.

DepositAmount

decimal number

None.

MonthlyRent

decimal number

None.

Request Formats

application/json, text/json

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

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.