POST data-lookup/activityrules

Request Information

URI Parameters

None.

Body Parameters

GetActivityRulesModel
NameDescriptionTypeAdditional information
activity

integer

None.

rules

Collection of RulesFilterModel

None.

Request Formats

application/json, text/json

Sample:
{
  "activity": 1,
  "rules": [
    {
      "MapType": "sample string 1",
      "LayerName": "sample string 2",
      "SectionID": 3,
      "RuleID": 4
    },
    {
      "MapType": "sample string 1",
      "LayerName": "sample string 2",
      "SectionID": 3,
      "RuleID": 4
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetActivityRulesModel'.

Response Information

Resource Description

Collection of PropertyActivityRules
NameDescriptionTypeAdditional information
RuleID

integer

None.

GroupName

string

None.

SectionNumber

string

None.

RuleText

string

None.

RuleComments

string

None.

RuleTextSize

integer

None.

RuleLevel

integer

None.

Indent

integer

None.

ParentRuleID

integer

None.

TableMerge

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RuleID": 1,
    "GroupName": "sample string 2",
    "SectionNumber": "sample string 3",
    "RuleText": "sample string 4",
    "RuleComments": "sample string 5",
    "RuleTextSize": 6,
    "RuleLevel": 7,
    "Indent": 8,
    "ParentRuleID": 9,
    "TableMerge": true
  },
  {
    "RuleID": 1,
    "GroupName": "sample string 2",
    "SectionNumber": "sample string 3",
    "RuleText": "sample string 4",
    "RuleComments": "sample string 5",
    "RuleTextSize": 6,
    "RuleLevel": 7,
    "Indent": 8,
    "ParentRuleID": 9,
    "TableMerge": true
  }
]