PUT api/private/Monitors/Edit

Request Information

URI Parameters

None.

Body Parameters

Monitor
NameDescriptionTypeAdditional information
OccurrenceCode

string

None.

AQS

boolean

None.

ParentId

integer

None.

Parameter

Parameter

None.

Id

integer

None.

ModifiedDate

date

None.

CreatedDate

date

None.

Disabled

boolean

None.

DisabledDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "OccurrenceCode": "sample string 1",
  "AQS": true,
  "ParentId": 1,
  "Parameter": {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "Code": "sample string 3",
    "Abbreviation": "sample string 4",
    "PublicName": "sample string 5",
    "Min": 6,
    "Max": 7,
    "IncludeInForecast": true,
    "IncludeInTrends": true,
    "MeasurementUnit": {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Id": 3,
      "ModifiedDate": "2026-04-05T03:38:14.3042596Z",
      "CreatedDate": "2026-04-05T03:38:14.3042596Z",
      "Disabled": true,
      "DisabledDate": "2026-04-05T03:38:14.3042596Z"
    },
    "Id": 10,
    "ModifiedDate": "2026-04-05T03:38:14.3050045Z",
    "CreatedDate": "2026-04-05T03:38:14.3050045Z",
    "Disabled": true,
    "DisabledDate": "2026-04-05T03:38:14.3050045Z"
  },
  "Id": 3,
  "ModifiedDate": "2026-04-05T03:38:14.3050045Z",
  "CreatedDate": "2026-04-05T03:38:14.3050045Z",
  "Disabled": true,
  "DisabledDate": "2026-04-05T03:38:14.3050045Z"
}

text/xml

Sample:
<Monitor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Monitor">
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3050045-04:00</CreatedDate>
  <Disabled xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">true</Disabled>
  <DisabledDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3050045-04:00</DisabledDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">3</Id>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3050045-04:00</ModifiedDate>
  <AQS>true</AQS>
  <OccurrenceCode>sample string 1</OccurrenceCode>
  <Parameter xmlns:d2p1="http://schemas.datacontract.org/2004/07/Domain.Parameter">
    <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3050045-04:00</CreatedDate>
    <Disabled xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">true</Disabled>
    <DisabledDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3050045-04:00</DisabledDate>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">10</Id>
    <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3050045-04:00</ModifiedDate>
    <d2p1:Abbreviation>sample string 4</d2p1:Abbreviation>
    <d2p1:Code>sample string 3</d2p1:Code>
    <d2p1:Description>sample string 2</d2p1:Description>
    <d2p1:IncludeInForecast>true</d2p1:IncludeInForecast>
    <d2p1:IncludeInTrends>true</d2p1:IncludeInTrends>
    <d2p1:Max>7</d2p1:Max>
    <d2p1:MeasurementUnit>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3042596-04:00</CreatedDate>
      <Disabled xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">true</Disabled>
      <DisabledDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3042596-04:00</DisabledDate>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">3</Id>
      <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3042596-04:00</ModifiedDate>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:MeasurementUnit>
    <d2p1:Min>6</d2p1:Min>
    <d2p1:Name>sample string 1</d2p1:Name>
    <d2p1:PublicName>sample string 5</d2p1:PublicName>
  </Parameter>
  <ParentId>1</ParentId>
</Monitor>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Monitor
NameDescriptionTypeAdditional information
OccurrenceCode

string

None.

AQS

boolean

None.

ParentId

integer

None.

Parameter

Parameter

None.

Id

integer

None.

ModifiedDate

date

None.

CreatedDate

date

None.

Disabled

boolean

None.

DisabledDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "OccurrenceCode": "sample string 1",
  "AQS": true,
  "ParentId": 1,
  "Parameter": {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "Code": "sample string 3",
    "Abbreviation": "sample string 4",
    "PublicName": "sample string 5",
    "Min": 6,
    "Max": 7,
    "IncludeInForecast": true,
    "IncludeInTrends": true,
    "MeasurementUnit": {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Id": 3,
      "ModifiedDate": "2026-04-05T03:38:14.3596915Z",
      "CreatedDate": "2026-04-05T03:38:14.3596915Z",
      "Disabled": true,
      "DisabledDate": "2026-04-05T03:38:14.3596915Z"
    },
    "Id": 10,
    "ModifiedDate": "2026-04-05T03:38:14.3596915Z",
    "CreatedDate": "2026-04-05T03:38:14.3596915Z",
    "Disabled": true,
    "DisabledDate": "2026-04-05T03:38:14.3596915Z"
  },
  "Id": 3,
  "ModifiedDate": "2026-04-05T03:38:14.3596915Z",
  "CreatedDate": "2026-04-05T03:38:14.3596915Z",
  "Disabled": true,
  "DisabledDate": "2026-04-05T03:38:14.3596915Z"
}

text/xml

Sample:
<Monitor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Monitor">
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3596915-04:00</CreatedDate>
  <Disabled xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">true</Disabled>
  <DisabledDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3596915-04:00</DisabledDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">3</Id>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3596915-04:00</ModifiedDate>
  <AQS>true</AQS>
  <OccurrenceCode>sample string 1</OccurrenceCode>
  <Parameter xmlns:d2p1="http://schemas.datacontract.org/2004/07/Domain.Parameter">
    <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3596915-04:00</CreatedDate>
    <Disabled xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">true</Disabled>
    <DisabledDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3596915-04:00</DisabledDate>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">10</Id>
    <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3596915-04:00</ModifiedDate>
    <d2p1:Abbreviation>sample string 4</d2p1:Abbreviation>
    <d2p1:Code>sample string 3</d2p1:Code>
    <d2p1:Description>sample string 2</d2p1:Description>
    <d2p1:IncludeInForecast>true</d2p1:IncludeInForecast>
    <d2p1:IncludeInTrends>true</d2p1:IncludeInTrends>
    <d2p1:Max>7</d2p1:Max>
    <d2p1:MeasurementUnit>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3596915-04:00</CreatedDate>
      <Disabled xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">true</Disabled>
      <DisabledDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3596915-04:00</DisabledDate>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">3</Id>
      <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2026-04-04T23:38:14.3596915-04:00</ModifiedDate>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:MeasurementUnit>
    <d2p1:Min>6</d2p1:Min>
    <d2p1:Name>sample string 1</d2p1:Name>
    <d2p1:PublicName>sample string 5</d2p1:PublicName>
  </Parameter>
  <ParentId>1</ParentId>
</Monitor>