PUT request/clevel/customer/carbonoffset
Request Information
URI Parameters
None.
Body Parameters
CarbonFootprintPutName | Description | Type | Additional information |
---|---|---|---|
AnnualkWhGas | integer |
None. |
|
CarbonFootprint | decimal number |
None. |
|
CustomerId | integer |
None. |
|
FirstName | string |
None. |
|
FootprintEquals | string |
None. |
|
FullCarbonCost | decimal number |
None. |
|
IsPaymentSuccessful | boolean |
None. |
|
LastName | string |
None. |
|
PaymentDate | date |
None. |
|
PaymentReference | string |
None. |
|
ProjectPercentage | decimal number |
None. |
|
ProjectSelected | string |
None. |
|
QuoteId | string |
None. |
|
uuid | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "uuid": "sample string 1", "customerId": 2, "quoteId": "sample string 3", "firstName": "sample string 4", "lastName": "sample string 5", "annualkWhGas": 6, "carbonFootprint": 7.0, "footprintEquals": "sample string 8", "projectSelected": "sample string 9", "projectPercentage": 1.0, "paymentDate": "2025-04-04T11:03:46.7351911+00:00", "fullCarbonCost": 1.0, "isPaymentSuccessful": true, "paymentReference": "sample string 10" }
application/xml, text/xml
Sample:
<CLevelcarbon.CarbonFootprintPut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Models.CLevelCarbon"> <AnnualkWhGas>6</AnnualkWhGas> <CarbonFootprint>7</CarbonFootprint> <CustomerId>2</CustomerId> <FirstName>sample string 4</FirstName> <FootprintEquals>sample string 8</FootprintEquals> <FullCarbonCost>1</FullCarbonCost> <IsPaymentSuccessful>true</IsPaymentSuccessful> <LastName>sample string 5</LastName> <PaymentDate>2025-04-04T11:03:46.7351911+00:00</PaymentDate> <PaymentReference>sample string 10</PaymentReference> <ProjectPercentage>1</ProjectPercentage> <ProjectSelected>sample string 9</ProjectSelected> <QuoteId>sample string 3</QuoteId> <uuid>sample string 1</uuid> </CLevelcarbon.CarbonFootprintPut>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="uuid" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CustomerId" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="QuoteId" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="FirstName" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="LastName" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AnnualkWhGas" 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CarbonFootprint" 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="FootprintEquals" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ProjectSelected" sample string 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ProjectPercentage" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PaymentDate" 2025-04-04T11:03:46.7351911+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="FullCarbonCost" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsPaymentSuccessful" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PaymentReference" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="" True --MultipartDataMediaFormatterBoundary1q2w3e--