Porta Plus 2 Web Services

<back to all web services

PortaAccountDetailsByProduct

The following routes are available for this service:
GET/GetAccountDetails/{License}/{ICustomer}/{searchString}
GET/GetAccountDetailsbyIProduct/{License}/{ICustomer}/{searchString}/{getAccountsbyIProduct}
GET/GetAccountDetailsbyIProduct/{License}/{ICustomer}/{searchString}/{getAccountsbyIProduct}/{getCliStatus}
GET/GetAccountDetails/{License}/{ICustomer}/{searchString}/{prefix}

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

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/oneway/PortaAccountDetailsByProduct HTTP/1.1 
Host: 7el.co 
Content-Type: application/xml
Content-Length: length

<PortaAccountDetailsByProduct 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>
  <AccountID>String</AccountID>
  <Aliases>false</Aliases>
  <Currency>String</Currency>
  <GetAccountServiceFeatures>false</GetAccountServiceFeatures>
  <GetBlockedAccounts>false</GetBlockedAccounts>
  <GetDIDS>false</GetDIDS>
  <IAccount>0</IAccount>
  <ICustomer>0</ICustomer>
  <IProduct>0</IProduct>
  <IService>0</IService>
  <MultipleProducts>String</MultipleProducts>
  <ResellerID>0</ResellerID>
  <ShowAllResellerProducts>false</ShowAllResellerProducts>
  <accountlist xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
    <d2p1:Accounts>
      <d2p1:Extension>String</d2p1:Extension>
      <d2p1:ProductName>String</d2p1:ProductName>
      <d2p1:Type>String</d2p1:Type>
      <d2p1:assignedAddons>String</d2p1:assignedAddons>
      <d2p1:assignedHardware>
        <d2p1:UANames>
          <d2p1:Type>String</d2p1:Type>
          <d2p1:i_account>0</d2p1:i_account>
          <d2p1:i_ua>0</d2p1:i_ua>
          <d2p1:i_ua_type>0</d2p1:i_ua_type>
          <d2p1:name>String</d2p1:name>
        </d2p1:UANames>
      </d2p1:assignedHardware>
      <d2p1:fullname>String</d2p1:fullname>
      <d2p1:hidecli>false</d2p1:hidecli>
      <d2p1:i_account>0</d2p1:i_account>
      <d2p1:i_customer>0</d2p1:i_customer>
      <d2p1:i_reseller>0</d2p1:i_reseller>
      <d2p1:i_ua>0</d2p1:i_ua>
      <d2p1:i_ua_type>0</d2p1:i_ua_type>
      <d2p1:id>String</d2p1:id>
      <d2p1:label>String</d2p1:label>
    </d2p1:Accounts>
  </accountlist>
  <filterByActivationDate>String</filterByActivationDate>
  <fromDate>String</fromDate>
  <getAccountsbyIProduct>false</getAccountsbyIProduct>
  <getCliStatus>false</getCliStatus>
  <name>String</name>
  <prefix>0</prefix>
  <searchString>String</searchString>
  <toDate>String</toDate>
</PortaAccountDetailsByProduct>