POST request/dcda/customer/{CustomerId}/fuel/{FuelId}/quote/create
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
Required |
|
| FuelId | integer |
Required |
Body Parameters
DCDAQuoteCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| IsHH | boolean |
None. |
|
| Meters | Collection of DCDAMeter |
None. |
|
| ServiceTypeId | byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"isHH": true,
"serviceTypeId": 64,
"meters": [
{
"meterId": 1,
"siteId": 2
},
{
"meterId": 1,
"siteId": 2
}
]
}
text/html
Sample:
{"isHH":true,"serviceTypeId":64,"meters":[{"meterId":1,"siteId":2},{"meterId":1,"siteId":2}]}
application/xml, text/xml
Sample:
<DCDAQuoteCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.DCDAMOP">
<IsHH>true</IsHH>
<Meters>
<DCDAMeter>
<MeterId>1</MeterId>
<SiteId>2</SiteId>
</DCDAMeter>
<DCDAMeter>
<MeterId>1</MeterId>
<SiteId>2</SiteId>
</DCDAMeter>
</Meters>
<ServiceTypeId>64</ServiceTypeId>
</DCDAQuoteCreate>
Response Information
Resource Description
DCDAQuoteCreateResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| QuoteId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"quoteId": 1
}
text/html
Sample:
{"quoteId":1}
application/xml, text/xml
Sample:
<DCDAQuoteCreateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.DCDAMOP"> <QuoteId>1</QuoteId> </DCDAQuoteCreateResponse>