HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: 7el.co
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: CreateAccount
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
<ContentId>0</ContentId>
<FeatureName>String</FeatureName>
<License>String</License>
<AccountRequest xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.Common.Models">
<d2p1:AccountId>String</d2p1:AccountId>
<d2p1:AccountPrefix>String</d2p1:AccountPrefix>
<d2p1:AccountRandomDigitLength>0</d2p1:AccountRandomDigitLength>
<d2p1:AccountsToCreate>
<d2p1:AccountInformation>
<d2p1:AcntId>String</d2p1:AcntId>
<d2p1:ActivationDate>String</d2p1:ActivationDate>
<d2p1:Email>String</d2p1:Email>
<d2p1:Extension>String</d2p1:Extension>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:ISubscription>0</d2p1:ISubscription>
<d2p1:Index>0</d2p1:Index>
<d2p1:Label>String</d2p1:Label>
<d2p1:LastName>String</d2p1:LastName>
<d2p1:Password>String</d2p1:Password>
</d2p1:AccountInformation>
</d2p1:AccountsToCreate>
<d2p1:CustomerLogin>String</d2p1:CustomerLogin>
<d2p1:CustomerPassword>String</d2p1:CustomerPassword>
<d2p1:DefaultValues>
<d2p1:BCC>String</d2p1:BCC>
<d2p1:BatchNamePrefix>String</d2p1:BatchNamePrefix>
<d2p1:BillingModel>ReChargeVoucher</d2p1:BillingModel>
<d2p1:CreditLimit>0</d2p1:CreditLimit>
<d2p1:DefaultAnsweringMode>Reject</d2p1:DefaultAnsweringMode>
<d2p1:EcommerceEnabled>false</d2p1:EcommerceEnabled>
<d2p1:FollowMeEnabled>false</d2p1:FollowMeEnabled>
<d2p1:IParent>0</d2p1:IParent>
<d2p1:IRoutingPlan>0</d2p1:IRoutingPlan>
<d2p1:ITariff>0</d2p1:ITariff>
<d2p1:ITimeZone>0</d2p1:ITimeZone>
<d2p1:IVRLanguage>String</d2p1:IVRLanguage>
<d2p1:LifeTime>0</d2p1:LifeTime>
<d2p1:OutDateTimeFormat>String</d2p1:OutDateTimeFormat>
<d2p1:ProductId>0</d2p1:ProductId>
<d2p1:RTPProxy>Direct</d2p1:RTPProxy>
<d2p1:ServiceFeatures>
<d2p1:PortaServiceFeature>
<d2p1:FlagValue>String</d2p1:FlagValue>
<d2p1:Name>String</d2p1:Name>
<d2p1:ServiceAttributes xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:KeyValueOfstringArrayOfstringty7Ep6D1>
<d6p1:Key>String</d6p1:Key>
<d6p1:Value>
<d6p1:string>String</d6p1:string>
</d6p1:Value>
</d6p1:KeyValueOfstringArrayOfstringty7Ep6D1>
</d2p1:ServiceAttributes>
</d2p1:PortaServiceFeature>
</d2p1:ServiceFeatures>
<d2p1:ServiceFlags>String</d2p1:ServiceFlags>
<d2p1:UmEnabled>false</d2p1:UmEnabled>
</d2p1:DefaultValues>
<d2p1:ICustomer>0</d2p1:ICustomer>
<d2p1:SIPContact>String</d2p1:SIPContact>
<d2p1:SiteType>String</d2p1:SiteType>
</AccountRequest>
</CreateAccount>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateAccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
<ContentId>0</ContentId>
<FeatureName>String</FeatureName>
<License>String</License>
<AccLogin>String</AccLogin>
<AccPassword>String</AccPassword>
<Email>String</Email>
<Extension>String</Extension>
<FirstName>String</FirstName>
<IAccount>0</IAccount>
<ID>String</ID>
<ISubscription>0</ISubscription>
<Index>0</Index>
<Label>String</Label>
<LastName>String</LastName>
<Password>String</Password>
</CreateAccountResponse>
</soap:Body>
</soap:Envelope>