Structs:
vtLoginInfo4
Field | Data Type | Required | Documentation |
---|---|---|---|
ApplicationID | AnsiString | Yes | ApplicationID provided by InstallerNet |
Username | AnsiString | Yes | Username provided by InstallerNet |
Password | AnsiString | Yes | Password provided by InstallerNet |
ApplicationVersion | AnsiString | No | Client Application Version |
IPAddress | AnsiString | No | Client IP Address |
HTTPReferrer | AnsiString | No | Client HTTP Referrer |
vtLoginResult17
Field | Data Type | Documentation |
---|---|---|
SessionId | AnsiString | SessionId to pass into service methods for the current client session |
CompanyId | Integer | Your CompanyId/RetailerId to pass into service methods |
LoginDateTime | DateTime | Timestamp of session creation |
Methods:
Login23
Parameters:
Flag | Name | Type | Documentation |
---|---|---|---|
In | LoginRequest | vtLoginInfo4 | Input struct, see field descriptions above |
Out | LoginResult | vtLoginResult17 | Output struct, see field descriptions above |
Return Value:
Flag | Name | Type | Documentation |
---|---|---|---|
Result | Result | Boolean | Returns True/False if login was sucsessfull |
C# Syntax:
public Boolean vtUserServices.Login23(vtLoginInfo4 LoginRequest , out vtLoginResult17 LoginResult);
SOAP Example:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:HNS="http://tempuri.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body xmlns:ro="http://tempuri.org/">
<v1:vtUserServices___Login23 xmlns:v1="http://tempuri.org/">
<v1:LoginRequest>
<v1:ApplicationID>ApplicationID</v1:ApplicationID>
<v1:Username>UserName</v1:Username>
<v1:Password>Password</v1:Password>
<v1:ApplicationVersion />
<v1:IPAddress />
<v1:HTTPReferrer />
</v1:LoginRequest>
</v1:vtUserServices___Login23>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
vtUserServices.Logoff