TargetingPeculiarityService WSDL
Used for administration of targeting peculiarities.This service is stateless.
getCounttop
Description
int getCount()
Return Values
int |
getPeculiaritytop
Description
TargetingPeculiarity getPeculiarity(int $peculiarity_id)
Parameters
int | $peculiarity_id |
Return Values
TargetingPeculiarity |
getSoaCollectionPagetop
Description
Gets a single SoaCollection page.
For valid filters and qualifiers see getValidSoaCollectionFilters().
TargetingPeculiarityList getSoaCollectionPage(KeySetPagedSoaCollectionConfiguration $configuration)
Parameters
KeySetPagedSoaCollectionConfiguration | $configuration |
Return Values
TargetingPeculiarityList |
getValidSoaCollectionFilterstop
Description
Gets valid soa collection search filters and their qualifier name / values
SoaCollectionValidFilterList getValidSoaCollectionFilters()
Return Values
SoaCollectionValidFilterList |
logintop
Description
Initializes a new session with given information
boolean login(string $user, string $pass, int $network)
Parameters
string | $user | Username |
string | $pass | Password |
int | $network | $network Network ID |
Return Values
boolean | true on success, false on fail |
logouttop
Description
Destroys the active session, logging out the user.
boolean logout()
Return Values
boolean | true on success, false on fail |
removePeculiaritytop
Description
boolean removePeculiarity(int $peculiarity_id)
Parameters
int | $peculiarity_id |
Return Values
boolean | True on success, otherwise false |
savePeculiaritytop
Description
Requires admin rights.
int savePeculiarity(TargetingPeculiarity $peculiarity)
Parameters
TargetingPeculiarity | $peculiarity |
Return Values
int | attribute ID |
Faults
KeySetPagedSoaCollectionConfigurationtop
Definition
- - Array <SoaCollectionFilter> $filters
-
optional
See SoaCollection::addQualifiedFilter()
- - int $pageSize
-
required
- - Array <NamedStringValue> $lastKeySet
-
optional
Read-only specification of the last collection element for key-set based paging.
The value is an implementation detail and must only be used for passing it directly
to getSoaCollectionPage() in order to navigate to the next collection page.
The value must be retrieved from the "lastKeySet" property of the previous getSoaCollectionPage() call.
To be left empty for the very first getSoaCollectionPage() call (default). - - boolean $useReplication
-
optional
Enables usage of replicated data increasing the performance and stability of search operations.
Regardless of this setting live data will be used instead in case of replication having
a lag of more than a couple of seconds.
NamedStringValuetop
Definition
- - string $name
-
required
- - string $value
-
required
SoaCollectionFiltertop
Definition
See SoaCollection::addQualifiedFilter().
- - string $target
-
required
- - string $value
-
required
- - int $qualifier
-
required
SoaCollectionFilterQualifiertop
Definition
Describes the possible qualifiers for a filter target
- - string $name
-
required
- - int $value
-
required
SoaCollectionValidFiltertop
Definition
Describes the possible qualifiers for a filter target
- - string $target
-
required
- - Array <SoaCollectionFilterQualifier> $qualifiers
-
optional
SoaCollectionValidFilterListtop
Definition
A list of valid filters and their qualifiers
TargetingPeculiaritytop
Definition
- - int $id
-
optional
- - string $name
-
required
- - string $subKey
-
required
- - string $description
-
optional
- - int $attributeId
-
required
- - boolean $active
-
required
- - string $createdAt
-
optional
- - string $updatedAt
-
optional
TargetingPeculiarityListtop
Definition
- - Array <TargetingPeculiarity> $peculiarities
-
optional
- - Array <NamedStringValue> $lastKeySet
-
optional
ValidationErrorMessagetop
Definition
- - string $identifier
-
required
- - Array <string> $messages
-
required