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": "9c9abb6a-4baa-4cc8-b692-b62b8cd26d73",
    "Name": "sample string 2",
    "Description": "sample string 3",
    "OrgID": "1d987f71-7b7c-4639-8e93-c6bb3f285c58",
    "ConnectionID": "b8e11295-12ae-4d4c-b399-5ee9f7aef0cf",
    "IsActive": true,
    "SourceType": 1,
    "RuleActions": {
      "ID": "a7b63d95-2b3b-439e-8851-ca2a1cbceb73",
      "RuleID": "faffeb1d-ee1b-4a1f-b17d-0f1007dc6237",
      "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": "0abee25f-a96f-4fa5-be98-19c93e311bf7",
        "RuleID": "8352d3c8-3671-4c52-9093-f0f5004e7aa7",
        "AndOr": "sample string 2",
        "ConditionData": "sample string 3",
        "Operator": "sample string 4",
        "Value": "sample string 5",
        "IsActive": true,
        "CriteriaOrder": 1,
        "ConditionGroup": 1
      },
      {
        "ID": "0abee25f-a96f-4fa5-be98-19c93e311bf7",
        "RuleID": "8352d3c8-3671-4c52-9093-f0f5004e7aa7",
        "AndOr": "sample string 2",
        "ConditionData": "sample string 3",
        "Operator": "sample string 4",
        "Value": "sample string 5",
        "IsActive": true,
        "CriteriaOrder": 1,
        "ConditionGroup": 1
      }
    ],
    "RuleTriggers": {
      "ID": "06773384-c48d-42d0-aa09-7e3026b29d37",
      "RuleID": "b2123aca-312f-4d07-91fc-5002b6a5ac8b",
      "RuleType": 1,
      "IsRecurring": true,
      "RecurringInterval": 1,
      "RecurranceID": "sample string 2",
      "RecurranceRule": "sample string 3",
      "Description": "sample string 4",
      "EventType": "sample string 5"
    }
  },
  {
    "RuleID": "9c9abb6a-4baa-4cc8-b692-b62b8cd26d73",
    "Name": "sample string 2",
    "Description": "sample string 3",
    "OrgID": "1d987f71-7b7c-4639-8e93-c6bb3f285c58",
    "ConnectionID": "b8e11295-12ae-4d4c-b399-5ee9f7aef0cf",
    "IsActive": true,
    "SourceType": 1,
    "RuleActions": {
      "ID": "a7b63d95-2b3b-439e-8851-ca2a1cbceb73",
      "RuleID": "faffeb1d-ee1b-4a1f-b17d-0f1007dc6237",
      "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": "0abee25f-a96f-4fa5-be98-19c93e311bf7",
        "RuleID": "8352d3c8-3671-4c52-9093-f0f5004e7aa7",
        "AndOr": "sample string 2",
        "ConditionData": "sample string 3",
        "Operator": "sample string 4",
        "Value": "sample string 5",
        "IsActive": true,
        "CriteriaOrder": 1,
        "ConditionGroup": 1
      },
      {
        "ID": "0abee25f-a96f-4fa5-be98-19c93e311bf7",
        "RuleID": "8352d3c8-3671-4c52-9093-f0f5004e7aa7",
        "AndOr": "sample string 2",
        "ConditionData": "sample string 3",
        "Operator": "sample string 4",
        "Value": "sample string 5",
        "IsActive": true,
        "CriteriaOrder": 1,
        "ConditionGroup": 1
      }
    ],
    "RuleTriggers": {
      "ID": "06773384-c48d-42d0-aa09-7e3026b29d37",
      "RuleID": "b2123aca-312f-4d07-91fc-5002b6a5ac8b",
      "RuleType": 1,
      "IsRecurring": true,
      "RecurringInterval": 1,
      "RecurranceID": "sample string 2",
      "RecurranceRule": "sample string 3",
      "Description": "sample string 4",
      "EventType": "sample string 5"
    }
  }
]