POST api/SaveVehicleRentalExtras

Request Information

URI Parameters

None.

Body Parameters

VehicleRentalExtrasModel
NameDescriptionTypeAdditional information
ExtrasId

globally unique identifier

None.

ExtrasDescription

string

None.

ExtrasFullDescription

string

None.

ExtrasRateType

string

None.

Rate

decimal number

None.

Selected

boolean

None.

RentalVehicleId

globally unique identifier

None.

VehicleRentalExtrasId

globally unique identifier

None.

RentalExtrasId

globally unique identifier

None.

icon

Collection of byte

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ExtrasId": "4cc6aa3e-760c-4765-9283-6fcc127facb6",
  "ExtrasDescription": "sample string 2",
  "ExtrasFullDescription": "sample string 3",
  "ExtrasRateType": "sample string 4",
  "Rate": 5.1,
  "Selected": true,
  "RentalVehicleId": "f6c2c8c2-bb50-4a5b-932c-a6bef751d471",
  "VehicleRentalExtrasId": "117fc84a-8160-437d-90ff-771e63ef4319",
  "RentalExtrasId": "1d5c6251-8a78-45ff-b5c2-869c7f29366b",
  "icon": "QEA=",
  "UserId": "248a00c4-7fe4-4851-9e54-b18f039ff6a3"
}

application/xml, text/xml

Sample:
<VehicleRentalExtrasModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuoteEngineDta.FleetModels.Rental">
  <ExtrasDescription>sample string 2</ExtrasDescription>
  <ExtrasFullDescription>sample string 3</ExtrasFullDescription>
  <ExtrasId>4cc6aa3e-760c-4765-9283-6fcc127facb6</ExtrasId>
  <ExtrasRateType>sample string 4</ExtrasRateType>
  <Rate>5.1</Rate>
  <RentalExtrasId>1d5c6251-8a78-45ff-b5c2-869c7f29366b</RentalExtrasId>
  <RentalVehicleId>f6c2c8c2-bb50-4a5b-932c-a6bef751d471</RentalVehicleId>
  <Selected>true</Selected>
  <UserId>248a00c4-7fe4-4851-9e54-b18f039ff6a3</UserId>
  <VehicleRentalExtrasId>117fc84a-8160-437d-90ff-771e63ef4319</VehicleRentalExtrasId>
  <icon>QEA=</icon>
</VehicleRentalExtrasModel>

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 'VehicleRentalExtrasModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

None.