GET api/Rules/All?orgId={orgId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orgId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of RuleData
NameDescriptionTypeAdditional information
RuleID

globally unique identifier

None.

Name

string

None.

Description

string

None.

OrgID

globally unique identifier

None.

ConnectionID

globally unique identifier

None.

IsActive

boolean

None.

SourceType

integer

None.

RuleActions

RuleActionData

None.

RuleCriterias

Collection of RuleCriteriaData

None.

RuleTriggers

RuleTriggerData

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RuleID": "ed3a8691-d71c-490f-98f8-af5e9aff8c1b",
    "Name": "sample string 2",
    "Description": "sample string 3",
    "OrgID": "4e936f2b-fd11-4322-be25-7c2f70da6653",
    "ConnectionID": "17daabd1-60d0-4688-9070-58abf384c8c9",
    "IsActive": true,
    "SourceType": 1,
    "RuleActions": {
      "ID": "fa2c90de-04b4-4492-b334-8e2b7baa6371",
      "RuleID": "39f2b449-d578-4ff6-916b-6e770379d4fe",
      "ActionType": 1,
      "ActionData": "sample string 2",
      "Data": {
        "IsAggregate": true,
        "ScheduleTime": "sample string 1"
      },
      "EmailAction": {
        "subject": "sample string 1",
        "toRecepient": "sample string 2",
        "emailbody": "sample string 3"
      },
      "SupportTicketAction": {
        "summary": "sample string 1",
        "ticketbody": "sample string 2",
        "ticketPriority": "sample string 3",
        "priorityType": "sample string 4"
      },
      "WebHookAction": {
        "WebhookURL": "sample string 1",
        "WebHookMethod": "sample string 2",
        "WebhookBody": "sample string 3",
        "requestType": "sample string 4",
        "HeaderList": [
          {
            "key": "sample string 1",
            "value": "sample string 2"
          },
          {
            "key": "sample string 1",
            "value": "sample string 2"
          }
        ]
      },
      "CleanUpAction": {
        "LogData": [
          1,
          2
        ],
        "ResyncData": [
          1,
          2
        ],
        "FileData": [
          1,
          2
        ]
      },
      "CloudResourceAction": {
        "contextId": "sample string 1",
        "contextType": "sample string 2",
        "functionName": "sample string 3"
      },
      "ActionDataObj": {
        "<subject>k__BackingField": "sample string 1",
        "<toRecepient>k__BackingField": "sample string 2",
        "<emailbody>k__BackingField": "sample string 3",
        "<IsAggregate>k__BackingField": true,
        "<ScheduleTime>k__BackingField": "sample string 5"
      }
    },
    "RuleCriterias": [
      {
        "ID": "e84cb06b-02f5-47db-8be3-ad51ddcf5dab",
        "RuleID": "e1976e55-b20d-4a85-8da8-9a613d9ca08d",
        "AndOr": "sample string 2",
        "ConditionData": "sample string 3",
        "Operator": "sample string 4",
        "Value": "sample string 5",
        "IsActive": true,
        "CriteriaOrder": 1,
        "ConditionGroup": 1
      },
      {
        "ID": "e84cb06b-02f5-47db-8be3-ad51ddcf5dab",
        "RuleID": "e1976e55-b20d-4a85-8da8-9a613d9ca08d",
        "AndOr": "sample string 2",
        "ConditionData": "sample string 3",
        "Operator": "sample string 4",
        "Value": "sample string 5",
        "IsActive": true,
        "CriteriaOrder": 1,
        "ConditionGroup": 1
      }
    ],
    "RuleTriggers": {
      "ID": "da09e6f8-28d6-4c93-a191-d668416a8140",
      "RuleID": "f8be1875-0fba-43c1-9a99-3c711a37e3e5",
      "RuleType": 1,
      "IsRecurring": true,
      "RecurringInterval": 1,
      "RecurranceID": "sample string 2",
      "RecurranceRule": "sample string 3",
      "Description": "sample string 4",
      "EventType": "sample string 5"
    }
  },
  {
    "RuleID": "ed3a8691-d71c-490f-98f8-af5e9aff8c1b",
    "Name": "sample string 2",
    "Description": "sample string 3",
    "OrgID": "4e936f2b-fd11-4322-be25-7c2f70da6653",
    "ConnectionID": "17daabd1-60d0-4688-9070-58abf384c8c9",
    "IsActive": true,
    "SourceType": 1,
    "RuleActions": {
      "ID": "fa2c90de-04b4-4492-b334-8e2b7baa6371",
      "RuleID": "39f2b449-d578-4ff6-916b-6e770379d4fe",
      "ActionType": 1,
      "ActionData": "sample string 2",
      "Data": {
        "IsAggregate": true,
        "ScheduleTime": "sample string 1"
      },
      "EmailAction": {
        "subject": "sample string 1",
        "toRecepient": "sample string 2",
        "emailbody": "sample string 3"
      },
      "SupportTicketAction": {
        "summary": "sample string 1",
        "ticketbody": "sample string 2",
        "ticketPriority": "sample string 3",
        "priorityType": "sample string 4"
      },
      "WebHookAction": {
        "WebhookURL": "sample string 1",
        "WebHookMethod": "sample string 2",
        "WebhookBody": "sample string 3",
        "requestType": "sample string 4",
        "HeaderList": [
          {
            "key": "sample string 1",
            "value": "sample string 2"
          },
          {
            "key": "sample string 1",
            "value": "sample string 2"
          }
        ]
      },
      "CleanUpAction": {
        "LogData": [
          1,
          2
        ],
        "ResyncData": [
          1,
          2
        ],
        "FileData": [
          1,
          2
        ]
      },
      "CloudResourceAction": {
        "contextId": "sample string 1",
        "contextType": "sample string 2",
        "functionName": "sample string 3"
      },
      "ActionDataObj": {
        "<subject>k__BackingField": "sample string 1",
        "<toRecepient>k__BackingField": "sample string 2",
        "<emailbody>k__BackingField": "sample string 3",
        "<IsAggregate>k__BackingField": true,
        "<ScheduleTime>k__BackingField": "sample string 5"
      }
    },
    "RuleCriterias": [
      {
        "ID": "e84cb06b-02f5-47db-8be3-ad51ddcf5dab",
        "RuleID": "e1976e55-b20d-4a85-8da8-9a613d9ca08d",
        "AndOr": "sample string 2",
        "ConditionData": "sample string 3",
        "Operator": "sample string 4",
        "Value": "sample string 5",
        "IsActive": true,
        "CriteriaOrder": 1,
        "ConditionGroup": 1
      },
      {
        "ID": "e84cb06b-02f5-47db-8be3-ad51ddcf5dab",
        "RuleID": "e1976e55-b20d-4a85-8da8-9a613d9ca08d",
        "AndOr": "sample string 2",
        "ConditionData": "sample string 3",
        "Operator": "sample string 4",
        "Value": "sample string 5",
        "IsActive": true,
        "CriteriaOrder": 1,
        "ConditionGroup": 1
      }
    ],
    "RuleTriggers": {
      "ID": "da09e6f8-28d6-4c93-a191-d668416a8140",
      "RuleID": "f8be1875-0fba-43c1-9a99-3c711a37e3e5",
      "RuleType": 1,
      "IsRecurring": true,
      "RecurringInterval": 1,
      "RecurranceID": "sample string 2",
      "RecurranceRule": "sample string 3",
      "Description": "sample string 4",
      "EventType": "sample string 5"
    }
  }
]