The Web API Documentation V10.0 states (on p. 423) that if you pass "[]" as the sPhone2 parameter of UpdateAccountInfoEx(), it will delete the current value. However, I am unable to delete the phone number on a test constituent account, no matter what I pass as that parameter. Passing "[]" and passing an empty string cause no change, though passing an actual number changes the number. How can I just remove the number without replacing it with another number?
Thanks,Bryan
Bryan, I’m not sure if you are still looking for an answer, but the intended way to remove phone numbers is with the DeletePhone method. Development is currently aware that UpdateAccountInfo does not support the removal of phone numbers and is investigating whether or not this behavior can be changed or whether the documentation should be updated to reflect the current behavior.
Gregg Stickney
Application Support Specialist
Tessitura Network
+1 888 643 5778 x 318
gstickney@tessituranetwork.com
From: Tessitura Web Forum [mailto:forums-tessitura-web@tessituranetwork.com] On Behalf Of Jon BallingerSent: Wednesday, April 06, 2011 9:17 PMTo: Gregg StickneySubject: Re: [Tessitura Web Forum] UpdateAccountInfoEx2() unable to delete value of phone2
It looks like it's a bug to me in the WP_MAINTAIN_CONSTITUENT stored proc. The Phone 1 doesn't work either when passing [] . Maybe report it with support.
Jon
From: Bryan Drenner <bounce-bryandrenner9059@tessituranetwork.com>Sent: 4/6/2011 1:57:09 PM
You were sent this email automatically because you subscribed to the Tessitura Web forum. You may reply to this message to post to the Web forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!
Thank you, Mr. Stickney. That's exactly what I needed to know.