WEBWebUserLogin_Custom
| Initial Build | 2008.01 |
| xWeb | Web Method |
| Response Type | string |
The WEBWebUserLogin Custom web method returns the record number (recno) of the customer who has the supplied user name and password.
Parameters
- LoginOrEmail (string). Web User's login. See WebLogin for more information about xWeb user names.
- password (string ). Clear-text password
Response
String —Returns the record number (recno) of the customer with the user name/password combination, if found.
Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<ns:Token>**************************</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBWebUserLogin_Custom>
<ns:LoginOrEmail>jsmithzzz@zzz.com</ns:LoginOrEmail>
<ns:password>fluffy</ns:password>
</ns:WEBWebUserLogin_Custom>
</soapenv:Body>
</soapenv:Envelope>
Sample Response
<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>5ffc0221-2193-427f-9028-066b095508ad</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBWebUserLogin_CustomResponse xmlns="http://www.avectra.com/2005/">
<WEBWebUserLogin_CustomResult>85992</WEBWebUserLogin_CustomResult>
</WEBWebUserLogin_CustomResponse>
</soap:Body>
</soap:Envelope>
JSON Method
POST /xWeb/JSON/WEBWebUserLogin_Custom
DATA: JSON
{
"WEBWebUserLogin_Custom": {
"LoginOrEmail": "{{emlAddressWebUserCreate}}",
"password": "{{passwordWebUserCreate}}"
}
}
SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
7006