GET api/values/{name}/{assetid}/{start}/{end}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

string

Required

assetid

string

Required

start

string

Required

end

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DataModel
NameDescriptionTypeAdditional information
collected

date

None.

value

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "collected": "2018-11-20T21:11:28.8417965-08:00",
    "value": 2.1
  },
  {
    "collected": "2018-11-20T21:11:28.8417965-08:00",
    "value": 2.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALP.Modbus.WebView.Models">
  <DataModel>
    <collected>2018-11-20T21:11:28.8417965-08:00</collected>
    <value>2.1</value>
  </DataModel>
  <DataModel>
    <collected>2018-11-20T21:11:28.8417965-08:00</collected>
    <value>2.1</value>
  </DataModel>
</ArrayOfDataModel>