API: Create new Filter

Filter can be created using two methods:

PUT on the following URI : /filters
POST on the following URI: /filters?verb=PUT
PUT / POST Content example (formatted):

{
“Name”: “HTTP ERRORS”,
“Description”: “HTTP 500 & 504 Ignore”,
“Rules”: {
“Time_Min”: 5,
“Number_Of_Locations”: 4,
“Number_Of_Tasks”: 1,
“Owner_Device”: false
},
“Items”: [{
“Error_Type”: “Http”,
“Error_Code_To_Ignore”: [500] }, {
“Error_Type”: “Http”,
“Error_Code_To_Ignore”: [504] }] }

Success response:

{
“Success”: true,
“Result”: 1110
}