POST api/AddOutage
Request Information
URI Parameters
None.
Body Parameters
OutageName | Description | Type | Additional information |
---|---|---|---|
OutageTypeID | integer |
None. |
|
Description | string |
None. |
|
CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "OutageTypeID": 1, "Description": "sample string 2", "CreatedBy": "sample string 3" }
application/xml, text/xml
Sample:
<Outage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MainService.Models"> <CreatedBy>sample string 3</CreatedBy> <Description>sample string 2</Description> <OutageTypeID>1</OutageTypeID> </Outage>
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>