GET api/SCADA/Get/UnitWiseGenerationUnitName?unitName={unitName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
unitName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of UnitWiseGenerationViewModel
NameDescriptionTypeAdditional information
UnitId

integer

None.

UnitName

string

None.

Date

string

None.

Time

string

None.

Value

decimal number

None.

Quality

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UnitId": 1,
    "UnitName": "sample string 2",
    "Date": "sample string 3",
    "Time": "sample string 4",
    "Value": 5.1,
    "Quality": 6
  },
  {
    "UnitId": 1,
    "UnitName": "sample string 2",
    "Date": "sample string 3",
    "Time": "sample string 4",
    "Value": 5.1,
    "Quality": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfUnitWiseGenerationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <UnitWiseGenerationViewModel>
    <Date>sample string 3</Date>
    <Quality>6</Quality>
    <Time>sample string 4</Time>
    <UnitId>1</UnitId>
    <UnitName>sample string 2</UnitName>
    <Value>5.1</Value>
  </UnitWiseGenerationViewModel>
  <UnitWiseGenerationViewModel>
    <Date>sample string 3</Date>
    <Quality>6</Quality>
    <Time>sample string 4</Time>
    <UnitId>1</UnitId>
    <UnitName>sample string 2</UnitName>
    <Value>5.1</Value>
  </UnitWiseGenerationViewModel>
</ArrayOfUnitWiseGenerationViewModel>