announcement

During the current lapse in appropriations, EPA intends to keep the ENERGY STAR website, tools, and resources available, however they will not be updated regularly. Many services may not be available during this time.

Web Service Documentation / Categories / Basic Account Services / Get Customer Custom Field Values

Get Customer Custom Field Values

Updated on July 17, 2013

Description

This web service returns a list of custom fields and their values for a specific customer.

Version

25.0

HTTP Method

GET

Resource URL

/account/(accountId)/customFieldList

Header

Field Name Value Comments
Authorization Basic credentials

Authorization Required

Yes

Parameters

Parameter Name Description
accountId Id to account

XML Schemas

Request/Response Schema Name
Request None
Response customField.xsd

Example Request

The following example retrieves a list of custom fields and their values for an account that has an id of 7443.

GET  /account/7443/customFieldList

Example Response

The following example returns a list of customer-level identifiers and their values for a specific customer.

<?xml version="1.0" encoding="UTF-8"?>
<customFieldList>
   <customField name="Customer Number">FG123</customField>
</customFieldList>
TEST