getServerDefinition
Url
/V2.0/services/authentication/getServerDefinition
HTTP Method
POST
Description
Returns the Url where your organization API is located.
When authenticating using API key method, no parameters are required.
Passing user name and password as parameters will override any existing authenticated user. 
Parameters
Name Type Description
userName string The user name to authenticate with (optional)
password string The password (optional)
loginOptions loginOptions Additional information required during the login process
Result
Name Type Description
serverLocation string The actual API url to use for subsequent calls
appLocation string
In case of failure an error object will be returned
* indicates required fields