PUT api/v1/PrayerWall/PrayerModerationRule?ipAddress={ipAddress}

Update an existing prayer moderation rule

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ipAddress

Used for logging IP Address

string

None.

Body Parameters

Prayer moderation rule to be updated (RuleId required; other fields are optional partial updates)

PrayerModerationRuleCreate
NameDescriptionTypeAdditional information
RuleId

integer

None.

RuleName

string

None.

Description

string

None.

ActionOnFlag

integer

None.

Priority

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RuleId": 1,
  "RuleName": "sample string 1",
  "Description": "sample string 2",
  "ActionOnFlag": 1,
  "Priority": 1,
  "IsActive": true
}

application/xml, text/xml

Sample:
<PrayerModerationRuleCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPCSWS.Models">
  <ActionOnFlag>1</ActionOnFlag>
  <Description>sample string 2</Description>
  <IsActive>true</IsActive>
  <Priority>1</Priority>
  <RuleId>1</RuleId>
  <RuleName>sample string 1</RuleName>
</PrayerModerationRuleCreate>

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.