Folgende weitere SOAP-Methoden werden zum arbeiten mit sonstigen Evalanche-Strukturen bereitgestellt.
create
Erstellt einen neuen Mandanten
createResponse create (string name, bool demo_mode, int pricemodel_id, string description, int industry_type)
Details
Parameter
- string name: Name des Mandanten
- bool demo_mode: Demomodus true/false
- (nilable) int pricemodel_id: Preismodell-ID
- (nilable) string description: Beschreibung
- (nilable) int industry_type: Der Parameter INDUSTRY_TYPE kann folgende Werte annehmen:
- 1 = Handel und eCommerce
- 2 = Industrie und Konsumgüter
- 3 = Tourismus, Reise und Freizeit
- 4 = Finanzdienstleister
- 5 = Technologie und Telekom6 = Chemie, Pharma und Gesundheit
- 7 = Verlage und Medien
- 8 = Agenturen und Beratung
- 9 = Non-Profit und Soziales
- 10 = Bildung, Wissenschaft und Forschung
- 999 = Sonstiges
- -1 = [keine Zuweisung und Auswertung]
Rückgabewert
- object: createResponse
- EvalancheMandator: createResult
- (nilable) int id: ID
- (nilable) string name: Name
- (nilable) string domain: Domain
- EvalancheMandator: createResult
Benötigte Rechte
Mandanten anlegen, Demo Mandanten anlegen
Verwendung
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:man="https://scnem.com/soap.php/soap/mandator">
<soapenv:Header />
<soapenv:Body>
<man:create>
<name>NAME</name>
<demo_mode>DEMO_MODE</demo_mode>
<pricemodel_id>PRICEMODEL_ID</pricemodel_id>
<description>DESCRIPTION</description>
<industry_type>INDUSTRY_TYPE</industry_type>
</man:create>
</soapenv:Body>
</soapenv:Envelope><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://scnem.com/soap.php/soap/mandator">
<SOAP-ENV:Body>
<ns1:createResponse>
<createResult>
<id>ID</id>
<name>NAME</name>
<domain>DOMAIN</domain>
</createResult>
</ns1:createResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
getById
Informationen anhand der Mandanten Id auslesen
EvalancheMandator getById(int mandator_id)
Details
Parameter
- int mandator_id: Id des Mandanten
Rückgabewert
- EvalancheMandator: Objekt mit folgenden Attributen:
- id: Id des Mandanten
- name: Name des Mandanten
- domain: Domain des Mandanten
Benötigte Rechte
keine
Verwendung
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:man="https://scnem.com/soap.php/soap/mandator">
<soapenv:Header/>
<soapenv:Body>
<man:getById>
<mandator_id>MANDATOR_ID</mandator_id>
</man:getById>
</soapenv:Body>
</soapenv:Envelope><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://scnem.com/soap.php/soap/mandator">
<SOAP-ENV:Body>
<ns1:getByIdResponse>
<getByIdResult>
<id>MANDATOR_ID</id>
<name>MANDATOR_NAME</name>
<domain>MANDATOR_INTERFACE_DOMAIN</domain>
</getByIdResult>
</ns1:getByIdResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
getList
Liste aller Mandaten auslesen
EvalancheMandator[] getList()
Details
Rückgabewert
- EvalancheMandator: Liste von Objekten analog zu Informationen anhand der Mandanten Id auslesen
Benötigte Rechte
keine
Verwendung
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:man="https://scnem.com/soap.php/soap/mandator">
<soapenv:Header/>
<soapenv:Body>
<man:getList/>
</soapenv:Body>
</soapenv:Envelope><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://scnem.com/soap.php/soap/mandator">
<SOAP-ENV:Body>
<ns1:getListResponse>
<getListResult>
<item>
<id>MANDATOR_ID</id>
<name>MANDATOR_NAME</name>
<domain>MANDATOR_INTERFACE_DOMAIN</domain>
</item>
[...]
</getListResult>
</ns1:getListResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
importScenario
Importiert Scenario in einen Mandanten
importScenarioResponse importScenario (string mandator_id, string scenario_data, string language_code)
Details
Parameter
- string mandator_id: ID des Mandanten
- string scenario_data: Inhalt des Szenarios
- string language_code: Sprachcodierung
Rückgabewert
- object: importScenarioResponse
- bool: importScenarioResult liefert im Erfolgsfall true zurück
Benötigte Rechte
Mandanten bearbeiten
Verwendung
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:man="https://scnem.com/soap.php/soap/mandator">
<soapenv:Header />
<soapenv:Body>
<man:importScenario>
<mandator_id>MANDATOR_ID</mandator_id>
<scenario_data>SCENARIO_DATA</scenario_data>
<language_code>LANGUAGE_CODE</language_code>
</man:importScenario>
</soapenv:Body>
</soapenv:Envelope><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://scnem.com/soap.php/soap/mandator">
<SOAP-ENV:Body>
<ns1:importScenarioResponse>
<importScenarioResult>true</importScenarioResult>
</ns1:importScenarioResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>