GET api/SCADA/Get/StateWiseGenerationStateName?stateName={stateName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stateName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StateWiseGenerationViewModel
NameDescriptionTypeAdditional information
StateId

integer

None.

StateName

string

None.

Date

string

None.

Time

string

None.

Value

decimal number

None.

Quality

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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