POST api/AddPhysicalNotification
Request Information
URI Parameters
None.
Body Parameters
PhysicalNotificationName | Description | Type | Additional information |
---|---|---|---|
IncidentDateTime | date |
None. |
|
SeverityImpactID | integer |
None. |
|
IncidentTypeID | integer |
None. |
|
IncidentOccurredID | integer |
None. |
|
GeoLocation | string |
None. |
|
LossOfLoad | decimal number |
None. |
|
OutageCustomerID | integer |
None. |
|
NumberOfMeter | integer |
None. |
|
Description | string |
None. |
|
CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IncidentDateTime": "2024-12-22T01:39:49.1799735-08:00", "SeverityImpactID": 2, "IncidentTypeID": 3, "IncidentOccurredID": 4, "GeoLocation": "sample string 5", "LossOfLoad": 6.0, "OutageCustomerID": 7, "NumberOfMeter": 8, "Description": "sample string 9", "CreatedBy": "sample string 10" }
application/xml, text/xml
Sample:
<PhysicalNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MainService.Models"> <CreatedBy>sample string 10</CreatedBy> <Description>sample string 9</Description> <GeoLocation>sample string 5</GeoLocation> <IncidentDateTime>2024-12-22T01:39:49.1799735-08:00</IncidentDateTime> <IncidentOccurredID>4</IncidentOccurredID> <IncidentTypeID>3</IncidentTypeID> <LossOfLoad>6</LossOfLoad> <NumberOfMeter>8</NumberOfMeter> <OutageCustomerID>7</OutageCustomerID> <SeverityImpactID>2</SeverityImpactID> </PhysicalNotification>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>