There has been a lapse in Environmental Protection Agency appropriations. EPA intends to keep the ENERGY STAR website, tools, and resources available, however they will not be updated regularly. If you submit a question, application, or request to EPA, it may not be processed during this period.
Web Service Documentation / Categories / Connection/Share Services / Accept/Reject Pending Connection Requests
Updated on July 17, 2013
This web service sends an accept or reject reply to a pending connection request along with an optional note based on the information provided in the XML request.
25.0
POST
/connect/account/(accountId)
| Field Name | Value | Comments |
|---|---|---|
| Authorization | Basic credentials | |
| Content-Type | application/xml |
Yes
| Parameter Name | Description |
|---|---|
| accountId | Id to the account |
| Request/Response | Schema Name |
|---|---|
| Request | authorization.xsd |
| Response | response.xsd |
The following example accepts the connection request to the account that has an id of 68023.
POST /connect/account/68023<?xml version="1.0" encoding="UTF-8"?> <sharingResponse> <action>Accept</action> <note>Your connection request has been verified and accepted.</note> </sharingResponse>
The following example rejects the connection request to the account that has an ID of 11111.
POST /connect/account/11111<?xml version="1.0" encoding="UTF-8"?> <sharingResponse> <action>Reject</action> <note>Unfortunately we cannot provide services for you at this time.</note> </sharingResponse>
The following example shows that the connection has been established to the account that has an id of 68023. It also includes a link to web service to retrieve the customer.
<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok"/>
