GET api/Rules/All?orgId={orgId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
orgId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RuleDataName | Description | Type | Additional 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": "51a1b460-62d4-45d8-bde7-996653503a29", "Name": "sample string 2", "Description": "sample string 3", "OrgID": "ddb77fda-0fef-413d-bbf5-0d9e506dc730", "ConnectionID": "bcea67bb-9440-415b-8fd1-5a7b71383bdb", "IsActive": true, "SourceType": 1, "RuleActions": { "ID": "c0816441-7ee6-4ab7-a26c-b271241675d0", "RuleID": "a141735c-1241-4f87-86bf-23ad2a475310", "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": "2cbb02d4-d2e0-4df3-82a9-23031f197621", "RuleID": "5204fa9b-b0db-4d5f-89ae-e792034f5992", "AndOr": "sample string 2", "ConditionData": "sample string 3", "Operator": "sample string 4", "Value": "sample string 5", "IsActive": true, "CriteriaOrder": 1, "ConditionGroup": 1 }, { "ID": "2cbb02d4-d2e0-4df3-82a9-23031f197621", "RuleID": "5204fa9b-b0db-4d5f-89ae-e792034f5992", "AndOr": "sample string 2", "ConditionData": "sample string 3", "Operator": "sample string 4", "Value": "sample string 5", "IsActive": true, "CriteriaOrder": 1, "ConditionGroup": 1 } ], "RuleTriggers": { "ID": "055503d7-766d-4f92-9739-98b6cae4e7dc", "RuleID": "b6fb81c1-3286-40bd-b47f-9e6c84f5e3f7", "RuleType": 1, "IsRecurring": true, "RecurringInterval": 1, "RecurranceID": "sample string 2", "RecurranceRule": "sample string 3", "Description": "sample string 4", "EventType": "sample string 5" } }, { "RuleID": "51a1b460-62d4-45d8-bde7-996653503a29", "Name": "sample string 2", "Description": "sample string 3", "OrgID": "ddb77fda-0fef-413d-bbf5-0d9e506dc730", "ConnectionID": "bcea67bb-9440-415b-8fd1-5a7b71383bdb", "IsActive": true, "SourceType": 1, "RuleActions": { "ID": "c0816441-7ee6-4ab7-a26c-b271241675d0", "RuleID": "a141735c-1241-4f87-86bf-23ad2a475310", "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": "2cbb02d4-d2e0-4df3-82a9-23031f197621", "RuleID": "5204fa9b-b0db-4d5f-89ae-e792034f5992", "AndOr": "sample string 2", "ConditionData": "sample string 3", "Operator": "sample string 4", "Value": "sample string 5", "IsActive": true, "CriteriaOrder": 1, "ConditionGroup": 1 }, { "ID": "2cbb02d4-d2e0-4df3-82a9-23031f197621", "RuleID": "5204fa9b-b0db-4d5f-89ae-e792034f5992", "AndOr": "sample string 2", "ConditionData": "sample string 3", "Operator": "sample string 4", "Value": "sample string 5", "IsActive": true, "CriteriaOrder": 1, "ConditionGroup": 1 } ], "RuleTriggers": { "ID": "055503d7-766d-4f92-9739-98b6cae4e7dc", "RuleID": "b6fb81c1-3286-40bd-b47f-9e6c84f5e3f7", "RuleType": 1, "IsRecurring": true, "RecurringInterval": 1, "RecurranceID": "sample string 2", "RecurranceRule": "sample string 3", "Description": "sample string 4", "EventType": "sample string 5" } } ]