GET api/NERRS/SingleParam/{Station_Code}/{iRecords}/{sParamName}
Retrieve a specified number of records of a parameter using exportSingleParamXM
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Station_Code |
station code |
string |
Required |
iRecords |
number of records to retrieve |
integer |
Required |
sParamName |
parameters name |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of data records
Collection of DatumName | Description | Type | Additional information |
---|---|---|---|
dtLocalDate | date |
None. |
|
dtUTCDate | date |
None. |
|
sValue | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "dtLocalDate": "2025-06-02T20:08:11.2547242-04:00", "dtUTCDate": "2025-06-02T20:08:11.2547242-04:00", "sValue": "sample string 3" }, { "dtLocalDate": "2025-06-02T20:08:11.2547242-04:00", "dtUTCDate": "2025-06-02T20:08:11.2547242-04:00", "sValue": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfDatum xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PCLBiyee"> <Datum> <dtLocalDate>2025-06-02T20:08:11.2547242-04:00</dtLocalDate> <dtUTCDate>2025-06-02T20:08:11.2547242-04:00</dtUTCDate> <sValue>sample string 3</sValue> </Datum> <Datum> <dtLocalDate>2025-06-02T20:08:11.2547242-04:00</dtLocalDate> <dtUTCDate>2025-06-02T20:08:11.2547242-04:00</dtUTCDate> <sValue>sample string 3</sValue> </Datum> </ArrayOfDatum>