Services85 User GetServiceAuth
Some tooltip text!
• 1 minute to read
• 1 minute to read
SOAP request and response examples Remote/Services85/User.svc
Implemented by the
GetServiceAuth
Obtain a ticket from the Services85/SoPrincipal.svc
Application tokens must be specified if calling an Online installation. ApplicationTokens are not checked for on-site installations.
GetServiceAuth Request
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:NetServerServices852="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
xmlns:NetServerServices851="http://schemas.microsoft.com/2003/10/Serialization/"
xmlns:User="http://www.superoffice.net/ws/crm/NetServer/Services85">
<User:ApplicationToken>1234567-1234-9876</User:ApplicationToken>
<User:Credentials>
<User:Ticket>7T:1234abcxyzExample==</User:Ticket>
</User:Credentials>
<SOAP-ENV:Body>
<User:GetServiceAuth>
<User:ServiceAuthId xsi:type="xsd:int">0</User:ServiceAuthId>
</User:GetServiceAuth>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
GetServiceAuth Response
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:NetServerServices852="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
xmlns:NetServerServices851="http://schemas.microsoft.com/2003/10/Serialization/"
xmlns:User="http://www.superoffice.net/ws/crm/NetServer/Services85">
<SOAP-ENV:Body>
<User:GetServiceAuthResponse>
<User:Response xsi:type="User:ServiceAuth">
<User:ServiceAuthId xsi:type="xsd:int">0</User:ServiceAuthId>
<User:Server xsi:type="xsd:string"></User:Server>
<User:Port xsi:type="xsd:int">0</User:Port>
<User:AuthType xsi:type="xsd:string"></User:AuthType>
<User:Username xsi:type="xsd:string"></User:Username>
<User:Password xsi:type="xsd:string"></User:Password>
</User:Response>
</User:GetServiceAuthResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>