vtUserServices
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 | 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 successful |
C# Syntax:
public Boolean vtUserServices.Login23(vtLoginInfo4 LoginRequest , out vtLoginResult17 LoginResult);
SOAP Examples:
JSON Examples:
Logoff
Parameters:
Flag | Name | Type | Documentation |
|---|---|---|---|
In | SessionID | AnsiString | SessionID to log off |
Return Value:
Flag | Name | Type | Documentation |
|---|---|---|---|
Result | Result | Boolean | Returns True/False if logoff was successful |
C# Syntax:
public Boolean vtUserServices.Logoff(AnsiString SessionID);
SOAP Examples:
JSON Examples: