profile
38 Methoden verfügbar
Keine Methoden gefunden für ""
Returns whether the profile has reached the given milestone
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Returns whether the profile has reached the given milestone
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => 0, // int (required)
'milestone_id' => 0, // int (required)
'from' => 0, // int
'to' => 0, // int
];
$result = $client->hasMilestone($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:hasMilestone xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id>0</profile_id> <!-- int, required -->
<milestone_id>0</milestone_id> <!-- int, required -->
<from>0</from> <!-- int, optional -->
<to>0</to> <!-- int, optional -->
</tns:hasMilestone>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#hasMilestone"
Authorization: Basic {base64(username:password)}
Sets the milestone for the given profile
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Sets the milestone for the given profile
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => 0, // int (required)
'milestone_id' => 0, // int (required)
];
$result = $client->setMilestone($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:setMilestone xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id>0</profile_id> <!-- int, required -->
<milestone_id>0</milestone_id> <!-- int, required -->
</tns:setMilestone>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#setMilestone"
Authorization: Basic {base64(username:password)}
Fetches all profiles within the milestone.
Rückgabewert
| Feld | Typ |
|---|---|
| id | string |
| status | int |
| status_description | string |
| namespace | string |
| method | string |
| resource_id | int |
| result_chunks | int |
PHP Implementierung anzeigen
<?php
/**
* Fetches all profiles within the milestone.
* Service: profile
* @return EvalancheJobHandle
* Felder:
* - id (string)
* - status (int)
* - status_description (string)
* - namespace (string)
* - method (string)
* - resource_id (int)
* - result_chunks (int)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'milestone_id' => 0, // int (required)
'pool_attribute_list' => '', // tns:ArrayOfString
'from' => 0, // int
'to' => 0, // int
];
$result = $client->getByMilestone($params);
// Rückgabewert: EvalancheJobHandle
// $result->id (string)
// $result->status (int)
// $result->status_description (string)
// $result->namespace (string)
// $result->method (string)
// $result->resource_id (int)
// $result->result_chunks (int)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getByMilestone xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<milestone_id>0</milestone_id> <!-- int, required -->
<pool_attribute_list></pool_attribute_list> <!-- tns:ArrayOfString, optional -->
<from>0</from> <!-- int, optional -->
<to>0</to> <!-- int, optional -->
</tns:getByMilestone>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getByMilestone"
Authorization: Basic {base64(username:password)}
getTrackingHistory
Rückgabewert
| Feld | Typ |
|---|---|
| item | ProfileTrackingHistory |
PHP Implementierung anzeigen
<?php
/**
* getTrackingHistory
* Service: profile
* @return ArrayOfProfileTrackingHistory
* Felder:
* - item (ProfileTrackingHistory)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => 0, // int (required)
'from' => 0, // int
'to' => 0, // int
];
$result = $client->getTrackingHistory($params);
// Rückgabewert: ArrayOfProfileTrackingHistory
// $result->item (ProfileTrackingHistory)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getTrackingHistory xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id>0</profile_id> <!-- int, required -->
<from>0</from> <!-- int, optional -->
<to>0</to> <!-- int, optional -->
</tns:getTrackingHistory>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getTrackingHistory"
Authorization: Basic {base64(username:password)}
revokeTracking
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* revokeTracking
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => 0, // int (required)
];
$result = $client->revokeTracking($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:revokeTracking xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id>0</profile_id> <!-- int, required -->
</tns:revokeTracking>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#revokeTracking"
Authorization: Basic {base64(username:password)}
Mass create or update profiles in a given pool
Rückgabewert
| Feld | Typ |
|---|---|
| updated | EvalancheHashMap |
| created | EvalancheHashMap |
| ignored | ArrayOfString |
| error | ArrayOfInt |
PHP Implementierung anzeigen
<?php
/**
* Mass create or update profiles in a given pool
* Service: profile
* @return MassUpdatedResult
* Felder:
* - updated (EvalancheHashMap)
* - created (EvalancheHashMap)
* - ignored (ArrayOfString)
* - error (ArrayOfInt)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'key_attribute_name' => '', // string (required)
'attributes' => '', // tns:ArrayOfString (required)
'data' => '', // tns:ArrayOfArrayOfString (required)
'merge' => true, // boolean (required)
'ignore_missing' => true, // boolean (required)
];
$result = $client->massUpdate($params);
// Rückgabewert: MassUpdatedResult
// $result->updated (EvalancheHashMap)
// $result->created (EvalancheHashMap)
// $result->ignored (ArrayOfString)
// $result->error (ArrayOfInt)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:massUpdate xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<key_attribute_name></key_attribute_name> <!-- string, required -->
<attributes></attributes> <!-- tns:ArrayOfString, required -->
<data></data> <!-- tns:ArrayOfArrayOfString, required -->
<merge>true</merge> <!-- boolean, required -->
<ignore_missing>true</ignore_missing> <!-- boolean, required -->
</tns:massUpdate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#massUpdate"
Authorization: Basic {base64(username:password)}
Adds a scoring value for a profile to a specific scoring group
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Adds a scoring value for a profile to a specific scoring group
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => 0, // int (required)
'scoring_group_id' => 0, // int (required)
'score' => 0, // int
'name' => '', // string
];
$result = $client->addScore($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:addScore xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id>0</profile_id> <!-- int, required -->
<scoring_group_id>0</scoring_group_id> <!-- int, required -->
<score>0</score> <!-- int, optional -->
<name></name> <!-- string, optional -->
</tns:addScore>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#addScore"
Authorization: Basic {base64(username:password)}
Gets the mailing status for one profile for the given mailing id
Rückgabewert
| Feld | Typ |
|---|---|
| item | EvalancheProfileMailingStatus2 |
PHP Implementierung anzeigen
<?php
/**
* Gets the mailing status for one profile for the given mailing id
* Service: profile
* @return ArrayOfEvalancheProfileMailingStatus2
* Felder:
* - item (EvalancheProfileMailingStatus2)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => 0, // int (required)
'mailing_id' => 0, // int
];
$result = $client->getMailingStatus($params);
// Rückgabewert: ArrayOfEvalancheProfileMailingStatus2
// $result->item (EvalancheProfileMailingStatus2)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getMailingStatus xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id>0</profile_id> <!-- int, required -->
<mailing_id>0</mailing_id> <!-- int, optional -->
</tns:getMailingStatus>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getMailingStatus"
Authorization: Basic {base64(username:password)}
Checks if a single profile is in the given targetgroups
Rückgabewert
| Feld | Typ |
|---|---|
| item | EvalancheTargetgroupMembership |
PHP Implementierung anzeigen
<?php
/**
* Checks if a single profile is in the given targetgroups
* Service: profile
* @return ArrayOfEvalancheTargetgroupMembership
* Felder:
* - item (EvalancheTargetgroupMembership)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => 0, // int (required)
'targetgroup_ids' => '', // tns:ArrayOfInt (required)
];
$result = $client->isInTargetgroups($params);
// Rückgabewert: ArrayOfEvalancheTargetgroupMembership
// $result->item (EvalancheTargetgroupMembership)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:isInTargetgroups xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id>0</profile_id> <!-- int, required -->
<targetgroup_ids></targetgroup_ids> <!-- tns:ArrayOfInt, required -->
</tns:isInTargetgroups>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#isInTargetgroups"
Authorization: Basic {base64(username:password)}
Grants permission of profile
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Grants permission of profile
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => 0, // int (required)
];
$result = $client->grantPermission($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:grantPermission xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id>0</profile_id> <!-- int, required -->
</tns:grantPermission>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#grantPermission"
Authorization: Basic {base64(username:password)}
Revokes permission of profile
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Revokes permission of profile
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => 0, // int (required)
];
$result = $client->revokePermission($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:revokePermission xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id>0</profile_id> <!-- int, required -->
</tns:revokePermission>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#revokePermission"
Authorization: Basic {base64(username:password)}
Deletes profiles by the given profile ids
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Deletes profiles by the given profile ids
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_ids' => '', // tns:ArrayOfInt (required)
];
$result = $client->delete($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:delete xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_ids></profile_ids> <!-- tns:ArrayOfInt, required -->
</tns:delete>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#delete"
Authorization: Basic {base64(username:password)}
Convenience function to unset a pool attribute option in large set of profile at once.
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Convenience function to unset a pool attribute option in large set of profile at once.
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_attribute_option_id' => 0, // int (required)
'values' => '', // tns:ArrayOfString (required)
'key' => '', // string
'set_profile_edit_date_and_fire_update_event' => true, // boolean
];
$result = $client->untagWithOption($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:untagWithOption xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_attribute_option_id>0</pool_attribute_option_id> <!-- int, required -->
<values></values> <!-- tns:ArrayOfString, required -->
<key></key> <!-- string, optional -->
<set_profile_edit_date_and_fire_update_event>true</set_profile_edit_date_and_fire_update_event> <!-- boolean, optional -->
</tns:untagWithOption>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#untagWithOption"
Authorization: Basic {base64(username:password)}
Convenience function to set a pool attribute option in large set of profile at once.
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Convenience function to set a pool attribute option in large set of profile at once.
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_attribute_option_id' => 0, // int (required)
'values' => '', // tns:ArrayOfString (required)
'key' => '', // string
'set_profile_edit_date_and_fire_update_event' => true, // boolean
];
$result = $client->tagWithOption($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:tagWithOption xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_attribute_option_id>0</pool_attribute_option_id> <!-- int, required -->
<values></values> <!-- tns:ArrayOfString, required -->
<key></key> <!-- string, optional -->
<set_profile_edit_date_and_fire_update_event>true</set_profile_edit_date_and_fire_update_event> <!-- boolean, optional -->
</tns:tagWithOption>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#tagWithOption"
Authorization: Basic {base64(username:password)}
Fetches all profiles within the target group.
Rückgabewert
| Feld | Typ |
|---|---|
| id | string |
| status | int |
| status_description | string |
| namespace | string |
| method | string |
| resource_id | int |
| result_chunks | int |
PHP Implementierung anzeigen
<?php
/**
* Fetches all profiles within the target group.
* Service: profile
* @return EvalancheJobHandle
* Felder:
* - id (string)
* - status (int)
* - status_description (string)
* - namespace (string)
* - method (string)
* - resource_id (int)
* - result_chunks (int)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'targetgroup_id' => 0, // int (required)
'pool_attribute_list' => '', // tns:ArrayOfString
];
$result = $client->getByTargetGroup($params);
// Rückgabewert: EvalancheJobHandle
// $result->id (string)
// $result->status (int)
// $result->status_description (string)
// $result->namespace (string)
// $result->method (string)
// $result->resource_id (int)
// $result->result_chunks (int)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getByTargetGroup xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<targetgroup_id>0</targetgroup_id> <!-- int, required -->
<pool_attribute_list></pool_attribute_list> <!-- tns:ArrayOfString, optional -->
</tns:getByTargetGroup>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getByTargetGroup"
Authorization: Basic {base64(username:password)}
Fetches all profiles within the pool.
Rückgabewert
| Feld | Typ |
|---|---|
| id | string |
| status | int |
| status_description | string |
| namespace | string |
| method | string |
| resource_id | int |
| result_chunks | int |
PHP Implementierung anzeigen
<?php
/**
* Fetches all profiles within the pool.
* Service: profile
* @return EvalancheJobHandle
* Felder:
* - id (string)
* - status (int)
* - status_description (string)
* - namespace (string)
* - method (string)
* - resource_id (int)
* - result_chunks (int)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'pool_attribute_list' => '', // tns:ArrayOfString
];
$result = $client->getByPool($params);
// Rückgabewert: EvalancheJobHandle
// $result->id (string)
// $result->status (int)
// $result->status_description (string)
// $result->namespace (string)
// $result->method (string)
// $result->resource_id (int)
// $result->result_chunks (int)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getByPool xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<pool_attribute_list></pool_attribute_list> <!-- tns:ArrayOfString, optional -->
</tns:getByPool>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getByPool"
Authorization: Basic {base64(username:password)}
Get all granted permissions in a pool within a timeframe
Rückgabewert
| Feld | Typ |
|---|---|
| item | EvalancheHashMap |
PHP Implementierung anzeigen
<?php
/**
* Get all granted permissions in a pool within a timeframe
* Service: profile
* @return ArrayOfEvalancheHashMap
* Felder:
* - item (EvalancheHashMap)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'attributes' => '', // tns:ArrayOfString (required)
'start_time' => 0, // int (required)
'end_time' => 0, // int
];
$result = $client->getGrantedPermissions($params);
// Rückgabewert: ArrayOfEvalancheHashMap
// $result->item (EvalancheHashMap)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getGrantedPermissions xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<attributes></attributes> <!-- tns:ArrayOfString, required -->
<start_time>0</start_time> <!-- int, required -->
<end_time>0</end_time> <!-- int, optional -->
</tns:getGrantedPermissions>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getGrantedPermissions"
Authorization: Basic {base64(username:password)}
Returns the modified profiles of a pool in the given time range
Rückgabewert
| Feld | Typ |
|---|---|
| item | EvalancheHashMap |
PHP Implementierung anzeigen
<?php
/**
* Returns the modified profiles of a pool in the given time range
* Service: profile
* @return ArrayOfEvalancheHashMap
* Felder:
* - item (EvalancheHashMap)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'attributes' => '', // tns:ArrayOfString (required)
'start_time' => 0, // int (required)
'end_time' => 0, // int
];
$result = $client->getModifiedProfiles($params);
// Rückgabewert: ArrayOfEvalancheHashMap
// $result->item (EvalancheHashMap)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getModifiedProfiles xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<attributes></attributes> <!-- tns:ArrayOfString, required -->
<start_time>0</start_time> <!-- int, required -->
<end_time>0</end_time> <!-- int, optional -->
</tns:getModifiedProfiles>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getModifiedProfiles"
Authorization: Basic {base64(username:password)}
Returns the unsubscriptions in a given timeframe and pool
Rückgabewert
| Feld | Typ |
|---|---|
| item | EvalancheHashMap |
PHP Implementierung anzeigen
<?php
/**
* Returns the unsubscriptions in a given timeframe and pool
* Service: profile
* @return ArrayOfEvalancheHashMap
* Felder:
* - item (EvalancheHashMap)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'start_time' => 0, // int (required)
'end_time' => 0, // int (required)
'pool_attribute_list' => '', // tns:ArrayOfString
];
$result = $client->getUnsubscriptions($params);
// Rückgabewert: ArrayOfEvalancheHashMap
// $result->item (EvalancheHashMap)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getUnsubscriptions xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<start_time>0</start_time> <!-- int, required -->
<end_time>0</end_time> <!-- int, required -->
<pool_attribute_list></pool_attribute_list> <!-- tns:ArrayOfString, optional -->
</tns:getUnsubscriptions>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getUnsubscriptions"
Authorization: Basic {base64(username:password)}
Returns the detailled scoring history for a given profile
Rückgabewert
| Feld | Typ |
|---|---|
| item | ProfileActivityScore |
PHP Implementierung anzeigen
<?php
/**
* Returns the detailled scoring history for a given profile
* Service: profile
* @return ArrayOfProfileActivityScore
* Felder:
* - item (ProfileActivityScore)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => 0, // int (required)
'scoring_group_id' => 0, // int
'scoring_type_id' => 0, // int
'resource_id' => 0, // int
'start_timestamp' => 0, // int
'end_timestamp' => 0, // int
];
$result = $client->getActivityScoringHistory($params);
// Rückgabewert: ArrayOfProfileActivityScore
// $result->item (ProfileActivityScore)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getActivityScoringHistory xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id>0</profile_id> <!-- int, required -->
<scoring_group_id>0</scoring_group_id> <!-- int, optional -->
<scoring_type_id>0</scoring_type_id> <!-- int, optional -->
<resource_id>0</resource_id> <!-- int, optional -->
<start_timestamp>0</start_timestamp> <!-- int, optional -->
<end_timestamp>0</end_timestamp> <!-- int, optional -->
</tns:getActivityScoringHistory>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getActivityScoringHistory"
Authorization: Basic {base64(username:password)}
Returns scores sums grouped by scoring groups for given profile
Rückgabewert
| Feld | Typ |
|---|---|
| item | ProfileGroupScore |
PHP Implementierung anzeigen
<?php
/**
* Returns scores sums grouped by scoring groups for given profile
* Service: profile
* @return ArrayOfProfileGroupScore
* Felder:
* - item (ProfileGroupScore)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => '', // string (required)
];
$result = $client->getScores($params);
// Rückgabewert: ArrayOfProfileGroupScore
// $result->item (ProfileGroupScore)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getScores xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id></profile_id> <!-- string, required -->
</tns:getScores>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getScores"
Authorization: Basic {base64(username:password)}
Returns the bounces in a given timeframe and pool
Rückgabewert
| Feld | Typ |
|---|---|
| item | ProfileBounceStatus |
PHP Implementierung anzeigen
<?php
/**
* Returns the bounces in a given timeframe and pool
* Service: profile
* @return ArrayOfProfileBounceStatus
* Felder:
* - item (ProfileBounceStatus)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'start_time' => 0, // int (required)
'end_time' => 0, // int (required)
'pool_attribute_list' => '', // tns:ArrayOfString
];
$result = $client->getBounces($params);
// Rückgabewert: ArrayOfProfileBounceStatus
// $result->item (ProfileBounceStatus)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getBounces xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<start_time>0</start_time> <!-- int, required -->
<end_time>0</end_time> <!-- int, required -->
<pool_attribute_list></pool_attribute_list> <!-- tns:ArrayOfString, optional -->
</tns:getBounces>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getBounces"
Authorization: Basic {base64(username:password)}
Creates a new profile in the pool using the given data.
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Creates a new profile in the pool using the given data.
* Service: profile
* @return int
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'data' => '', // tns:EvalancheHashMap (required)
];
$result = $client->create($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:create xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<data></data> <!-- tns:EvalancheHashMap, required -->
</tns:create>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#create"
Authorization: Basic {base64(username:password)}
Fetch the profile with the given ID.
Rückgabewert
| Feld | Typ |
|---|---|
| items | ArrayOfEvalancheHashMapItem |
PHP Implementierung anzeigen
<?php
/**
* Fetch the profile with the given ID.
* Service: profile
* @return EvalancheHashMap
* Felder:
* - items (ArrayOfEvalancheHashMapItem)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => '', // string (required)
];
$result = $client->getById($params);
// Rückgabewert: EvalancheHashMap
// $result->items (ArrayOfEvalancheHashMapItem)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getById xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id></profile_id> <!-- string, required -->
</tns:getById>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getById"
Authorization: Basic {base64(username:password)}
Same as updateById, but affects the whole pool.
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Same as updateById, but affects the whole pool.
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'data' => '', // tns:EvalancheHashMap (required)
];
$result = $client->updateByPool($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:updateByPool xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<data></data> <!-- tns:EvalancheHashMap, required -->
</tns:updateByPool>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#updateByPool"
Authorization: Basic {base64(username:password)}
Same as mergeById, but affects the whole pool.
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Same as mergeById, but affects the whole pool.
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'data' => '', // tns:EvalancheHashMap (required)
];
$result = $client->mergeByPool($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:mergeByPool xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<data></data> <!-- tns:EvalancheHashMap, required -->
</tns:mergeByPool>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#mergeByPool"
Authorization: Basic {base64(username:password)}
Same as updateById, but affects all profiles of the target group.
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Same as updateById, but affects all profiles of the target group.
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'target_group_id' => 0, // int (required)
'data' => '', // tns:EvalancheHashMap (required)
];
$result = $client->updateByTargetGroup($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:updateByTargetGroup xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<target_group_id>0</target_group_id> <!-- int, required -->
<data></data> <!-- tns:EvalancheHashMap, required -->
</tns:updateByTargetGroup>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#updateByTargetGroup"
Authorization: Basic {base64(username:password)}
Same as mergetById, but affects all profiles of the target group.
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Same as mergetById, but affects all profiles of the target group.
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'target_group_id' => 0, // int (required)
'data' => '', // tns:EvalancheHashMap (required)
];
$result = $client->mergeByTargetGroup($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:mergeByTargetGroup xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<target_group_id>0</target_group_id> <!-- int, required -->
<data></data> <!-- tns:EvalancheHashMap, required -->
</tns:mergeByTargetGroup>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#mergeByTargetGroup"
Authorization: Basic {base64(username:password)}
This will override all existing values in the pool attribute.
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* This will override all existing values in the pool attribute.
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => 0, // int (required)
'data' => '', // tns:EvalancheHashMap (required)
];
$result = $client->updateById($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:updateById xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id>0</profile_id> <!-- int, required -->
<data></data> <!-- tns:EvalancheHashMap, required -->
</tns:updateById>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#updateById"
Authorization: Basic {base64(username:password)}
This is most useful for adding new options of a multi selection without interferring with the existing ones.
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* This is most useful for adding new options of a multi selection without interferring with the existing ones.
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'profile_id' => '', // string (required)
'data' => '', // tns:EvalancheHashMap (required)
];
$result = $client->mergeById($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:mergeById xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<profile_id></profile_id> <!-- string, required -->
<data></data> <!-- tns:EvalancheHashMap, required -->
</tns:mergeById>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#mergeById"
Authorization: Basic {base64(username:password)}
This can be used to search for profiles using your own primary key.
Rückgabewert
| Feld | Typ |
|---|---|
| item | EvalancheHashMap |
PHP Implementierung anzeigen
<?php
/**
* This can be used to search for profiles using your own primary key.
* Service: profile
* @return ArrayOfEvalancheHashMap
* Felder:
* - item (EvalancheHashMap)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'key' => '', // string (required)
'value' => '', // string (required)
'pool_attribute_list' => '', // tns:ArrayOfString
];
$result = $client->getByKey($params);
// Rückgabewert: ArrayOfEvalancheHashMap
// $result->item (EvalancheHashMap)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getByKey xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<key></key> <!-- string, required -->
<value></value> <!-- string, required -->
<pool_attribute_list></pool_attribute_list> <!-- tns:ArrayOfString, optional -->
</tns:getByKey>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getByKey"
Authorization: Basic {base64(username:password)}
Same as updateById, but find the profiles by key and value.
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Same as updateById, but find the profiles by key and value.
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'key' => '', // string (required)
'value' => '', // string (required)
'data' => '', // tns:EvalancheHashMap (required)
];
$result = $client->updateByKey($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:updateByKey xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<key></key> <!-- string, required -->
<value></value> <!-- string, required -->
<data></data> <!-- tns:EvalancheHashMap, required -->
</tns:updateByKey>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#updateByKey"
Authorization: Basic {base64(username:password)}
Same as mergeById, but use a syntax similar to getByKey
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Same as mergeById, but use a syntax similar to getByKey
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'pool_id' => 0, // int (required)
'key' => '', // string (required)
'value' => '', // string (required)
'data' => '', // tns:EvalancheHashMap (required)
];
$result = $client->mergeByKey($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:mergeByKey xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<pool_id>0</pool_id> <!-- int, required -->
<key></key> <!-- string, required -->
<value></value> <!-- string, required -->
<data></data> <!-- tns:EvalancheHashMap, required -->
</tns:mergeByKey>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#mergeByKey"
Authorization: Basic {base64(username:password)}
Test if the API is available and used credentials are valid. The result's property `random_message` has absolutely *no* relevance as the values are randomly taken from http://whatthecommit.com
Rückgabewert
| Feld | Typ |
|---|---|
| status | string |
| random_message | string |
PHP Implementierung anzeigen
<?php
/**
* Test if the API is available and used credentials are valid. The result's property `random_message` has absolutely *no* relevance as the values are randomly taken from http://whatthecommit.com
* Service: profile
* @return IsAliveResult
* Felder:
* - status (string)
* - random_message (string)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'isAliveResult' => '', // tns:IsAliveResult (required)
];
$result = $client->isAlive($params);
// Rückgabewert: IsAliveResult
// $result->status (string)
// $result->random_message (string)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:isAlive xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<isAliveResult></isAliveResult> <!-- tns:IsAliveResult, required -->
</tns:isAlive>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#isAlive"
Authorization: Basic {base64(username:password)}
Get information about a running background job
Rückgabewert
| Feld | Typ |
|---|---|
| id | string |
| status | int |
| status_description | string |
| namespace | string |
| method | string |
| resource_id | int |
| result_chunks | int |
PHP Implementierung anzeigen
<?php
/**
* Get information about a running background job
* Service: profile
* @return EvalancheJobHandle
* Felder:
* - id (string)
* - status (int)
* - status_description (string)
* - namespace (string)
* - method (string)
* - resource_id (int)
* - result_chunks (int)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'job_id' => '', // string (required)
];
$result = $client->getJobInformation($params);
// Rückgabewert: EvalancheJobHandle
// $result->id (string)
// $result->status (int)
// $result->status_description (string)
// $result->namespace (string)
// $result->method (string)
// $result->resource_id (int)
// $result->result_chunks (int)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getJobInformation xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<job_id></job_id> <!-- string, required -->
</tns:getJobInformation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getJobInformation"
Authorization: Basic {base64(username:password)}
Get result chunks from a finished background job
Rückgabewert
| Feld | Typ |
|---|---|
| result | ArrayOfEvalancheHashMap |
| chunks_left | int |
| result_size | int |
| id | string |
| status | int |
| status_description | string |
| namespace | string |
| method | string |
| resource_id | int |
| result_chunks | int |
PHP Implementierung anzeigen
<?php
/**
* Get result chunks from a finished background job
* Service: profile
* @return EvalancheJobResult2
* Felder:
* - result (ArrayOfEvalancheHashMap)
* - chunks_left (int)
* - result_size (int)
* - id (string)
* - status (int)
* - status_description (string)
* - namespace (string)
* - method (string)
* - resource_id (int)
* - result_chunks (int)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'job_id' => '', // string (required)
];
$result = $client->getResults($params);
// Rückgabewert: EvalancheJobResult2
// $result->result (ArrayOfEvalancheHashMap)
// $result->chunks_left (int)
// $result->result_size (int)
// $result->id (string)
// $result->status (int)
// $result->status_description (string)
// $result->namespace (string)
// $result->method (string)
// $result->resource_id (int)
// $result->result_chunks (int)
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getResults xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<job_id></job_id> <!-- string, required -->
</tns:getResults>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getResults"
Authorization: Basic {base64(username:password)}
Sets the cursor for the result set returned by the next call to getResults
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Sets the cursor for the result set returned by the next call to getResults
* Service: profile
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'job_id' => '', // string (required)
'cursor' => 0, // int (required)
];
$result = $client->setResultCursor($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:setResultCursor xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<job_id></job_id> <!-- string, required -->
<cursor>0</cursor> <!-- int, required -->
</tns:setResultCursor>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#setResultCursor"
Authorization: Basic {base64(username:password)}
Returns the cursor for the current result set
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Returns the cursor for the current result set
* Service: profile
* @return string
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/profile';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'job_id' => '', // string (required)
];
$result = $client->getResultCursor($params);
print_r($result);
} catch (SoapFault $e) {
echo 'SOAP Fehler: ' . $e->getMessage();
}
XML SOAP Request anzeigen
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:getResultCursor xmlns:tns="https://scnem.com/soap.php/wsdl/profile">
<job_id></job_id> <!-- string, required -->
</tns:getResultCursor>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/profile#getResultCursor"
Authorization: Basic {base64(username:password)}