WEBWebUserValidateLogin_Custom
| Initial Build | 2008.01 |
| xWeb | Web Method |
| Response Type | custom |
The WEBWebUserValidateLogin Custom web method is similar to WEBWebUserValidateLogin except that instead of returning a WebUserType, the method returns the numeric customer ID.
Parameters
| Name | Type | Occurs | Description |
|---|---|---|---|
| LoginOrEmail | string | 0(R)..1 | The user name or email address. |
| password | string | 0(R)..1 | The clear text password. |
Response
The numeric customer ID (string).
Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<!--Optional:-->
<ns:Token>2306bae2-4f6f-499c-8b8b-daffb79abb9b</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBWebUserValidateLogin_Custom>
<!--Optional:-->
<ns:LoginOrEmail>bsmith@avectra.com</ns:LoginOrEmail>
<!--Optional:-->
<ns:password>123</ns:password>
</ns:WEBWebUserValidateLogin_Custom>
</soapenv:Body>
</soapenv:Envelope>
Sample Response
Shortened for brevity.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>2306bae2-4f6f-499c-8b8b-daffb79abb9b</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBWebUserValidateLogin_CustomResponse xmlns="http://www.avectra.com/2005/">
<WEBWebUserValidateLogin_CustomResult>82896</WEBWebUserValidateLogin_CustomResult>
</WEBWebUserValidateLogin_CustomResponse>
</soap:Body>
</soap:Envelope>