PUT api/PlantDeliveryOptions?email={email}&lang={lang}&notify={notify}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
email

string

Required

lang

string

Required

notify

boolean

Required

Body Parameters

Collection of UserDeliveryOptions
NameDescriptionTypeAdditional information
Email

string

None.

PhoneNumber

string

None.

PlantID

string

None.

PlantName

string

None.

NotificationManagerEnabled

boolean

None.

CriticalErrorMailDeliveryEnabled

boolean

None.

CriticalErrorSmsDeliveryEnabled

boolean

None.

PerformanceMailDeliveryEnabled

boolean

None.

EventSummaryEnabled

boolean

None.

EventSummaryTimeSpan

string

None.

UpdateErrorEnabled

boolean

None.

UpdateErrorTimeSpan

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Email": "sample string 1",
    "PhoneNumber": "sample string 2",
    "PlantID": "sample string 3",
    "PlantName": "sample string 4",
    "NotificationManagerEnabled": true,
    "CriticalErrorMailDeliveryEnabled": true,
    "CriticalErrorSmsDeliveryEnabled": true,
    "PerformanceMailDeliveryEnabled": true,
    "EventSummaryEnabled": true,
    "EventSummaryTimeSpan": "sample string 10",
    "UpdateErrorEnabled": true,
    "UpdateErrorTimeSpan": 12
  },
  {
    "Email": "sample string 1",
    "PhoneNumber": "sample string 2",
    "PlantID": "sample string 3",
    "PlantName": "sample string 4",
    "NotificationManagerEnabled": true,
    "CriticalErrorMailDeliveryEnabled": true,
    "CriticalErrorSmsDeliveryEnabled": true,
    "PerformanceMailDeliveryEnabled": true,
    "EventSummaryEnabled": true,
    "EventSummaryTimeSpan": "sample string 10",
    "UpdateErrorEnabled": true,
    "UpdateErrorTimeSpan": 12
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserDeliveryOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PVController_REST_API.Models">
  <UserDeliveryOptions>
    <CriticalErrorMailDeliveryEnabled>true</CriticalErrorMailDeliveryEnabled>
    <CriticalErrorSmsDeliveryEnabled>true</CriticalErrorSmsDeliveryEnabled>
    <Email>sample string 1</Email>
    <EventSummaryEnabled>true</EventSummaryEnabled>
    <EventSummaryTimeSpan>sample string 10</EventSummaryTimeSpan>
    <NotificationManagerEnabled>true</NotificationManagerEnabled>
    <PerformanceMailDeliveryEnabled>true</PerformanceMailDeliveryEnabled>
    <PhoneNumber>sample string 2</PhoneNumber>
    <PlantID>sample string 3</PlantID>
    <PlantName>sample string 4</PlantName>
    <UpdateErrorEnabled>true</UpdateErrorEnabled>
    <UpdateErrorTimeSpan>12</UpdateErrorTimeSpan>
  </UserDeliveryOptions>
  <UserDeliveryOptions>
    <CriticalErrorMailDeliveryEnabled>true</CriticalErrorMailDeliveryEnabled>
    <CriticalErrorSmsDeliveryEnabled>true</CriticalErrorSmsDeliveryEnabled>
    <Email>sample string 1</Email>
    <EventSummaryEnabled>true</EventSummaryEnabled>
    <EventSummaryTimeSpan>sample string 10</EventSummaryTimeSpan>
    <NotificationManagerEnabled>true</NotificationManagerEnabled>
    <PerformanceMailDeliveryEnabled>true</PerformanceMailDeliveryEnabled>
    <PhoneNumber>sample string 2</PhoneNumber>
    <PlantID>sample string 3</PlantID>
    <PlantName>sample string 4</PlantName>
    <UpdateErrorEnabled>true</UpdateErrorEnabled>
    <UpdateErrorTimeSpan>12</UpdateErrorTimeSpan>
  </UserDeliveryOptions>
</ArrayOfUserDeliveryOptions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.