How is the Login token generated?

To log in using SOAP web services, Login object needs a token.

public class Login {

@XmlElement(required = true)

protected String instanceId;

protected String currentToken;

}

How is the token generated ?

What is the instanceId ?

Is this the username ?

The token is generated by the Server Command Service, see-

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_soap_protocols.html&tree=tree_3.html

https://doc.developer.milestonesys.com/html/index.html?base=serversoaphelp/index.html&tree=tree_3.html

Please explore following sample Login .Net SOAP-

https://doc.developer.milestonesys.com/html/index.html?base=samples/logindotnetsoap.html&tree=tree_3.html