HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<UMVoiceMailSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto.UM">
<ContentId xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">0</ContentId>
<FeatureName xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">String</FeatureName>
<License xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">String</License>
<Email>String</Email>
<IAccounts>String</IAccounts>
<UMLogin xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.Soap.Client.UM">
<d2p1:accountId>String</d2p1:accountId>
<d2p1:domain>String</d2p1:domain>
<d2p1:login>String</d2p1:login>
<d2p1:password>String</d2p1:password>
</UMLogin>
<VMSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/Porta.SoapTest.VoiceMail">
<d2p1:announce_dtField>String</d2p1:announce_dtField>
<d2p1:auto_playField>String</d2p1:auto_playField>
<d2p1:disa_passwordField>String</d2p1:disa_passwordField>
<d2p1:enable_disaField>String</d2p1:enable_disaField>
<d2p1:ext_emailField>String</d2p1:ext_emailField>
<d2p1:ext_email_actionField>String</d2p1:ext_email_actionField>
<d2p1:ext_email_vm_fmtField>String</d2p1:ext_email_vm_fmtField>
<d2p1:fax_fileField>String</d2p1:fax_fileField>
<d2p1:greetingsField>String</d2p1:greetingsField>
<d2p1:passwordField>String</d2p1:passwordField>
<d2p1:password_askField>String</d2p1:password_askField>
<d2p1:prompt_levelsField>String</d2p1:prompt_levelsField>
</VMSettings>
</UMVoiceMailSettings>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<UMVoiceMailSettingsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto.UM">
<DbUmGreetingsResponse xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models" i:nil="true" />
<VMSettingsResponse xmlns:d2p1="http://schemas.datacontract.org/2004/07/Porta.SoapTest.VoiceMail">
<d2p1:vm_settings_savedField>0</d2p1:vm_settings_savedField>
</VMSettingsResponse>
<ValidationMessage>String</ValidationMessage>
<VoiceMailSettingsResponse xmlns:d2p1="http://schemas.datacontract.org/2004/07/Porta.SoapTest.VoiceMail">
<d2p1:vm_settingsField>
<d2p1:announce_dtField>String</d2p1:announce_dtField>
<d2p1:auto_playField>String</d2p1:auto_playField>
<d2p1:disa_passwordField>String</d2p1:disa_passwordField>
<d2p1:enable_disaField>String</d2p1:enable_disaField>
<d2p1:ext_emailField>String</d2p1:ext_emailField>
<d2p1:ext_email_actionField>String</d2p1:ext_email_actionField>
<d2p1:ext_email_vm_fmtField>String</d2p1:ext_email_vm_fmtField>
<d2p1:fax_fileField>String</d2p1:fax_fileField>
<d2p1:greetingsField>String</d2p1:greetingsField>
<d2p1:passwordField>String</d2p1:passwordField>
<d2p1:password_askField>String</d2p1:password_askField>
<d2p1:prompt_levelsField>String</d2p1:prompt_levelsField>
</d2p1:vm_settingsField>
</VoiceMailSettingsResponse>
</UMVoiceMailSettingsResponse>
</soap12:Body>
</soap12:Envelope>