Web Service Documentation / Categories / Reporting Services / Edit Data Response

Edit Data Response

Updated on October 10, 2023

Description

This web service updates the list of properties to a specific customer's data response. The list of properties provided replaces the list of the properties currently associated to the customer's data response. The customer can reference a user you're connected to or your own account.

Version

22.0

HTTP Method

PUT

Resource URL

/reports/customers/(customerId)/dataResponses/(dataResponseId)

Header

Field Name Value Comments
Authorization Basic credentials

Authorization Required

Yes

Parameters

Parameter Name Description
customerId Id of the customer
dataResponseId Id of the data response

XML Schemas

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

Example Request

The following example creates a data response for a specific data request that has an id of 34343 that belongs to a customer with an id of 675434.

PUT  /reports/customers/675434/dataResponses/9876

<?xml version="1.0" encoding="UTF-8"?> <dataResponse> <properties> <id>3454</id> <id>144976</id> <id>1565655</id> </properties> </dataResponse>

Example Response

The following example shows the results when you call this web service.

<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok">
     <link id="9876" httpMethod="GET" link="/reports/customers/675434/dataResponses/9876" linkDescription="This is the GET url for this DataResponse." hint="Energy Report 2023-DataRequest"/>
</response>
LIVE