GET api/Rules/Default?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": "ec60562f-7f09-4779-816c-bc1be1259390", "Name": "sample string 2", "Description": "sample string 3", "OrgID": "a1146ad7-7489-4425-8256-c5396b5f8940", "ConnectionID": "b5cc6276-bff1-4ec3-bb32-05cf603137f6", "IsActive": true, "SourceType": 1, "RuleActions": { "ID": "e996b725-dfec-42db-ae4a-e0e1e93be4bb", "RuleID": "3dba59f3-6dfb-48f1-bec2-3645d8d5dc87", "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": "968a15ac-a4fe-461f-bf4c-91115123e766", "RuleID": "4deec6ff-4040-4efa-bdea-78816d0a7e76", "AndOr": "sample string 2", "ConditionData": "sample string 3", "Operator": "sample string 4", "Value": "sample string 5", "IsActive": true, "CriteriaOrder": 1, "ConditionGroup": 1 }, { "ID": "968a15ac-a4fe-461f-bf4c-91115123e766", "RuleID": "4deec6ff-4040-4efa-bdea-78816d0a7e76", "AndOr": "sample string 2", "ConditionData": "sample string 3", "Operator": "sample string 4", "Value": "sample string 5", "IsActive": true, "CriteriaOrder": 1, "ConditionGroup": 1 } ], "RuleTriggers": { "ID": "533d999e-e308-4b23-ae09-3250cb14c5d1", "RuleID": "797024c0-129f-4828-be7e-2c1878801034", "RuleType": 1, "IsRecurring": true, "RecurringInterval": 1, "RecurranceID": "sample string 2", "RecurranceRule": "sample string 3", "Description": "sample string 4", "EventType": "sample string 5" } }, { "RuleID": "ec60562f-7f09-4779-816c-bc1be1259390", "Name": "sample string 2", "Description": "sample string 3", "OrgID": "a1146ad7-7489-4425-8256-c5396b5f8940", "ConnectionID": "b5cc6276-bff1-4ec3-bb32-05cf603137f6", "IsActive": true, "SourceType": 1, "RuleActions": { "ID": "e996b725-dfec-42db-ae4a-e0e1e93be4bb", "RuleID": "3dba59f3-6dfb-48f1-bec2-3645d8d5dc87", "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": "968a15ac-a4fe-461f-bf4c-91115123e766", "RuleID": "4deec6ff-4040-4efa-bdea-78816d0a7e76", "AndOr": "sample string 2", "ConditionData": "sample string 3", "Operator": "sample string 4", "Value": "sample string 5", "IsActive": true, "CriteriaOrder": 1, "ConditionGroup": 1 }, { "ID": "968a15ac-a4fe-461f-bf4c-91115123e766", "RuleID": "4deec6ff-4040-4efa-bdea-78816d0a7e76", "AndOr": "sample string 2", "ConditionData": "sample string 3", "Operator": "sample string 4", "Value": "sample string 5", "IsActive": true, "CriteriaOrder": 1, "ConditionGroup": 1 } ], "RuleTriggers": { "ID": "533d999e-e308-4b23-ae09-3250cb14c5d1", "RuleID": "797024c0-129f-4828-be7e-2c1878801034", "RuleType": 1, "IsRecurring": true, "RecurringInterval": 1, "RecurranceID": "sample string 2", "RecurranceRule": "sample string 3", "Description": "sample string 4", "EventType": "sample string 5" } } ]