POST api/PEASmartPlus/InsertPowerOutage

Request Information

URI Parameters

None.

Body Parameters

RequestInsertPowerOutage
NameDescriptionTypeAdditional information
ADDRESS

string

None.

DETAIL

string

None.

OUTAGE_DATE_START

string

None.

OUTAGE_DATE_END

string

None.

MOBILE_PHONE

string

None.

OFFICE_NAME

string

None.

CREATE_STAFF_NAME

string

None.

LAT

string

None.

LONG

string

None.

PROVINCE

string

None.

REF_ID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ADDRESS": "sample string 1",
  "DETAIL": "sample string 2",
  "OUTAGE_DATE_START": "sample string 3",
  "OUTAGE_DATE_END": "sample string 4",
  "MOBILE_PHONE": "sample string 5",
  "OFFICE_NAME": "sample string 6",
  "CREATE_STAFF_NAME": "sample string 7",
  "LAT": "sample string 8",
  "LONG": "sample string 9",
  "PROVINCE": "sample string 10",
  "REF_ID": "sample string 11"
}

application/xml, text/xml

Sample:
<PEASmartPlusModels.RequestInsertPowerOutage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PEASmartPlusModels">
  <ADDRESS>sample string 1</ADDRESS>
  <CREATE_STAFF_NAME>sample string 7</CREATE_STAFF_NAME>
  <DETAIL>sample string 2</DETAIL>
  <LAT>sample string 8</LAT>
  <LONG>sample string 9</LONG>
  <MOBILE_PHONE>sample string 5</MOBILE_PHONE>
  <OFFICE_NAME>sample string 6</OFFICE_NAME>
  <OUTAGE_DATE_END>sample string 4</OUTAGE_DATE_END>
  <OUTAGE_DATE_START>sample string 3</OUTAGE_DATE_START>
  <PROVINCE>sample string 10</PROVINCE>
  <REF_ID>sample string 11</REF_ID>
</PEASmartPlusModels.RequestInsertPowerOutage>

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>