POST request/customer/{customerId}/bespoke/{bespokequoteid}/results/{bespokesuppquoteid}/getcontractemail
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bespokequoteid | integer |
Required |
|
| bespokesuppquoteid | integer |
Required |
|
| customerId | integer |
Required |
Body Parameters
BespokeQuoteResults| Name | Description | Type | Additional information |
|---|---|---|---|
| AnnualCost | decimal number |
None. |
|
| AQ | TotalAQ |
None. |
|
| AveragePPU | decimal number |
None. |
|
| BespokeQuoteDocId | integer |
None. |
|
| BespokeSuppQuoteId | integer |
None. |
|
| Compare | boolean |
None. |
|
| ContractFound | boolean |
None. |
|
| ContractLength | integer |
None. |
|
| CurrentAnnualCost | decimal number |
None. |
|
| HHMeters | HHMeters |
None. |
|
| JourneyStatusRefId | integer |
None. |
|
| Meters | Collection of BespokeQuoteMeters |
None. |
|
| MetersNotQuoted | Collection of string |
None. |
|
| NHHMeters | NHHMeters |
None. |
|
| QuoteActualReplyDate | date |
None. |
|
| QuoteRequestDate | date |
None. |
|
| QuoteReturnDeadlineDate | date |
None. |
|
| RequestedEndDate | date |
None. |
|
| Savings | decimal number |
None. |
|
| SupplierId | byte |
None. |
|
| SupplierName | string |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"bespokeSuppQuoteId": 1,
"supplierId": 64,
"supplierName": "sample string 3",
"userId": 4,
"quoteRequestDate": "2025-11-05T12:20:48.3034486+00:00",
"quoteReturnDeadlineDate": "2025-11-05T12:20:48.3034486+00:00",
"quoteActualReplyDate": "2025-11-05T12:20:48.3034486+00:00",
"journeyStatusRefId": 1,
"hhMeters": {
"requested": 1,
"covered": 1
},
"nhhMeters": {
"requested": 1,
"covered": 1
},
"aq": {
"requested": 1,
"returned": 1
},
"bespokeQuoteDocId": 1,
"annualCost": 1.0,
"averagePPU": 1.0,
"contractLength": 1,
"metersNotQuoted": [
"sample string 1",
"sample string 2"
],
"contractFound": true,
"meters": [
{
"bespokeQuoteMeterId": 1,
"bespokeResultId": 2,
"mpanMprn": "sample string 3",
"journeyStatusRefId": 4,
"resultReturnedDate": "2025-11-05T12:20:48.3034486+00:00",
"capacityOrSOQ": 1.0,
"meterCapacity": 1.0,
"supplyCapacity": 1.0,
"supplierUsed": {
"annualConsumption": 1,
"dayConsumption": 1,
"nightConsumption": 1,
"otherConsumption": 1,
"standingCharge": 1.0
},
"standingCharge": 1.0,
"hhRate": {
"day": 1.0,
"night": 1.0
},
"nhhRate": {
"dayOrSingle": 1.0,
"night": 1.0,
"other": 1.0,
"fitRate": 1.0
},
"notes": "sample string 5",
"previousSupplier": 1,
"renewalOrExistingDUR": 1.0,
"renewalOrExistingNUR": 1.0,
"renewalOrExistingEWR": 1.0
},
{
"bespokeQuoteMeterId": 1,
"bespokeResultId": 2,
"mpanMprn": "sample string 3",
"journeyStatusRefId": 4,
"resultReturnedDate": "2025-11-05T12:20:48.3034486+00:00",
"capacityOrSOQ": 1.0,
"meterCapacity": 1.0,
"supplyCapacity": 1.0,
"supplierUsed": {
"annualConsumption": 1,
"dayConsumption": 1,
"nightConsumption": 1,
"otherConsumption": 1,
"standingCharge": 1.0
},
"standingCharge": 1.0,
"hhRate": {
"day": 1.0,
"night": 1.0
},
"nhhRate": {
"dayOrSingle": 1.0,
"night": 1.0,
"other": 1.0,
"fitRate": 1.0
},
"notes": "sample string 5",
"previousSupplier": 1,
"renewalOrExistingDUR": 1.0,
"renewalOrExistingNUR": 1.0,
"renewalOrExistingEWR": 1.0
}
],
"currentAnnualCost": 1.0,
"savings": 1.0,
"compare": true,
"requestedEndDate": "2025-11-05T12:20:48.3034486+00:00"
}
text/html
Sample:
{"bespokeSuppQuoteId":1,"supplierId":64,"supplierName":"sample string 3","userId":4,"quoteRequestDate":"2025-11-05T12:20:48.3034486+00:00","quoteReturnDeadlineDate":"2025-11-05T12:20:48.3034486+00:00","quoteActualReplyDate":"2025-11-05T12:20:48.3034486+00:00","journeyStatusRefId":1,"hhMeters":{"requested":1,"covered":1},"nhhMeters":{"requested":1,"covered":1},"aq":{"requested":1,"returned":1},"bespokeQuoteDocId":1,"annualCost":1.0,"averagePPU":1.0,"contractLength":1,"metersNotQuoted":["sample string 1","sample string 2"],"contractFound":true,"meters":[{"bespokeQuoteMeterId":1,"bespokeResultId":2,"mpanMprn":"sample string 3","journeyStatusRefId":4,"resultReturnedDate":"2025-11-05T12:20:48.3034486+00:00","capacityOrSOQ":1.0,"meterCapacity":1.0,"supplyCapacity":1.0,"supplierUsed":{"annualConsumption":1,"dayConsumption":1,"nightConsumption":1,"otherConsumption":1,"standingCharge":1.0},"standingCharge":1.0,"hhRate":{"day":1.0,"night":1.0},"nhhRate":{"dayOrSingle":1.0,"night":1.0,"other":1.0,"fitRate":1.0},"notes":"sample string 5","previousSupplier":1,"renewalOrExistingDUR":1.0,"renewalOrExistingNUR":1.0,"renewalOrExistingEWR":1.0},{"bespokeQuoteMeterId":1,"bespokeResultId":2,"mpanMprn":"sample string 3","journeyStatusRefId":4,"resultReturnedDate":"2025-11-05T12:20:48.3034486+00:00","capacityOrSOQ":1.0,"meterCapacity":1.0,"supplyCapacity":1.0,"supplierUsed":{"annualConsumption":1,"dayConsumption":1,"nightConsumption":1,"otherConsumption":1,"standingCharge":1.0},"standingCharge":1.0,"hhRate":{"day":1.0,"night":1.0},"nhhRate":{"dayOrSingle":1.0,"night":1.0,"other":1.0,"fitRate":1.0},"notes":"sample string 5","previousSupplier":1,"renewalOrExistingDUR":1.0,"renewalOrExistingNUR":1.0,"renewalOrExistingEWR":1.0}],"currentAnnualCost":1.0,"savings":1.0,"compare":true,"requestedEndDate":"2025-11-05T12:20:48.3034486+00:00"}
application/xml, text/xml
Sample:
<BespokeQuoteResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.QuoteDto">
<AQ>
<Requested>1</Requested>
<Returned>1</Returned>
</AQ>
<AnnualCost>1</AnnualCost>
<AveragePPU>1</AveragePPU>
<BespokeQuoteDocId>1</BespokeQuoteDocId>
<BespokeSuppQuoteId>1</BespokeSuppQuoteId>
<Compare>true</Compare>
<ContractFound>true</ContractFound>
<ContractLength>1</ContractLength>
<CurrentAnnualCost>1</CurrentAnnualCost>
<HHMeters>
<Covered>1</Covered>
<Requested>1</Requested>
</HHMeters>
<JourneyStatusRefId>1</JourneyStatusRefId>
<Meters>
<BespokeQuoteMeters>
<BespokeQuoteMeterId>1</BespokeQuoteMeterId>
<BespokeResultId>2</BespokeResultId>
<CapacityOrSOQ>1</CapacityOrSOQ>
<HHRate>
<Day>1</Day>
<Night>1</Night>
</HHRate>
<JourneyStatusRefId>4</JourneyStatusRefId>
<MeterCapacity>1</MeterCapacity>
<MpanMprn>sample string 3</MpanMprn>
<NHHRate>
<DayOrSingle>1</DayOrSingle>
<FitRate>1</FitRate>
<Night>1</Night>
<Other>1</Other>
</NHHRate>
<Notes>sample string 5</Notes>
<PreviousSupplier>1</PreviousSupplier>
<RenewalOrExistingDUR>1</RenewalOrExistingDUR>
<RenewalOrExistingEWR>1</RenewalOrExistingEWR>
<RenewalOrExistingNUR>1</RenewalOrExistingNUR>
<ResultReturnedDate>2025-11-05T12:20:48.3034486+00:00</ResultReturnedDate>
<StandingCharge>1</StandingCharge>
<SupplierUsed>
<AnnualConsumption>1</AnnualConsumption>
<DayConsumption>1</DayConsumption>
<NightConsumption>1</NightConsumption>
<OtherConsumption>1</OtherConsumption>
<StandingCharge>1</StandingCharge>
</SupplierUsed>
<SupplyCapacity>1</SupplyCapacity>
</BespokeQuoteMeters>
<BespokeQuoteMeters>
<BespokeQuoteMeterId>1</BespokeQuoteMeterId>
<BespokeResultId>2</BespokeResultId>
<CapacityOrSOQ>1</CapacityOrSOQ>
<HHRate>
<Day>1</Day>
<Night>1</Night>
</HHRate>
<JourneyStatusRefId>4</JourneyStatusRefId>
<MeterCapacity>1</MeterCapacity>
<MpanMprn>sample string 3</MpanMprn>
<NHHRate>
<DayOrSingle>1</DayOrSingle>
<FitRate>1</FitRate>
<Night>1</Night>
<Other>1</Other>
</NHHRate>
<Notes>sample string 5</Notes>
<PreviousSupplier>1</PreviousSupplier>
<RenewalOrExistingDUR>1</RenewalOrExistingDUR>
<RenewalOrExistingEWR>1</RenewalOrExistingEWR>
<RenewalOrExistingNUR>1</RenewalOrExistingNUR>
<ResultReturnedDate>2025-11-05T12:20:48.3034486+00:00</ResultReturnedDate>
<StandingCharge>1</StandingCharge>
<SupplierUsed>
<AnnualConsumption>1</AnnualConsumption>
<DayConsumption>1</DayConsumption>
<NightConsumption>1</NightConsumption>
<OtherConsumption>1</OtherConsumption>
<StandingCharge>1</StandingCharge>
</SupplierUsed>
<SupplyCapacity>1</SupplyCapacity>
</BespokeQuoteMeters>
</Meters>
<MetersNotQuoted xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</MetersNotQuoted>
<NHHMeters>
<Covered>1</Covered>
<Requested>1</Requested>
</NHHMeters>
<QuoteActualReplyDate>2025-11-05T12:20:48.3034486+00:00</QuoteActualReplyDate>
<QuoteRequestDate>2025-11-05T12:20:48.3034486+00:00</QuoteRequestDate>
<QuoteReturnDeadlineDate>2025-11-05T12:20:48.3034486+00:00</QuoteReturnDeadlineDate>
<RequestedEndDate>2025-11-05T12:20:48.3034486+00:00</RequestedEndDate>
<Savings>1</Savings>
<SupplierId>64</SupplierId>
<SupplierName>sample string 3</SupplierName>
<UserId>4</UserId>
</BespokeQuoteResults>
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>