Web Service Documentation / Categories / Reporting Services / Get Data Request
Updated on October 10, 2023
23.0
GET
/reports/customers/(customerId)/dataRequests/(dataRequestId)
Field Name | Value | Comments |
---|---|---|
Authorization | Basic credentials |
Yes
Parameter Name | Description |
---|---|
customerId | Id of the customer |
dataRequestId | Id of the data request |
Request/Response | Schema Name |
---|---|
Request | None |
Response | dataRequest.xsd |
The following example returns information for the data request with an id of 34343 that belongs to a customer with an id of 675434.
GET /reports/customers/675434/dataRequests/34343
The following example shows the results when you call this web service.
<?xml version="1.0" encoding="UTF-8"?>
<dataRequest id="34343">
<name>Data Request:test</name>
<requesterDetails>
<firstName>John</firstName>
<lastName>Doe</lastName>
<email>john_doe@acme.com</email>
<phone>123-456-7890</phone>
</requesterDetails>
<instructions><![CDATA[<strong>Instructions:</strong> Please comply with this data request.]]></instructions>
<timeframe> <singlePeriod>
<periodEndingDate>
<month>12</month>
<year>2022</year>
</periodEndingDate>
</singlePeriod>
</timeframe>
<dataRequestStatus>OPEN</dataRequestStatus>
<dataRequestAcceptedBy>NPS</dataRequestAcceptedBy>
<dataRequestAcceptedDate>2023-01-16T17:09:35-04:00</dataRequestAcceptedDate>
</dataRequest>