<p dir="ltr">You are absolutely correct.  This is our current process and as the number of aliases grows the amount of time required to post this also grows. <br></p>
<p dir="ltr">><br>
> On Apr 15, 2015 12:19 PM, "Kevin Masse" <<a href="mailto:kmasse@questblue.com">kmasse@questblue.com</a>> wrote:<br>
>><br>
>> Jeremie, based on the following condition am I correct to understand your alias list will be incorrect if you add a single alias via API?<br>
>><br>
>>  <br>
>><br>
>> Condition:  You already have 1 or greater than 1 alias in the alias table for this subscriber<br>
>><br>
>>  <br>
>><br>
>> Issue:  You use the SOAP API to add an additional alias to the table for this subscriber<br>
>><br>
>>  <br>
>><br>
>> Results:  Only the last entry is in the alias table for this subscriber therefore removing the original entries that were there before the SOAP API processed the additional alias.<br>
>><br>
>>  <br>
>><br>
>> If I am correct based on the above, you are querying the alias list first, appending the new addition and writing back to the alias table via SOAP all of the aliases at one time thus creating a complex API submission.<br>
>><br>
>> Now when you grow to hundreds of alias entries per subscriber this will begin to cause a problem for the speed of your ( private ) user portal you provided to your customers to use and add aliases etc.<br>
>><br>
>>  <br>
>><br>
>>  <br>
>><br>
>> In conclusion I know I did not provide an answer but I wanted to make sure we all understood it.  I just wanted to make sure it was understood why you pull the full list.  I believe it is because the original alias numbers will be gone when you post a new alias via the API.<br>
>><br>
>>  <br>
>><br>
>> Thanks<br>
>><br>
>> Kevin<br>
>><br>
>>  <br>
>><br>
>>  <br>
>><br>
>>  <br>
>><br>
>>  <br>
>><br>
>> From: Spce-user [mailto:<a href="mailto:spce-user-bounces@lists.sipwise.com">spce-user-bounces@lists.sipwise.com</a>] On Behalf Of Jeremie Chism<br>
>> Sent: Wednesday, April 15, 2015 11:37 AM<br>
>> To: <a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a><br>
>> Subject: [Spce-user] Adding alias through api in 2.8<br>
>><br>
>>  <br>
>><br>
>> We currently use the api provided in 2.8 to add aditional aliases to a subscriber.  Our process is to use the api to pull the full list of aliases on the account, add the new alias to this list, then post back all aliases to the subscriber. <br>
>><br>
>> Some subscribers have hundreds of aliases and a few with well over a thousand.  I am concerned with this process as the count aliases on subscribers continues to grow.  Is there a better way to post large amounts of aliases to subscribers through the api.  Also is there a way to post aliases directly to the database.<br>
>><br>
>> Thanks<br>
>><br>
>> Jeremie Chism<br>
>> Triton Communications<br>
>> <a href="http://www.tritontelephone.com">www.tritontelephone.com</a></p>