PUT request/Customer/esa/ev/quote

Request Information

URI Parameters

None.

Body Parameters

QuoteEvUpdateRequest
NameDescriptionTypeAdditional information
Address

AddressRequestModelView

None.

ChargerTypeId

byte

None.

Compare

Vehicle

None.

CostPerLiterDieselCost

decimal number

None.

CostPerLiterPetrolCost

decimal number

None.

Current

Vehicle

None.

Electricity

ElectricityModelView

None.

MilesDrivenWeekDays

integer

None.

MilesDrivenWeekEnds

integer

None.

QuoteId

string

None.

ReferrerBranch

string

None.

TotalMiles

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "address": {
    "line1": "sample string 1",
    "line2": "sample string 2",
    "city": "sample string 3",
    "county": "sample string 4",
    "postcode": "sample string 5",
    "text": "sample string 6",
    "propertyType": "sample string 7",
    "propertyTypeId": 64
  },
  "electricity": {
    "supplierId": 1,
    "supplierName": "sample string 2",
    "tariffName": "sample string 3",
    "hashhd": true,
    "hhdDataRetrieval": "sample string 5",
    "tariffId": 1,
    "paymentType": "MonthlyDirectDebit",
    "consumption": 1.0,
    "smartMeterConsent": true,
    "moveInDate": "2025-04-04T11:09:18.9695736+00:00"
  },
  "current": {
    "registrationNumber": "sample string 1",
    "make": "sample string 2",
    "model": "sample string 3",
    "engineSize": 4,
    "fuel": "sample string 5",
    "cO2Emisions": "sample string 6",
    "roadTax": "sample string 7",
    "maxRangeOnTank": "sample string 8",
    "mpg": "sample string 9",
    "image": "sample string 10",
    "modelId": 11,
    "fuelId": 12,
    "makeId": 13,
    "batterySize": 14.0,
    "milesCovered": 15.0,
    "fastCharging": 1.0,
    "mediumCharging": 1.0,
    "lowCharging": 1.0,
    "uvc": "sample string 16",
    "isEv": true,
    "costPerMile": 18.0,
    "annualCost": 19.0,
    "costPerMileMax": 20.0,
    "annualCostMax": 21.0
  },
  "compare": {
    "registrationNumber": "sample string 1",
    "make": "sample string 2",
    "model": "sample string 3",
    "engineSize": 4,
    "fuel": "sample string 5",
    "cO2Emisions": "sample string 6",
    "roadTax": "sample string 7",
    "maxRangeOnTank": "sample string 8",
    "mpg": "sample string 9",
    "image": "sample string 10",
    "modelId": 11,
    "fuelId": 12,
    "makeId": 13,
    "batterySize": 14.0,
    "milesCovered": 15.0,
    "fastCharging": 1.0,
    "mediumCharging": 1.0,
    "lowCharging": 1.0,
    "uvc": "sample string 16",
    "isEv": true,
    "costPerMile": 18.0,
    "annualCost": 19.0,
    "costPerMileMax": 20.0,
    "annualCostMax": 21.0
  },
  "milesDrivenWeekDays": 1,
  "milesDrivenWeekEnds": 2,
  "chargerTypeId": 64,
  "totalMiles": 4,
  "costPerLiterDieselCost": 5.0,
  "costPerLiterPetrolCost": 6.0,
  "referrerBranch": "sample string 7",
  "quoteId": "sample string 8"
}

application/xml, text/xml

