Create alert rule historical versions
post/projects/{projectId}/alertRules/{alertRuleId}/history
Creates the project history versions for an alert rule.
1{2 "projectId": "string",3 "name": "string",4 "description": "string",5 "kpi": "string",6 "severity": "string",7 "operator": "string",8 "value": 0,9 "violations": 0,10 "modelRole": "string",11 "triggered": true,12 "versionNum": 0,13 "alertRuleId": "string",14 "ruleCreationTimeStamp": "2019-08-24T14:15:22Z",15 "ruleModifiedTimeStamp": "2019-08-24T14:15:22Z",16 "ruleCreatedBy": "string"17}
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | The request succeeded. | Schema | |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | The project ID is not valid. | Schema |