Keeping a constituent's original source when calling UpdateAccountInfoEx2()

Former Member
Former Member $organization

How do I preserve a constituent's original source when calling UpdateAccountInfoEx2()?  According to the Web API Documentation V10.0 on page 425, passing zero "use[s] the default original source".  Does this mean that it resets the original source to the web default?  If so, how can I retrieve the current original source ID to pass into this method?  GetAccountInfo() returns the description of the current original source, but not its ID.

Thanks,
Bryan

Parents
  • Hi Bryan,

    While I don't have a direct answer. I would suggest testing to see if the documentation is vague. Assuming you have a test API, you could call GetAccountInfo() for a user, then call UpdateAccountInfoEx2(...) passing in a zero, then call GetAccountInfo() again and verify if the Source ID has changed or not...

    If I have some time later I will try this out. If you get to try it out sooner, would you post results?

    Regards,

    Sam

Reply
  • Hi Bryan,

    While I don't have a direct answer. I would suggest testing to see if the documentation is vague. Assuming you have a test API, you could call GetAccountInfo() for a user, then call UpdateAccountInfoEx2(...) passing in a zero, then call GetAccountInfo() again and verify if the Source ID has changed or not...

    If I have some time later I will try this out. If you get to try it out sooner, would you post results?

    Regards,

    Sam

Children