Sample:
<QuoteEvUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Models.Dto">
  <Address>
    <City>sample string 3</City>
    <County>sample string 4</County>
    <Line1>sample string 1</Line1>
    <Line2>sample string 2</Line2>
    <Postcode>sample string 5</Postcode>
    <PropertyType>sample string 7</PropertyType>
    <PropertyTypeId>64</PropertyTypeId>
    <Text>sample string 6</Text>
  </Address>
  <ChargerTypeId>64</ChargerTypeId>
  <Compare xmlns:d2p1="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Domain.Default.BindingModel">
    <d2p1:AnnualCost>19</d2p1:AnnualCost>
    <d2p1:AnnualCostMax>21</d2p1:AnnualCostMax>
    <d2p1:BatterySize>14</d2p1:BatterySize>
    <d2p1:CO2Emisions>sample string 6</d2p1:CO2Emisions>
    <d2p1:CostPerMile>18</d2p1:CostPerMile>
    <d2p1:CostPerMileMax>20</d2p1:CostPerMileMax>
    <d2p1:EngineSize>4</d2p1:EngineSize>
    <d2p1:FastCharging>1</d2p1:FastCharging>
    <d2p1:Fuel>sample string 5</d2p1:Fuel>
    <d2p1:FuelId>12</d2p1:FuelId>
    <d2p1:Image>sample string 10</d2p1:Image>
    <d2p1:IsEv>true</d2p1:IsEv>
    <d2p1:LowCharging>1</d2p1:LowCharging>
    <d2p1:MPG>sample string 9</d2p1:MPG>
    <d2p1:Make>sample string 2</d2p1:Make>
    <d2p1:MakeId>13</d2p1:MakeId>
    <d2p1:MaxRangeOnTank>sample string 8</d2p1:MaxRangeOnTank>
    <d2p1:MediumCharging>1</d2p1:MediumCharging>
    <d2p1:MilesCovered>15</d2p1:MilesCovered>
    <d2p1:Model>sample string 3</d2p1:Model>
    <d2p1:ModelId>11</d2p1:ModelId>
    <d2p1:RegistrationNumber>sample string 1</d2p1:RegistrationNumber>
    <d2p1:RoadTax>sample string 7</d2p1:RoadTax>
    <d2p1:UVC>sample string 16</d2p1:UVC>
  </Compare>
  <CostPerLiterDieselCost>5</CostPerLiterDieselCost>
  <CostPerLiterPetrolCost>6</CostPerLiterPetrolCost>
  <Current xmlns:d2p1="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Domain.Default.BindingModel">
    <d2p1:AnnualCost>19</d2p1:AnnualCost>
    <d2p1:AnnualCostMax>21</d2p1:AnnualCostMax>
    <d2p1:BatterySize>14</d2p1:BatterySize>
    <d2p1:CO2Emisions>sample string 6</d2p1:CO2Emisions>
    <d2p1:CostPerMile>18</d2p1:CostPerMile>
    <d2p1:CostPerMileMax>20</d2p1:CostPerMileMax>
    <d2p1:EngineSize>4</d2p1:EngineSize>
    <d2p1:FastCharging>1</d2p1:FastCharging>
    <d2p1:Fuel>sample string 5</d2p1:Fuel>
    <d2p1:FuelId>12</d2p1:FuelId>
    <d2p1:Image>sample string 10</d2p1:Image>
    <d2p1:IsEv>true</d2p1:IsEv>
    <d2p1:LowCharging>1</d2p1:LowCharging>
    <d2p1:MPG>sample string 9</d2p1:MPG>
    <d2p1:Make>sample string 2</d2p1:Make>
    <d2p1:MakeId>13</d2p1:MakeId>
    <d2p1:MaxRangeOnTank>sample string 8</d2p1:MaxRangeOnTank>
    <d2p1:MediumCharging>1</d2p1:MediumCharging>
    <d2p1:MilesCovered>15</d2p1:MilesCovered>
    <d2p1:Model>sample string 3</d2p1:Model>
    <d2p1:ModelId>11</d2p1:ModelId>
    <d2p1:RegistrationNumber>sample string 1</d2p1:RegistrationNumber>
    <d2p1:RoadTax>sample string 7</d2p1:RoadTax>
    <d2p1:UVC>sample string 16</d2p1:UVC>
  </Current>
  <Electricity>
    <Consumption>1</Consumption>
    <MoveInDate>2025-04-04T11:09:18.9695736+00:00</MoveInDate>
    <PaymentType>MonthlyDirectDebit</PaymentType>
    <SmartMeterConsent>true</SmartMeterConsent>
    <TariffId>1</TariffId>
    <Hashhd>true</Hashhd>
    <HhdDataRetrieval>sample string 5</HhdDataRetrieval>
    <SupplierId>1</SupplierId>
    <SupplierName>sample string 2</SupplierName>
    <TariffName>sample string 3</TariffName>
  </Electricity>
  <MilesDrivenWeekDays>1</MilesDrivenWeekDays>
  <MilesDrivenWeekEnds>2</MilesDrivenWeekEnds>
  <QuoteId>sample string 8</QuoteId>
  <ReferrerBranch>sample string 7</ReferrerBranch>
  <TotalMiles>4</TotalMiles>
</QuoteEvUpdateRequest>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Line1"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Line2"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.City"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.County"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Postcode"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Text"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.PropertyType"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.PropertyTypeId"

64
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Electricity.SupplierId"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Electricity.SupplierName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Electricity.TariffName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Electricity.Hashhd"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Electricity.HhdDataRetrieval"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Electricity.TariffId"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Electricity.PaymentType"

MonthlyDirectDebit
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Electricity.Consumption"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Electricity.SmartMeterConsent"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Electricity.MoveInDate"

2025-04-04T11:09:18.9695736+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.RegistrationNumber"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.Make"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.Model"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.EngineSize"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.Fuel"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.CO2Emisions"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.RoadTax"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.MaxRangeOnTank"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.MPG"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.Image"

sample string 10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.ModelId"

11
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.FuelId"

12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.MakeId"

13
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.BatterySize"

14
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.MilesCovered"

15
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.FastCharging"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.MediumCharging"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.LowCharging"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.UVC"

sample string 16
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.IsEv"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.CostPerMile"

18
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.AnnualCost"

19
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.CostPerMileMax"

20
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Current.AnnualCostMax"

21
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.RegistrationNumber"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.Make"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.Model"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.EngineSize"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.Fuel"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.CO2Emisions"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.RoadTax"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.MaxRangeOnTank"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.MPG"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.Image"

sample string 10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.ModelId"

11
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.FuelId"

12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.MakeId"

13
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.BatterySize"

14
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.MilesCovered"

15
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.FastCharging"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.MediumCharging"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.LowCharging"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.UVC"

sample string 16
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.IsEv"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.CostPerMile"

18
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.AnnualCost"

19
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.CostPerMileMax"

20
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Compare.AnnualCostMax"

21
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="MilesDrivenWeekDays"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="MilesDrivenWeekEnds"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ChargerTypeId"

64
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TotalMiles"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CostPerLiterDieselCost"

5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CostPerLiterPetrolCost"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ReferrerBranch"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="QuoteId"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

QuoteResponseModel
NameDescriptionTypeAdditional information
QuoteId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "quoteId": "sample string 1"
}

application/xml, text/xml

Sample:
<QuoteResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Models.Dto">
  <QuoteId>sample string 1</QuoteId>
</QuoteResponseModel>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="QuoteId"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e--