PUT api/ExternalMeasure?PlantName={PlantName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PlantName

string

Required

Body Parameters

Collection of ExternalMeasure
NameDescriptionTypeAdditional information
Timestamp

date

None.

Value

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Timestamp": "2026-01-10T06:44:34.7790317+01:00",
    "Value": 2.1
  },
  {
    "Timestamp": "2026-01-10T06:44:34.7790317+01:00",
    "Value": 2.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfExternalMeasure xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PVController_REST_API.Models">
  <ExternalMeasure>
    <Timestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2026-01-10T05:44:34.7790317Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>60</d3p1:OffsetMinutes>
    </Timestamp>
    <Value>2.1</Value>
  </ExternalMeasure>
  <ExternalMeasure>
    <Timestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2026-01-10T05:44:34.7790317Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>60</d3p1:OffsetMinutes>
    </Timestamp>
    <Value>2.1</Value>
  </ExternalMeasure>
</ArrayOfExternalMeasure>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.