POST api/Smartgrid/GetDemandSummaryData

Request Information

URI Parameters

None.

Body Parameters

SmartgridRequestModels
NameDescriptionTypeAdditional information
ReportType

string

None.

CaNo

string

None.

Year

string

None.

Month

string

None.

Day

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReportType": "sample string 1",
  "CaNo": "sample string 2",
  "Year": "sample string 3",
  "Month": "sample string 4",
  "Day": "sample string 5"
}

application/xml, text/xml

Sample:
<SmartgridRequestModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.SmartgridModels">
  <CaNo>sample string 2</CaNo>
  <Day>sample string 5</Day>
  <Month>sample string 4</Month>
  <ReportType>sample string 1</ReportType>
  <Year>sample string 3</Year>
</SmartgridRequestModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfString
NameDescriptionTypeAdditional information
Data

string

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": "sample string 1",
  "Status": true,
  "ErrorMessage": "sample string 3",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models">
  <Data>sample string 1</Data>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Message>sample string 4</Message>
  <Status>true</Status>
</ResultModelOfstring>