Filter

Resource type: filters

This call can be used to query a list of filters created in onOffice.

Parameters:

  • module
    Name of the module. Possible values are address and estate. STRING.

Example:

...
"actions":[
	{
		"actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:get",
		"resourceid": "",
		"identifier": "",
		"resourcetype": "filters",
		"parameters": {
      	      "module":"address"
		}
	}
]
...

Response:

  • scope
    Visibility of the filter. There are private, public and office filters
  • name
    Name of the filter
  • userId
    User ID
  • groupId
    Office group ID
...
"records": [
	{
		"id": 15,
		"type": "filter",
		"elements": 
		{
			"scope": "public",
			"name": "Adressen ohne Suchkriterium",
			"userId": null,
			"groupId": null
		}
	},
	{
		"id": 8,
		"type": "filter",
		"elements": 
		{
			"scope": "office",
			"name": "Büroadressen",
			"userId": null,
			"groupId": 195
                            }
		}
	},
		{
			"id": 19,
			"type": "filter",
			"elements": 
			{
				"scope": "public",
				"name": "aktive Adressen ohne Aktivit\u00e4ten",
				"userId": null,
				"groupId": null
			}
	},
]
...