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 RuleData| Name | 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": "ecda8e58-67eb-4dd1-9630-b27e8d7bd7eb",
"Name": "sample string 2",
"Description": "sample string 3",
"OrgID": "caf1b882-c8b8-4c09-b5fc-f08b4fd48838",
"ConnectionID": "398af875-c158-49cb-ae13-385df203fa8d",
"IsActive": true,
"SourceType": 1,
"RuleActions": {
"ID": "235a7b8b-086c-43da-8ad0-a0f95ee38180",
"RuleID": "40272f03-5cc2-4bae-9d3e-9ee6d239d814",
"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": "0e9cc84b-3179-4a98-8931-ad5e9e2dff5b",
"RuleID": "225a7708-3a73-4a88-ac71-d91b4550ebb9",
"AndOr": "sample string 2",
"ConditionData": "sample string 3",
"Operator": "sample string 4",
"Value": "sample string 5",
"IsActive": true,
"CriteriaOrder": 1,
"ConditionGroup": 1
},
{
"ID": "0e9cc84b-3179-4a98-8931-ad5e9e2dff5b",
"RuleID": "225a7708-3a73-4a88-ac71-d91b4550ebb9",
"AndOr": "sample string 2",
"ConditionData": "sample string 3",
"Operator": "sample string 4",
"Value": "sample string 5",
"IsActive": true,
"CriteriaOrder": 1,
"ConditionGroup": 1
}
],
"RuleTriggers": {
"ID": "779c255a-dd13-4f75-8b08-4f5b0b91aae7",
"RuleID": "4743da18-99f9-482b-a0a1-5235a2c0a478",
"RuleType": 1,
"IsRecurring": true,
"RecurringInterval": 1,
"RecurranceID": "sample string 2",
"RecurranceRule": "sample string 3",
"Description": "sample string 4",
"EventType": "sample string 5"
}
},
{
"RuleID": "ecda8e58-67eb-4dd1-9630-b27e8d7bd7eb",
"Name": "sample string 2",
"Description": "sample string 3",
"OrgID": "caf1b882-c8b8-4c09-b5fc-f08b4fd48838",
"ConnectionID": "398af875-c158-49cb-ae13-385df203fa8d",
"IsActive": true,
"SourceType": 1,
"RuleActions": {
"ID": "235a7b8b-086c-43da-8ad0-a0f95ee38180",
"RuleID": "40272f03-5cc2-4bae-9d3e-9ee6d239d814",
"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": "0e9cc84b-3179-4a98-8931-ad5e9e2dff5b",
"RuleID": "225a7708-3a73-4a88-ac71-d91b4550ebb9",
"AndOr": "sample string 2",
"ConditionData": "sample string 3",
"Operator": "sample string 4",
"Value": "sample string 5",
"IsActive": true,
"CriteriaOrder": 1,
"ConditionGroup": 1
},
{
"ID": "0e9cc84b-3179-4a98-8931-ad5e9e2dff5b",
"RuleID": "225a7708-3a73-4a88-ac71-d91b4550ebb9",
"AndOr": "sample string 2",
"ConditionData": "sample string 3",
"Operator": "sample string 4",
"Value": "sample string 5",
"IsActive": true,
"CriteriaOrder": 1,
"ConditionGroup": 1
}
],
"RuleTriggers": {
"ID": "779c255a-dd13-4f75-8b08-4f5b0b91aae7",
"RuleID": "4743da18-99f9-482b-a0a1-5235a2c0a478",
"RuleType": 1,
"IsRecurring": true,
"RecurringInterval": 1,
"RecurranceID": "sample string 2",
"RecurranceRule": "sample string 3",
"Description": "sample string 4",
"EventType": "sample string 5"
}
}
]