GET api/PSP/Get/GetByIdDemandMet?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DemandMet
NameDescriptionTypeAdditional information
DemandMetId

integer

None.

Constituents

string

None.

Peak_Demand

decimal number

None.

Demand_Met

decimal number

None.

Date_Time_Peak_Demand_Met

date

None.

Frequency_Correction

decimal number

None.

Load_Shedding

decimal number

None.

Power_Cuts

decimal number

None.

Shortage

decimal number

None.

Percent_Shortage

decimal number

None.

Avg_Daily_Max_Shortage

decimal number

None.

Max_Daily_Shortage

decimal number

None.

Period

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DemandMetId": 1,
    "Constituents": "sample string 2",
    "Peak_Demand": 3.1,
    "Demand_Met": 4.1,
    "Date_Time_Peak_Demand_Met": "2019-08-18T19:12:10.6503751+05:30",
    "Frequency_Correction": 5.1,
    "Load_Shedding": 6.1,
    "Power_Cuts": 7.1,
    "Shortage": 8.1,
    "Percent_Shortage": 9.1,
    "Avg_Daily_Max_Shortage": 10.1,
    "Max_Daily_Shortage": 11.1,
    "Period": "sample string 12"
  },
  {
    "DemandMetId": 1,
    "Constituents": "sample string 2",
    "Peak_Demand": 3.1,
    "Demand_Met": 4.1,
    "Date_Time_Peak_Demand_Met": "2019-08-18T19:12:10.6503751+05:30",
    "Frequency_Correction": 5.1,
    "Load_Shedding": 6.1,
    "Power_Cuts": 7.1,
    "Shortage": 8.1,
    "Percent_Shortage": 9.1,
    "Avg_Daily_Max_Shortage": 10.1,
    "Max_Daily_Shortage": 11.1,
    "Period": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDemandMet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <DemandMet>
    <Avg_Daily_Max_Shortage>10.1</Avg_Daily_Max_Shortage>
    <Constituents>sample string 2</Constituents>
    <Date_Time_Peak_Demand_Met>2019-08-18T19:12:10.6503751+05:30</Date_Time_Peak_Demand_Met>
    <DemandMetId>1</DemandMetId>
    <Demand_Met>4.1</Demand_Met>
    <Frequency_Correction>5.1</Frequency_Correction>
    <Load_Shedding>6.1</Load_Shedding>
    <Max_Daily_Shortage>11.1</Max_Daily_Shortage>
    <Peak_Demand>3.1</Peak_Demand>
    <Percent_Shortage>9.1</Percent_Shortage>
    <Period>sample string 12</Period>
    <Power_Cuts>7.1</Power_Cuts>
    <Shortage>8.1</Shortage>
  </DemandMet>
  <DemandMet>
    <Avg_Daily_Max_Shortage>10.1</Avg_Daily_Max_Shortage>
    <Constituents>sample string 2</Constituents>
    <Date_Time_Peak_Demand_Met>2019-08-18T19:12:10.6503751+05:30</Date_Time_Peak_Demand_Met>
    <DemandMetId>1</DemandMetId>
    <Demand_Met>4.1</Demand_Met>
    <Frequency_Correction>5.1</Frequency_Correction>
    <Load_Shedding>6.1</Load_Shedding>
    <Max_Daily_Shortage>11.1</Max_Daily_Shortage>
    <Peak_Demand>3.1</Peak_Demand>
    <Percent_Shortage>9.1</Percent_Shortage>
    <Period>sample string 12</Period>
    <Power_Cuts>7.1</Power_Cuts>
    <Shortage>8.1</Shortage>
  </DemandMet>
</ArrayOfDemandMet>