leadpage
29 Methoden verfügbar
Keine Methoden gefunden für ""
Get details of a Leadpage
Rückgabewert
| Feld | Typ |
|---|---|
| url | string |
| type_id | int |
| category_id | int |
| customer_id | int |
| last_modified | int |
| id | int |
| name | string |
PHP Implementierung anzeigen
<?php
/**
* Get details of a Leadpage
* Service: leadpage
* @return EvalancheResourceInformation
* Felder:
* - url (string)
* - type_id (int)
* - category_id (int)
* - customer_id (int)
* - last_modified (int)
* - id (int)
* - name (string)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'leadpage_id' => 0, // int (required)
];
$result = $client->getDetails($params);
// Rückgabewert: EvalancheResourceInformation
// $result->url (string)
// $result->type_id (int)
// $result->category_id (int)
// $result->customer_id (int)
// $result->last_modified (int)
// $result->id (int)
// $result->name (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:getDetails xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<leadpage_id>0</leadpage_id> <!-- int, required -->
</tns:getDetails>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#getDetails"
Authorization: Basic {base64(username:password)}
Reads the configuration of the specified leadpage
Rückgabewert
| Feld | Typ |
|---|---|
| inputfield_0 | string |
| inputfield_1 | string |
| inputfield_2 | string |
| inputfield_3 | string |
| inputfield_4 | string |
| inputfield_5 | string |
| inputfield_6 | string |
| inputfield_7 | string |
| inputfield_8 | string |
| inputfield_9 | string |
| textarea_0 | string |
| textarea_1 | string |
| textarea_2 | string |
| textarea_3 | string |
| textarea_4 | string |
| textarea_5 | string |
| textarea_6 | string |
| textarea_7 | string |
| textarea_8 | string |
| textarea_9 | string |
| htmlarea_0 | string |
| htmlarea_1 | string |
| htmlarea_2 | string |
| htmlarea_3 | string |
| htmlarea_4 | string |
| htmlarea_5 | string |
| htmlarea_6 | string |
| htmlarea_7 | string |
| htmlarea_8 | string |
| htmlarea_9 | string |
| macro_library | string |
PHP Implementierung anzeigen
<?php
/**
* Reads the configuration of the specified leadpage
* Service: leadpage
* @return LeadpageConfiguration
* Felder:
* - inputfield_0 (string)
* - inputfield_1 (string)
* - inputfield_2 (string)
* - inputfield_3 (string)
* - inputfield_4 (string)
* - inputfield_5 (string)
* - inputfield_6 (string)
* - inputfield_7 (string)
* - inputfield_8 (string)
* - inputfield_9 (string)
* - textarea_0 (string)
* - textarea_1 (string)
* - textarea_2 (string)
* - textarea_3 (string)
* - textarea_4 (string)
* - textarea_5 (string)
* - textarea_6 (string)
* - textarea_7 (string)
* - textarea_8 (string)
* - textarea_9 (string)
* - htmlarea_0 (string)
* - htmlarea_1 (string)
* - htmlarea_2 (string)
* - htmlarea_3 (string)
* - htmlarea_4 (string)
* - htmlarea_5 (string)
* - htmlarea_6 (string)
* - htmlarea_7 (string)
* - htmlarea_8 (string)
* - htmlarea_9 (string)
* - macro_library (string)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'leadpage_id' => 0, // int (required)
];
$result = $client->getConfiguration($params);
// Rückgabewert: LeadpageConfiguration
// $result->inputfield_0 (string)
// $result->inputfield_1 (string)
// $result->inputfield_2 (string)
// $result->inputfield_3 (string)
// $result->inputfield_4 (string)
// $result->inputfield_5 (string)
// $result->inputfield_6 (string)
// $result->inputfield_7 (string)
// $result->inputfield_8 (string)
// $result->inputfield_9 (string)
// $result->textarea_0 (string)
// $result->textarea_1 (string)
// $result->textarea_2 (string)
// $result->textarea_3 (string)
// $result->textarea_4 (string)
// $result->textarea_5 (string)
// $result->textarea_6 (string)
// $result->textarea_7 (string)
// $result->textarea_8 (string)
// $result->textarea_9 (string)
// $result->htmlarea_0 (string)
// $result->htmlarea_1 (string)
// $result->htmlarea_2 (string)
// $result->htmlarea_3 (string)
// $result->htmlarea_4 (string)
// $result->htmlarea_5 (string)
// $result->htmlarea_6 (string)
// $result->htmlarea_7 (string)
// $result->htmlarea_8 (string)
// $result->htmlarea_9 (string)
// $result->macro_library (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:getConfiguration xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<leadpage_id>0</leadpage_id> <!-- int, required -->
</tns:getConfiguration>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#getConfiguration"
Authorization: Basic {base64(username:password)}
Sets the configuration for the specified leadpage
Rückgabewert
| Feld | Typ |
|---|---|
| inputfield_0 | string |
| inputfield_1 | string |
| inputfield_2 | string |
| inputfield_3 | string |
| inputfield_4 | string |
| inputfield_5 | string |
| inputfield_6 | string |
| inputfield_7 | string |
| inputfield_8 | string |
| inputfield_9 | string |
| textarea_0 | string |
| textarea_1 | string |
| textarea_2 | string |
| textarea_3 | string |
| textarea_4 | string |
| textarea_5 | string |
| textarea_6 | string |
| textarea_7 | string |
| textarea_8 | string |
| textarea_9 | string |
| htmlarea_0 | string |
| htmlarea_1 | string |
| htmlarea_2 | string |
| htmlarea_3 | string |
| htmlarea_4 | string |
| htmlarea_5 | string |
| htmlarea_6 | string |
| htmlarea_7 | string |
| htmlarea_8 | string |
| htmlarea_9 | string |
| macro_library | string |
PHP Implementierung anzeigen
<?php
/**
* Sets the configuration for the specified leadpage
* Service: leadpage
* @return LeadpageConfiguration
* Felder:
* - inputfield_0 (string)
* - inputfield_1 (string)
* - inputfield_2 (string)
* - inputfield_3 (string)
* - inputfield_4 (string)
* - inputfield_5 (string)
* - inputfield_6 (string)
* - inputfield_7 (string)
* - inputfield_8 (string)
* - inputfield_9 (string)
* - textarea_0 (string)
* - textarea_1 (string)
* - textarea_2 (string)
* - textarea_3 (string)
* - textarea_4 (string)
* - textarea_5 (string)
* - textarea_6 (string)
* - textarea_7 (string)
* - textarea_8 (string)
* - textarea_9 (string)
* - htmlarea_0 (string)
* - htmlarea_1 (string)
* - htmlarea_2 (string)
* - htmlarea_3 (string)
* - htmlarea_4 (string)
* - htmlarea_5 (string)
* - htmlarea_6 (string)
* - htmlarea_7 (string)
* - htmlarea_8 (string)
* - htmlarea_9 (string)
* - macro_library (string)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'leadpage_id' => 0, // int (required)
'configuration' => '', // tns:LeadpageConfiguration (required)
'overwrite' => true, // boolean
];
$result = $client->setConfiguration($params);
// Rückgabewert: LeadpageConfiguration
// $result->inputfield_0 (string)
// $result->inputfield_1 (string)
// $result->inputfield_2 (string)
// $result->inputfield_3 (string)
// $result->inputfield_4 (string)
// $result->inputfield_5 (string)
// $result->inputfield_6 (string)
// $result->inputfield_7 (string)
// $result->inputfield_8 (string)
// $result->inputfield_9 (string)
// $result->textarea_0 (string)
// $result->textarea_1 (string)
// $result->textarea_2 (string)
// $result->textarea_3 (string)
// $result->textarea_4 (string)
// $result->textarea_5 (string)
// $result->textarea_6 (string)
// $result->textarea_7 (string)
// $result->textarea_8 (string)
// $result->textarea_9 (string)
// $result->htmlarea_0 (string)
// $result->htmlarea_1 (string)
// $result->htmlarea_2 (string)
// $result->htmlarea_3 (string)
// $result->htmlarea_4 (string)
// $result->htmlarea_5 (string)
// $result->htmlarea_6 (string)
// $result->htmlarea_7 (string)
// $result->htmlarea_8 (string)
// $result->htmlarea_9 (string)
// $result->macro_library (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:setConfiguration xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<leadpage_id>0</leadpage_id> <!-- int, required -->
<configuration></configuration> <!-- tns:LeadpageConfiguration, required -->
<overwrite>true</overwrite> <!-- boolean, optional -->
</tns:setConfiguration>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#setConfiguration"
Authorization: Basic {base64(username:password)}
Adds articles to the leadpage
Rückgabewert
| Feld | Typ |
|---|---|
| item | LeadpageArticle |
PHP Implementierung anzeigen
<?php
/**
* Adds articles to the leadpage
* Service: leadpage
* @return ArrayOfLeadpageArticle
* Felder:
* - item (LeadpageArticle)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'leadpage_id' => 0, // int (required)
'articles' => '', // tns:ArrayOfLeadpageArticle (required)
];
$result = $client->addArticles($params);
// Rückgabewert: ArrayOfLeadpageArticle
// $result->item (LeadpageArticle)
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:addArticles xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<leadpage_id>0</leadpage_id> <!-- int, required -->
<articles></articles> <!-- tns:ArrayOfLeadpageArticle, required -->
</tns:addArticles>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#addArticles"
Authorization: Basic {base64(username:password)}
Remove all article references from a leadpage
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Remove all article references from a leadpage
* Service: leadpage
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'leadpage_id' => 0, // int (required)
];
$result = $client->removeAllArticles($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:removeAllArticles xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<leadpage_id>0</leadpage_id> <!-- int, required -->
</tns:removeAllArticles>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#removeAllArticles"
Authorization: Basic {base64(username:password)}
Remove article references from a leadpage
Rückgabewert
| Feld | Typ |
|---|---|
| item | LeadpageArticle |
PHP Implementierung anzeigen
<?php
/**
* Remove article references from a leadpage
* Service: leadpage
* @return ArrayOfLeadpageArticle
* Felder:
* - item (LeadpageArticle)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'leadpage_id' => 0, // int (required)
'reference_ids' => '', // tns:ArrayOfInt
];
$result = $client->removeArticles($params);
// Rückgabewert: ArrayOfLeadpageArticle
// $result->item (LeadpageArticle)
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:removeArticles xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<leadpage_id>0</leadpage_id> <!-- int, required -->
<reference_ids></reference_ids> <!-- tns:ArrayOfInt, optional -->
</tns:removeArticles>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#removeArticles"
Authorization: Basic {base64(username:password)}
Get the list of pre-configured articles of the leadpage
Rückgabewert
| Feld | Typ |
|---|---|
| item | LeadpageArticle |
PHP Implementierung anzeigen
<?php
/**
* Get the list of pre-configured articles of the leadpage
* Service: leadpage
* @return ArrayOfLeadpageArticle
* Felder:
* - item (LeadpageArticle)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'leadpage_id' => 0, // int (required)
];
$result = $client->getArticles($params);
// Rückgabewert: ArrayOfLeadpageArticle
// $result->item (LeadpageArticle)
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:getArticles xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<leadpage_id>0</leadpage_id> <!-- int, required -->
</tns:getArticles>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#getArticles"
Authorization: Basic {base64(username:password)}
Creates a copy of the resource specified by the $resource_id
Rückgabewert
| Feld | Typ |
|---|---|
| url | string |
| type_id | int |
| category_id | int |
| customer_id | int |
| last_modified | int |
| id | int |
| name | string |
PHP Implementierung anzeigen
<?php
/**
* Creates a copy of the resource specified by the $resource_id
* Service: leadpage
* @return EvalancheResourceInformation
* Felder:
* - url (string)
* - type_id (int)
* - category_id (int)
* - customer_id (int)
* - last_modified (int)
* - id (int)
* - name (string)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
'category_id' => 0, // int
];
$result = $client->copy($params);
// Rückgabewert: EvalancheResourceInformation
// $result->url (string)
// $result->type_id (int)
// $result->category_id (int)
// $result->customer_id (int)
// $result->last_modified (int)
// $result->id (int)
// $result->name (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:copy xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
<category_id>0</category_id> <!-- int, optional -->
</tns:copy>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#copy"
Authorization: Basic {base64(username:password)}
Moves the resource specified by the $resource_id to another category
Rückgabewert
| Feld | Typ |
|---|---|
| url | string |
| type_id | int |
| category_id | int |
| customer_id | int |
| last_modified | int |
| id | int |
| name | string |
PHP Implementierung anzeigen
<?php
/**
* Moves the resource specified by the $resource_id to another category
* Service: leadpage
* @return EvalancheResourceInformation
* Felder:
* - url (string)
* - type_id (int)
* - category_id (int)
* - customer_id (int)
* - last_modified (int)
* - id (int)
* - name (string)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
'category_id' => 0, // int (required)
];
$result = $client->move($params);
// Rückgabewert: EvalancheResourceInformation
// $result->url (string)
// $result->type_id (int)
// $result->category_id (int)
// $result->customer_id (int)
// $result->last_modified (int)
// $result->id (int)
// $result->name (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:move xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
<category_id>0</category_id> <!-- int, required -->
</tns:move>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#move"
Authorization: Basic {base64(username:password)}
Deletes the resource
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Deletes the resource
* Service: leadpage
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (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/leadpage">
<resource_id>0</resource_id> <!-- int, 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/leadpage#delete"
Authorization: Basic {base64(username:password)}
Renames the resource
Rückgabewert
| Feld | Typ |
|---|---|
| url | string |
| type_id | int |
| category_id | int |
| customer_id | int |
| last_modified | int |
| id | int |
| name | string |
PHP Implementierung anzeigen
<?php
/**
* Renames the resource
* Service: leadpage
* @return EvalancheResourceInformation
* Felder:
* - url (string)
* - type_id (int)
* - category_id (int)
* - customer_id (int)
* - last_modified (int)
* - id (int)
* - name (string)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
'name' => '', // string (required)
];
$result = $client->rename($params);
// Rückgabewert: EvalancheResourceInformation
// $result->url (string)
// $result->type_id (int)
// $result->category_id (int)
// $result->customer_id (int)
// $result->last_modified (int)
// $result->id (int)
// $result->name (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:rename xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
<name></name> <!-- string, required -->
</tns:rename>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#rename"
Authorization: Basic {base64(username:password)}
Get information about the namespace's resource type ids
PHP Implementierung anzeigen
<?php
/**
* Get information about the namespace's resource type ids
* Service: leadpage
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'item' => '', // tns:EvalancheResourceTypeInformation (required)
];
$result = $client->getTypeIds($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:getTypeIds xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<item></item> <!-- tns:EvalancheResourceTypeInformation, required -->
</tns:getTypeIds>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#getTypeIds"
Authorization: Basic {base64(username:password)}
Get resource information for resource with id $resource_id
Rückgabewert
| Feld | Typ |
|---|---|
| url | string |
| type_id | int |
| category_id | int |
| customer_id | int |
| last_modified | int |
| id | int |
| name | string |
PHP Implementierung anzeigen
<?php
/**
* Get resource information for resource with id $resource_id
* Service: leadpage
* @return EvalancheResourceInformation
* Felder:
* - url (string)
* - type_id (int)
* - category_id (int)
* - customer_id (int)
* - last_modified (int)
* - id (int)
* - name (string)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
];
$result = $client->getById($params);
// Rückgabewert: EvalancheResourceInformation
// $result->url (string)
// $result->type_id (int)
// $result->category_id (int)
// $result->customer_id (int)
// $result->last_modified (int)
// $result->id (int)
// $result->name (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:getById xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, 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/leadpage#getById"
Authorization: Basic {base64(username:password)}
Get resources by category id
PHP Implementierung anzeigen
<?php
/**
* Get resources by category id
* Service: leadpage
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'category_id' => 0, // int (required)
];
$result = $client->getByCategory($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:getByCategory xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<category_id>0</category_id> <!-- int, required -->
</tns:getByCategory>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#getByCategory"
Authorization: Basic {base64(username:password)}
Get all resources of this namespace's type
PHP Implementierung anzeigen
<?php
/**
* Get all resources of this namespace's type
* Service: leadpage
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'mandator_id' => 0, // int
];
$result = $client->getAll($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:getAll xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<mandator_id>0</mandator_id> <!-- int, optional -->
</tns:getAll>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#getAll"
Authorization: Basic {base64(username:password)}
Get information about this namespace's default category
PHP Implementierung anzeigen
<?php
/**
* Get information about this namespace's default category
* Service: leadpage
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'customer_id' => 0, // int
];
$result = $client->getResourceDefaultCategory($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:getResourceDefaultCategory xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<customer_id>0</customer_id> <!-- int, optional -->
</tns:getResourceDefaultCategory>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#getResourceDefaultCategory"
Authorization: Basic {base64(username:password)}
Get all resources within this namespace with the given resource type id (see method getTypeIds)
PHP Implementierung anzeigen
<?php
/**
* Get all resources within this namespace with the given resource type id
(see method getTypeIds)
* Service: leadpage
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'type_id' => 0, // int (required)
'mandator_id' => 0, // int
];
$result = $client->getByTypeId($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:getByTypeId xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<type_id>0</type_id> <!-- int, required -->
<mandator_id>0</mandator_id> <!-- int, optional -->
</tns:getByTypeId>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#getByTypeId"
Authorization: Basic {base64(username:password)}
Get resource information for resource by external id
PHP Implementierung anzeigen
<?php
/**
* Get resource information for resource by external id
* Service: leadpage
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'external_id' => '', // string (required)
];
$result = $client->getByExternalId($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:getByExternalId xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<external_id></external_id> <!-- string, required -->
</tns:getByExternalId>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#getByExternalId"
Authorization: Basic {base64(username:password)}
Returns the objects content container data
PHP Implementierung anzeigen
<?php
/**
* Returns the objects content container data
* Service: leadpage
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
];
$result = $client->getContentContainerData($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:getContentContainerData xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
</tns:getContentContainerData>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#getContentContainerData"
Authorization: Basic {base64(username:password)}
Updates an objects content container
PHP Implementierung anzeigen
<?php
/**
* Updates an objects content container
* Service: leadpage
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
'data' => '', // tns:EvalancheHashMap (required)
];
$result = $client->setContentContainerData($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:setContentContainerData xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
<data></data> <!-- tns:EvalancheHashMap, required -->
</tns:setContentContainerData>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#setContentContainerData"
Authorization: Basic {base64(username:password)}
Runs content-generation on supported resources
Rückgabewert
| Feld | Typ |
|---|---|
| id | string |
| status | int |
| status_description | string |
PHP Implementierung anzeigen
<?php
/**
* Runs content-generation on supported resources
* Service: leadpage
* @return EvalancheJobState
* Felder:
* - id (string)
* - status (int)
* - status_description (string)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
'variables' => '', // tns:EvalancheHashMap (required)
];
$result = $client->runContentGeneration($params);
// Rückgabewert: EvalancheJobState
// $result->id (string)
// $result->status (int)
// $result->status_description (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:runContentGeneration xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
<variables></variables> <!-- tns:EvalancheHashMap, required -->
</tns:runContentGeneration>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#runContentGeneration"
Authorization: Basic {base64(username:password)}
Retrieves the state of a generic background-job
Rückgabewert
| Feld | Typ |
|---|---|
| id | string |
| status | int |
| status_description | string |
PHP Implementierung anzeigen
<?php
/**
* Retrieves the state of a generic background-job
* Service: leadpage
* @return EvalancheJobState
* Felder:
* - id (string)
* - status (int)
* - status_description (string)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$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->getJobState($params);
// Rückgabewert: EvalancheJobState
// $result->id (string)
// $result->status (int)
// $result->status_description (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:getJobState xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<job_id></job_id> <!-- string, required -->
</tns:getJobState>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#getJobState"
Authorization: Basic {base64(username:password)}
Updates the module-types storage
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Updates the module-types storage
* Service: leadpage
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
'module_type_content' => '', // string (required)
];
$result = $client->updateModuleTypes($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:updateModuleTypes xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
<module_type_content></module_type_content> <!-- string, required -->
</tns:updateModuleTypes>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#updateModuleTypes"
Authorization: Basic {base64(username:password)}
Retrieves module-types
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Retrieves module-types
* Service: leadpage
* @return string
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
];
$result = $client->retrieveModuleTypes($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:retrieveModuleTypes xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
</tns:retrieveModuleTypes>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#retrieveModuleTypes"
Authorization: Basic {base64(username:password)}
Updates module configuration
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Updates module configuration
* Service: leadpage
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
'module_content' => '', // string (required)
];
$result = $client->updateModuleConfiguration($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:updateModuleConfiguration xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
<module_content></module_content> <!-- string, required -->
</tns:updateModuleConfiguration>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#updateModuleConfiguration"
Authorization: Basic {base64(username:password)}
Retrieves module configurations
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Retrieves module configurations
* Service: leadpage
* @return string
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
];
$result = $client->retrieveModuleConfiguration($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:retrieveModuleConfiguration xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
</tns:retrieveModuleConfiguration>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#retrieveModuleConfiguration"
Authorization: Basic {base64(username:password)}
Updates global module configuration
Rückgabewert
PHP Implementierung anzeigen
<?php
/**
* Updates global module configuration
* Service: leadpage
* @return boolean
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
'global_module_content' => '', // string (required)
];
$result = $client->updateGlobalModuleConfiguration($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:updateGlobalModuleConfiguration xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
<global_module_content></global_module_content> <!-- string, required -->
</tns:updateGlobalModuleConfiguration>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#updateGlobalModuleConfiguration"
Authorization: Basic {base64(username:password)}
Retrieves global module configurations
PHP Implementierung anzeigen
<?php
/**
* Retrieves global module configurations
* Service: leadpage
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$username = 'DEIN_USERNAME';
$password = 'DEIN_PASSWORD';
$options = [
'login' => $username,
'password' => $password,
'trace' => true,
'exceptions' => true,
];
try {
$client = new SoapClient($wsdlUrl, $options);
// Parameter
$params = [
'resource_id' => 0, // int (required)
];
$result = $client->retrieveGlobalModuleConfiguration($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:retrieveGlobalModuleConfiguration xmlns:tns="https://scnem.com/soap.php/wsdl/leadpage">
<resource_id>0</resource_id> <!-- int, required -->
</tns:retrieveGlobalModuleConfiguration>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP Header:
Content-Type: text/xml; charset=utf-8
SOAPAction: "https://scnem.com/soap.php/wsdl/leadpage#retrieveGlobalModuleConfiguration"
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: leadpage
* @return IsAliveResult
* Felder:
* - status (string)
* - random_message (string)
*/
$wsdlUrl = 'https://scnem.com/soap.php/wsdl/leadpage';
$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/leadpage">
<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/leadpage#isAlive"
Authorization: Basic {base64(username:password)}