Porta Plus 2 Web Services

<back to all web services

CreatePartnerAccount

To override the Content-type in your clients HTTP Accept Header, append the .soap12 suffix or ?format=soap12

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: 7el.co 
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>

<CreatePartnerAccount 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>
  <PartnerAccountRequest xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.Common.Models">
    <d2p1:AccountId>String</d2p1:AccountId>
    <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>
  </PartnerAccountRequest>
</CreatePartnerAccount>

    </soap12:Body>
</soap12:Envelope>