API/Account/GetAccountFromUsernameAndPassword
From Emersion
Purpose
Check Username and Password, and get Account ID.
Inputs
<soapenv:Header/> <soapenv:Body> <acc:MyGetAccountFromUsernameAndPasswordRequest> <acc:Username>emesupport@communitytelco.com.au</acc:Username> <acc:Password>********</acc:Password> </acc:MyGetAccountFromUsernameAndPasswordRequest> </soapenv:Body>
Output
<SOAP-ENV:Body> <ns1:MyGetAccountFromUsernameAndPasswordResponse> <ns1:AccountID>1234567</ns1:AccountID> </ns1:MyGetAccountFromUsernameAndPasswordResponse> </SOAP-ENV:Body>
Error String
- "Invalid Username" - Username supplied is not valid
- "Username does not exist" - Username supplied does not exist or does not belong to the same parent Account as the API Caller.
- "Incorrect Password" - Password supplied does not match what's stored for the Username supplied.