I would like a php method that I can use to create an account. This account requires calling a Business webservice and then a User webservice. Any exceptions encountered will send me an email and return false.
//CreateBusiness()
Args: BusinessName, Description, etc.
Returns: BusinessId
Summary:
Calls a [login to view URL] web service
//CreateUser()
Args: BusinessId, Username, Password, etc.
Returns: UserId
Summary:
Calls a [login to view URL] web service
//CreateAccount()
Args: UserArgs, BusinessArgs
Returns: true if successful
Summary:
BusinessId = CreateBusiness(BusinessArgs);
UserId = CreateUser(BusinessId, UserArgs);
If an exception send email with details and return false.
hi,
I am will provide you an API or the module as per you request if we develop an API then it will be easy for you to access the function from anywhere but if you create a module then it should be access from same server where the code has been kept.
So its depend on you requirement.
I am waiting for your response.
regards,
sumit