SOAP API methode Rule_createCondition
Beschrijving
Create a new condition for this rule. There are some different types of a condition: 'Change','Date','DoubleField','Email','Fax','Field','Interest', 'LastContact','MiniView','Sms','ToDo','Survey', 'Part', 'ReferView', 'Logs'
Parameters
| Naam | Type | Beschrijving |
|---|---|---|
| id * | int | Unique identifier (id) of the object Rule. The method only applies to the rule with this id. |
| type * | string | The possible types are: 'Change','Date','DoubleField','Email','Fax','Field','Interest', 'LastContact','MiniView','Sms','ToDo','Survey', 'Part', 'ReferView', 'Export', 'Logs' |
| login | Structure of type 'login' | Optional login data (soon deprecated) |
| access_token | string | Optional api access token |
| * verplichte parameters | ||
Resultaat
| Naam | Type | Beschrijving |
|---|---|---|
| exportcondition | Structure of type 'exportcondition' | |
| lastcontactcondition | Structure of type 'lastcontactcondition' | |
| referviewcondition | Structure of type 'referviewcondition' | |
| changecondition | Structure of type 'changecondition' | |
| emailcondition | Structure of type 'emailcondition' | |
| faxcondition | Structure of type 'faxcondition' | |
| smscondition | Structure of type 'smscondition' | |
| datecondition | Structure of type 'datecondition' | |
| surveycondition | Structure of type 'surveycondition' | |
| fieldcondition | Structure of type 'fieldcondition' | |
| doublefieldcondition | Structure of type 'doublefieldcondition' | |
| miniviewcondition | Structure of type 'miniviewcondition' | |
| todocondition | Structure of type 'todocondition' | |
| interestcondition | Structure of type 'interestcondition' | |
| partcondition | Structure of type 'partcondition' |
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 'exportcondition'
| Naam | Type | Beschrijving |
|---|---|---|
| includeneverexportedprofiles | boolean | When this is true the condition also includes the profiles that weren't exported before. |
| aftertime | timestamp | The aftertime of the exportcondition. |
| aftermutation | DateMutation | The aftermutation of the exportcondition. |
| beforetime | timestamp | The beforetime of the exportcondition. |
| beforemutation | DateMutation | The before mutation of the exportcondition. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'lastcontactcondition'
| Naam | Type | Beschrijving |
|---|---|---|
| matchtype | string | The match type of the lastcontactcondition. |
| matchmode | string | The matchmode of the lastcontactcondition. |
| contacttype | ContactType | The type of contact that we recently had (or did not have). |
| minclosedcontacts | int | The minimum number of items that should be on the todo list. |
| maxclosedcontacts | int | The maximum number of items that should be on the contast list. |
| aftertime | timestamp | The aftertime of the last contact condition. |
| aftermutation | DateMutation | The aftermutation of the last contact condition. |
| beforetime | timestamp | The beforetime of the last contact condition. |
| beforemutation | DateMutation | The beforemutation of the last contact condition. |
| beforeinterval | DateMutation | Set the before mutation of the last contact condition. |
| priority | string | Get the priority of the selected contacts |
| contains | string | Get the search string for the contact report contents |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'referviewcondition'
| Naam | Type | Beschrijving |
|---|---|---|
| checktype | string | Should a profile be present in the other view or not. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'changecondition'
| Naam | Type | Beschrijving |
|---|---|---|
| changetype | string | The changetype of the changecondition. |
| aftertime | timestamp | The aftertime of the changecondition. |
| aftermutation | DateMutation | The aftermutation of the changecondition. |
| beforetime | timestamp | The beforetime of the changecondition. |
| beforeinterval | DateMutation | The before mutation of the changecondition. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'emailcondition'
| Naam | Type | Beschrijving |
|---|---|---|
| requiredresult | string | The emailings certain result. |
| clickedurl | string | The URL that must be clicked. |
| requirederrors | Array | These errors trigger the condition, used in comination of the 'error' result. |
| matchmode | string | The matchmode of the mailingcondition. |
| requireddestination | string | The required destination of the condition. |
| documentname | string | The name of the document of the condition. |
| aftertime | timestamp | The 'after' time of the condition. |
| aftermutation | DateMutation | Change the variable time before which the mailing should have been sent. |
| beforetime | timestamp | The 'before' time of the condition. |
| beforemutation | DateMutation | The variable time before which the mailing should have been sent. |
| number | int | The required number of messages that are received. |
| operator | string | The operator to compare the number of messages with the number of received messages by the profile/subprofile. |
| templatename | string | The name of the template of the condition. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'faxcondition'
| Naam | Type | Beschrijving |
|---|---|---|
| matchmode | string | The matchmode of the mailingcondition. |
| requireddestination | string | The required destination of the condition. |
| documentname | string | The name of the document of the condition. |
| aftertime | timestamp | The 'after' time of the condition. |
| aftermutation | DateMutation | Change the variable time before which the mailing should have been sent. |
| beforetime | timestamp | The 'before' time of the condition. |
| beforemutation | DateMutation | The variable time before which the mailing should have been sent. |
| number | int | The required number of messages that are received. |
| operator | string | The operator to compare the number of messages with the number of received messages by the profile/subprofile. |
| templatename | string | The name of the template of the condition. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'smscondition'
| Naam | Type | Beschrijving |
|---|---|---|
| matchmode | string | The matchmode of the mailingcondition. |
| requireddestination | string | The required destination of the condition. |
| documentname | string | The name of the document of the condition. |
| aftertime | timestamp | The 'after' time of the condition. |
| aftermutation | DateMutation | Change the variable time before which the mailing should have been sent. |
| beforetime | timestamp | The 'before' time of the condition. |
| beforemutation | DateMutation | The variable time before which the mailing should have been sent. |
| number | int | The required number of messages that are received. |
| operator | string | The operator to compare the number of messages with the number of received messages by the profile/subprofile. |
| templatename | string | The name of the template of the condition. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'datecondition'
| Naam | Type | Beschrijving |
|---|---|---|
| aftertime | timestamp | The 'after' time of the date condition. |
| aftermutation | DateMutation | The variable time after which the chosen field must be. |
| beforetime | timestamp | The 'before' time of the date condition. |
| beforemutation | DateMutation | The variable time before which the chosen field must be. |
| comparemode | string | The compare mode of the datecondition. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'surveycondition'
| Naam | Type | Beschrijving |
|---|---|---|
| submitter | string | The required submitter of the survey. |
| surveyname | string | The name of the survey that must have been filled in. |
| aftertime | string | The 'after' time of the condition. |
| aftermutation | DateMutation | The variable time AFTER which the survey must be submitted. |
| beforetime | string | The 'before' time of the condition. |
| beforemutation | DateMutation | The variable time BEFORE which the survey must be submitted. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'fieldcondition'
| Naam | Type | Beschrijving |
|---|---|---|
| comparison | string | The comparison type, valid values are: 'equals', 'not equals', 'contains', |
| value | string | The value that the field is compared with. |
| numericComparison | boolean | Is the comparison done numeric or not |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'doublefieldcondition'
| Naam | Type | Beschrijving |
|---|---|---|
| matchmode | string | The matchmode of the doublefieldcondition. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'miniviewcondition'
| Naam | Type | Beschrijving |
|---|---|---|
| minsubprofiles | int | The minimum number of subprofiles that should exists in the miniview. |
| maxsubprofiles | int | The maximum number of subprofiles that should exists in the miniview. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'todocondition'
| Naam | Type | Beschrijving |
|---|---|---|
| matchtype | string | The match type of the to do condition. |
| matchmode | string | The matchmode of the to do condition. |
| contacttype | ContactType | The contacttype of the to do condition. |
| minopencontacts | int | The minimum number of items that should be on the todo list. |
| maxopencontacts | int | The maximum number of items that should be on the todo list. |
| aftertime | timestamp | The aftertime of the todo condition. |
| aftermutation | DateMutation | The aftermutation of the todo condition. |
| beforetime | timestamp | The beforetime of the todo condition. |
| beforemutation | DateMutation | The beforemutation of the todo condition. |
| beforeinterval | DateMutation | Set the beforemutation of the todo condition. |
| priority | string | Get the priority of the selected todo's. |
| contains | string | Get the search string for the todo contents |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'interestcondition'
| Naam | Type | Beschrijving |
|---|---|---|
| matchmode | string | The matchmode of the interestcondition. |
| interestgroup | string | The interestgroup of the condition. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |
Structuur 'partcondition'
| Naam | Type | Beschrijving |
|---|---|---|
| random | boolean | Whether or not the results are ordered randomly |
| begin | string | The first selected profile from the parent, ordered by the fields |
| length | string | The number of selected profiles. This value can be a number or a percentage. |
| id | int | The ID of the condition. |
| type | string | The type of the condition. |
| disabled | boolean | Is this condition disabled? |