Web Service Documentation / Categories / Basic Account Services / Edit Customer

Edit Customer

Updated on February 11, 2015

Description

Updates an account for your customer that you are already connected to. Currently you can only change whether they are allowed to share meter data with others. This only applies to their meters that you manage.

Version

9.0

HTTP Method

PUT

Resource URL

/customer/(customerId)

Header

Field Name Value Comments
Authorization Basic credentials
Content-Type application/xml

Authorization Required

Yes

Parameters

None

XML Schemas

Request/Response Schema Name
Request customer.xsd
Response response.xsd

Example Request

The following example updates a customer account that has an id of 23421.

PUT  /customer/23421

<customer> <includeTestPropertiesInGraphics>false</includeTestPropertiesInGraphics> </customer>

Example Response

The following example indicates that the customer account was successfully updated.

<response status="Ok">
    <id>23421</id>
    <links>
        <link httpMethod="GET" link="/customer/23421"
              linkDescription="This is the GET url for this Customer."/>
    </links>
</response>
LIVE