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