SOAP API methode Rule_copy
Beschrijving
When a view given, the copy will be created there. When a array to the 4th parameter is given, all objects that failed to copy will be add to the array. The available options force: Always return a object, even when some of the childs failed to copy.
Parameters
Naam | Type | Beschrijving |
---|---|---|
id * | int | Unique identifier (id) of the object Rule. The method only applies to the rule with this id. |
name * | string | The name of the new rule |
view | Structure of type 'view' | The future parent of the new rule, if omitted the same parent as this rule. |
options | Collection of type 'options' | Extra copy options. |
login | Structure of type 'login' | Optional login data (soon deprecated) |
access_token | string | Optional api access token |
* verplichte parameters |
Resultaat
Naam | Type | Beschrijving |
---|---|---|
rule | Structure of type 'rule' | |
value | boolean |
Structuur 'view'
Naam | Type | Beschrijving |
---|---|---|
id | int | The ID of the view. |
name | string | The name of the view. |
description | string | The description of the view. |
archived | boolean | The view is archived. |
buildstatus | string | The status of the rebuild |
countprofiles | int | The number of profiles. |
lastbuilt | timestamp | When was the item rebuilt for the last time? |
Structuur 'options'
Naam | Type | Beschrijving |
---|---|---|
string |
Structuur 'login'
Naam | Type | Beschrijving |
---|---|---|
username | string | The username of the login attempt |
account | string | The account name of the login attempt |
password | string | The password for the login attempt |
Structuur 'rule'
Naam | Type | Beschrijving |
---|---|---|
id | int | The ID of the rule. |
name | string | The name of the rule. |
inversed | boolean | Is this rule an inversed rule? |
disabled | boolean | Is this rule disabled? |