Porta Plus 2 Web Services

<back to all web services

UpdateAccount

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

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: UpdateAccount

<?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>

<UpdateAccount 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>
  <AccountInfo>
    <DisplayName>String</DisplayName>
    <i_account>0</i_account>
  </AccountInfo>
  <Accounts xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.Common.Models">
    <d2p1:PortaAccount>
      <d2p1:Address>String</d2p1:Address>
      <d2p1:Address1>String</d2p1:Address1>
      <d2p1:Address2>String</d2p1:Address2>
      <d2p1:Address3>String</d2p1:Address3>
      <d2p1:Address4>String</d2p1:Address4>
      <d2p1:AnsweringMode>
        <d2p1:AnswerMode>String</d2p1:AnswerMode>
        <d2p1:timeout>String</d2p1:timeout>
      </d2p1:AnsweringMode>
      <d2p1:BCC>String</d2p1:BCC>
      <d2p1:Balance>0</d2p1:Balance>
      <d2p1:BatchNamePrefix>String</d2p1:BatchNamePrefix>
      <d2p1:BillStatus>String</d2p1:BillStatus>
      <d2p1:BillingModel>ReChargeVoucher</d2p1:BillingModel>
      <d2p1:Blocked>false</d2p1:Blocked>
      <d2p1:City>String</d2p1:City>
      <d2p1:Company>String</d2p1:Company>
      <d2p1:CompanyName>String</d2p1:CompanyName>
      <d2p1:Contact1>String</d2p1:Contact1>
      <d2p1:Contact2>String</d2p1:Contact2>
      <d2p1:Country>String</d2p1:Country>
      <d2p1:CreditLimit>0</d2p1:CreditLimit>
      <d2p1:Email>String</d2p1:Email>
      <d2p1:EnpointRedirection>String</d2p1:EnpointRedirection>
      <d2p1:Fax>String</d2p1:Fax>
      <d2p1:FirstName>String</d2p1:FirstName>
      <d2p1:FollowMeEnabled>F</d2p1:FollowMeEnabled>
      <d2p1:IAccount>0</d2p1:IAccount>
      <d2p1:IBatch>0</d2p1:IBatch>
      <d2p1:ICustomer>0</d2p1:ICustomer>
      <d2p1:ICustomerSite>0</d2p1:ICustomerSite>
      <d2p1:IEnv>0</d2p1:IEnv>
      <d2p1:IParent>0</d2p1:IParent>
      <d2p1:IProduct>0</d2p1:IProduct>
      <d2p1:IRoutingPlan>0</d2p1:IRoutingPlan>
      <d2p1:ISO4217>String</d2p1:ISO4217>
      <d2p1:ISubscriber>0</d2p1:ISubscriber>
      <d2p1:IVDPlan>0</d2p1:IVDPlan>
      <d2p1:Id>String</d2p1:Id>
      <d2p1:LastName>String</d2p1:LastName>
      <d2p1:Login>String</d2p1:Login>
      <d2p1:MapBlocked>String</d2p1:MapBlocked>
      <d2p1:MiddleInitials>String</d2p1:MiddleInitials>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:Note>String</d2p1:Note>
      <d2p1:Password>String</d2p1:Password>
      <d2p1:Phone1>String</d2p1:Phone1>
      <d2p1:Phone2>String</d2p1:Phone2>
      <d2p1:PhoneNo>String</d2p1:PhoneNo>
      <d2p1:Postcode>String</d2p1:Postcode>
      <d2p1:Region>String</d2p1:Region>
      <d2p1:Salutation>String</d2p1:Salutation>
      <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:SipContact>String</d2p1:SipContact>
      <d2p1:State>String</d2p1:State>
      <d2p1:TeamsDomain>String</d2p1:TeamsDomain>
      <d2p1:Town>String</d2p1:Town>
      <d2p1:UILogin>String</d2p1:UILogin>
      <d2p1:UIPassword>String</d2p1:UIPassword>
      <d2p1:UMEnabled>false</d2p1:UMEnabled>
      <d2p1:UpdateAnsweringMode>false</d2p1:UpdateAnsweringMode>
      <d2p1:VoipPassword>String</d2p1:VoipPassword>
      <d2p1:activationDate>String</d2p1:activationDate>
      <d2p1:assigned_addons>
        <d2p1:PortaProduct>
          <d2p1:IProduct>0</d2p1:IProduct>
          <d2p1:Name>String</d2p1:Name>
        </d2p1:PortaProduct>
      </d2p1:assigned_addons>
      <d2p1:i_moh>0</d2p1:i_moh>
      <d2p1:i_product>0</d2p1:i_product>
    </d2p1:PortaAccount>
  </Accounts>
  <Identity>String</Identity>
  <isDistinctiveRing>false</isDistinctiveRing>
  <isPortingAccount>false</isPortingAccount>
  <translateIncomingCLI>false</translateIncomingCLI>
  <updateAccountActivation>false</updateAccountActivation>
  <updateSFfromv2>false</updateSFfromv2>
  <updateServiceFeature>false</updateServiceFeature>
  <updateVoiceDialing>false</updateVoiceDialing>
</UpdateAccount>

    </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>

<UpdateAccountResponse 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>
  <Success>false</Success>
</UpdateAccountResponse>

    </soap:Body>
</soap:Envelope>