POST api/CMS/rule/AddCMSRule

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
value
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CMSRuleID": 1,
  "CMSRuleName": "sample string 2",
  "CMSRuleTitle": "sample string 3",
  "CMSRule": "sample string 4",
  "RuleCategory": "sample string 5",
  "RuleSubCategory": "sample string 6",
  "DraftedBy": "sample string 7",
  "DraftDate": "2026-03-31T16:45:17.9800284+05:30",
  "PublishedBy": "sample string 9",
  "PublishedDate": "2026-03-31T16:45:17.9800284+05:30",
  "IsDraft": true,
  "IsPublished": true,
  "IPAddress": "sample string 13"
}

application/xml, text/xml

Sample:
<CMSRulesCustomModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIST.CMS.ViewModel">
  <CMSRule>sample string 4</CMSRule>
  <CMSRuleID>1</CMSRuleID>
  <CMSRuleName>sample string 2</CMSRuleName>
  <CMSRuleTitle>sample string 3</CMSRuleTitle>
  <DraftDate>2026-03-31T16:45:17.9800284+05:30</DraftDate>
  <DraftedBy>sample string 7</DraftedBy>
  <IPAddress>sample string 13</IPAddress>
  <IsDraft>true</IsDraft>
  <IsPublished>true</IsPublished>
  <PublishedBy>sample string 9</PublishedBy>
  <PublishedDate>2026-03-31T16:45:17.9800284+05:30</PublishedDate>
  <RuleCategory>sample string 5</RuleCategory>
  <RuleSubCategory>sample string 6</RuleSubCategory>
</CMSRulesCustomModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>