PUT request/water/customer/{customerId}
Updates a specific customer's company information
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerId | integer |
Required |
Body Parameters
WaterCustomerPutName | Description | Type | Additional information |
---|---|---|---|
BillingAddress | AddressInfo |
None. |
|
BusinessCategory | byte |
None. |
|
BusinessCategoryId | byte |
None. |
|
ChannelId | integer |
None. |
|
CompanyName | string |
None. |
|
CompanyRegistrationNumber | string |
None. |
|
CompanyType | byte |
None. |
|
CompanyTypeId | byte |
None. |
|
CorrespondenceAddress | AddressInfo |
None. |
|
CreditCheckExist | boolean |
None. |
|
CreditSafeReferenceId | string |
None. |
|
CustomerTypeId | byte |
None. |
|
DBT | integer |
None. |
|
Delphi | byte |
None. |
|
DelphiScore | byte |
None. |
|
DPTScore | integer |
None. |
|
string |
None. |
||
IndustrySector | integer |
None. |
|
IndustryType | string |
None. |
|
Landline | string |
None. |
|
Meter_Count | integer |
None. |
|
MicroBusiness | boolean |
None. |
|
Mobile | string |
None. |
|
NoOfPupils | integer |
None. |
|
PaperBilling | boolean |
None. |
|
ParentCustomerId | integer |
None. |
|
RegisteredAddress | AddressInfo |
None. |
|
SICCode | string |
None. |
|
SICCodeDescription | string |
None. |
|
Site_Count | integer |
None. |
|
VATNumber | string |
None. |
|
VatRate | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "delphiScore": 64, "dptScore": 1, "businessCategoryId": 64, "companyName": "sample string 1", "correspondenceAddress": { "line1": "sample string 1", "line2": "sample string 2", "city": "sample string 3", "county": "sample string 4", "postcode": "sample string 5" }, "registeredAddress": { "line1": "sample string 1", "line2": "sample string 2", "city": "sample string 3", "county": "sample string 4", "postcode": "sample string 5" }, "billingAddress": { "line1": "sample string 1", "line2": "sample string 2", "city": "sample string 3", "county": "sample string 4", "postcode": "sample string 5" }, "companyType": 64, "companyRegistrationNumber": "sample string 2", "landline": "sample string 3", "mobile": "sample string 4", "email": "sample string 5", "vatNumber": "sample string 6", "parentCustomerId": 1, "microBusiness": true, "noOfPupils": 1, "industryType": "sample string 7", "vatRate": 1.0, "paperBilling": true, "channelId": 1, "industrySector": 1, "creditSafeReferenceId": "sample string 8", "customerTypeId": 64, "delphi": 64, "dbt": 1, "businessCategory": 64, "companyTypeId": 64, "sicCode": "sample string 9", "sicCodeDescription": "sample string 10", "creditCheckExist": true, "site_Count": 1, "meter_Count": 1 }
text/html
Sample:
{"delphiScore":64,"dptScore":1,"businessCategoryId":64,"companyName":"sample string 1","correspondenceAddress":{"line1":"sample string 1","line2":"sample string 2","city":"sample string 3","county":"sample string 4","postcode":"sample string 5"},"registeredAddress":{"line1":"sample string 1","line2":"sample string 2","city":"sample string 3","county":"sample string 4","postcode":"sample string 5"},"billingAddress":{"line1":"sample string 1","line2":"sample string 2","city":"sample string 3","county":"sample string 4","postcode":"sample string 5"},"companyType":64,"companyRegistrationNumber":"sample string 2","landline":"sample string 3","mobile":"sample string 4","email":"sample string 5","vatNumber":"sample string 6","parentCustomerId":1,"microBusiness":true,"noOfPupils":1,"industryType":"sample string 7","vatRate":1.0,"paperBilling":true,"channelId":1,"industrySector":1,"creditSafeReferenceId":"sample string 8","customerTypeId":64,"delphi":64,"dbt":1,"businessCategory":64,"companyTypeId":64,"sicCode":"sample string 9","sicCodeDescription":"sample string 10","creditCheckExist":true,"site_Count":1,"meter_Count":1}
application/xml, text/xml
Sample:
<WaterCustomerPut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.WaterCustomer"> <BillingAddress xmlns:d2p1="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.Default"> <d2p1:City>sample string 3</d2p1:City> <d2p1:County>sample string 4</d2p1:County> <d2p1:Line1>sample string 1</d2p1:Line1> <d2p1:Line2>sample string 2</d2p1:Line2> <d2p1:Postcode>sample string 5</d2p1:Postcode> </BillingAddress> <BusinessCategory>64</BusinessCategory> <ChannelId>1</ChannelId> <CompanyName>sample string 1</CompanyName> <CompanyRegistrationNumber>sample string 2</CompanyRegistrationNumber> <CompanyType>64</CompanyType> <CompanyTypeId>64</CompanyTypeId> <CorrespondenceAddress xmlns:d2p1="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.Default"> <d2p1:City>sample string 3</d2p1:City> <d2p1:County>sample string 4</d2p1:County> <d2p1:Line1>sample string 1</d2p1:Line1> <d2p1:Line2>sample string 2</d2p1:Line2> <d2p1:Postcode>sample string 5</d2p1:Postcode> </CorrespondenceAddress> <CreditCheckExist>true</CreditCheckExist> <CreditSafeReferenceId>sample string 8</CreditSafeReferenceId> <CustomerTypeId>64</CustomerTypeId> <DBT>1</DBT> <Delphi>64</Delphi> <Email>sample string 5</Email> <IndustrySector>1</IndustrySector> <IndustryType>sample string 7</IndustryType> <Landline>sample string 3</Landline> <Meter_Count>1</Meter_Count> <MicroBusiness>true</MicroBusiness> <Mobile>sample string 4</Mobile> <NoOfPupils>1</NoOfPupils> <PaperBilling>true</PaperBilling> <ParentCustomerId>1</ParentCustomerId> <RegisteredAddress xmlns:d2p1="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.Default"> <d2p1:City>sample string 3</d2p1:City> <d2p1:County>sample string 4</d2p1:County> <d2p1:Line1>sample string 1</d2p1:Line1> <d2p1:Line2>sample string 2</d2p1:Line2> <d2p1:Postcode>sample string 5</d2p1:Postcode> </RegisteredAddress> <SICCode>sample string 9</SICCode> <SICCodeDescription>sample string 10</SICCodeDescription> <Site_Count>1</Site_Count> <VATNumber>sample string 6</VATNumber> <VatRate>1</VatRate> <BusinessCategoryId>64</BusinessCategoryId> <DPTScore>1</DPTScore> <DelphiScore>64</DelphiScore> </WaterCustomerPut>
Response Information
Resource Description
stringResponse Formats
application/json, text/json, text/html
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>