POST request/customer/{CustomerId}/gas/bespoke

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerId

integer

Required

Body Parameters

BespokeEligibleMeterPost
NameDescriptionTypeAdditional information
MeterIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "meterIds": [
    1,
    2
  ]
}

text/html

Sample:
{"meterIds":[1,2]}

application/xml, text/xml

Sample:
<BespokeEligibleMeterPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.QuoteDto">
  <MeterIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </MeterIds>
</BespokeEligibleMeterPost>

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>