POST api/Operation/monitorinfo

Request Information

URI Parameters

None.

Body Parameters

MonitorInfo
NameDescriptionTypeAdditional information
monitorName

string

None.

monitorType

integer

None.

monitorCompany

string

None.

monitorAddress

string

None.

optype

integer

None.

monitorId

integer

None.

farmId

integer

None.

monitorSiteId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "monitorName": "sample string 1",
  "monitorType": 2,
  "monitorCompany": "sample string 3",
  "monitorAddress": "sample string 4",
  "optype": 5,
  "monitorId": 6,
  "farmId": 7,
  "monitorSiteId": "sample string 8"
}

application/xml, text/xml

Sample:
<MonitorInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShannxiWlwAPI.Models.Operation">
  <farmId>7</farmId>
  <monitorAddress>sample string 4</monitorAddress>
  <monitorCompany>sample string 3</monitorCompany>
  <monitorId>6</monitorId>
  <monitorName>sample string 1</monitorName>
  <monitorSiteId>sample string 8</monitorSiteId>
  <monitorType>2</monitorType>
  <optype>5</optype>
</MonitorInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.