Get a rule by id
GET
/management/rules/{id}Last modified: 13 days ago
Request
Path Params
id
string
required
Header Params
X-Integration-Name
string
required
Integration name
Example:
API Documentation
X-Integration-Provider
string
required
Integration provider
Example:
cobra GmbH
X-Cobra-TenantId
string
required
Tenant ID
Example:
12e39e53-ece1-4d8d-8958-e782de1dbef0
X-Integration-Contact
string
optional
Integration contact
Example:
info@cobra.de
Request samples
Responses
OK(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"data": {
"dateCreated": "0001-01-01T00:00:00",
"dateModified": "0001-01-01T00:00:00",
"lastMonitoring": null,
"actions": [
{
"id": "9d1ddd54-b046-486f-9394-c0a4b3ef6a84",
"caption": "Move to misc folder",
"caseType": "NormalAction",
"actionDefinition": {
"Kind": "MoveToFolder",
"folderDestinationId": "Misc"
}
},
{
"id": "a1c6b98c-6668-4028-8720-010ef6a2186b",
"caption": "Add category",
"caseType": "NormalAction",
"actionDefinition": {
"Kind": "AddCategory",
"categoryId": "Red",
"categoryName": "Red"
}
}
],
"filters": [
{
"operator": "Or",
"column": "From",
"condition": "EndsWith",
"value": "example.com"
},
{
"operator": "Or",
"column": "Subject",
"condition": "Contains",
"value": "test"
}
],
"id": "35b33e61-ab46-4849-b090-b027c54f8877",
"caption": "My inbox rule",
"mailboxCredentialId": "8a94476a-9fd9-4c3a-a45c-9016a24b0161",
"active": false,
"folderId": "INBOX",
"cxmCredentialId": "00000000-0000-0000-0000-000000000000",
"createPersonIfNotFound": false,
"searchFields": "From",
"matchingType": "AllMailsMustMatch",
"archiveAsUser": null
},
"message": null,
"metaData": null,
"statusCode": 200
}
Last modified: 13 days ago