Greetings,
When a web user logs in they are given a MOS based on their rank, or the default MOS. However, what if a user's rank changes during the session and we want to move that user into the correct MOS, how would we do that? There's the ChangeModeOfSaleEX() function but for that you have to know the new MOS which we don't. We can get the user's new rank with GetConstituentInfo() but I don't know how to map that to a MOS within the API. I suppose I can relogin that user but that can't be right.
What am I missing?
Brian,
There may not be a procedure to do exactly what you're asking, however, if you can't find one you can probably use the ExecuteLocalProcedure() method of the API to grab what you need. Perhaps a proc that accepts the new rank from GetConstituentInfo() and returns a MOS value. Or even getlocaldata/getlocaldataex methods might be able to help.
Might be worth investigating.