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:
Request:
<?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>
Response
<?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:v1="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___Login23Response>
<v1:Result>true</v1:Result>
<v1:LoginResult>
<v1:AppBillingRate>0</v1:AppBillingRate>
<v1:BillingRate>0</v1:BillingRate>
<v1:CanAdmin>false</v1:CanAdmin>
<v1:CanCall>false</v1:CanCall>
<v1:CanEdit>false</v1:CanEdit>
<v1:CanLocal>false</v1:CanLocal>
<v1:CanSelect>true</v1:CanSelect>
<v1:CanSynch>false</v1:CanSynch>
<v1:CanTask>false</v1:CanTask>
<v1:CanWebAdmin>false</v1:CanWebAdmin>
<v1:CompanyId>16952</v1:CompanyId>
<v1:ForumAuthorId>0</v1:ForumAuthorId>
<v1:HomepagePath />
<v1:LastNPDSubmission>1899-12-30T00:00:00</v1:LastNPDSubmission>
<v1:LoginDateTime>2015-11-13T11:42:23.272</v1:LoginDateTime>
<v1:Member>false</v1:Member>
<v1:MERALevel>0</v1:MERALevel>
<v1:SerialPrefix />
<v1:SessionId>SessionId</v1:SessionId>
<v1:StructureDates>
<v1:Attributes>2014-08-04T11:04:05.303</v1:Attributes>
<v1:CommonInstalls>2013-05-30T16:07:14.497</v1:CommonInstalls>
<v1:Documents>2015-11-12T15:15:11.56</v1:Documents>
<v1:HorizontalStructure>2013-09-19T16:34:22.857</v1:HorizontalStructure>
<v1:Products>2015-10-27T16:53:21.47</v1:Products>
</v1:StructureDates>
<v1:TopTierApp>false</v1:TopTierApp>
<v1:VehicleSubscriptionInfo>
<v1:AllowedVehicles>-1</v1:AllowedVehicles>
<v1:AvailableVehicles>-1</v1:AvailableVehicles>
<v1:SubscribedVehicleIds />
</v1:VehicleSubscriptionInfo>
</v1:LoginResult>
</v1:vtUserServices___Login23Response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
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:
Request:
<?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___Logoff xmlns:v1="http://tempuri.org/">
<v1:SessionID>SessionID</v1:SessionID>
</v1:vtUserServices___Logoff>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response
<?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:v1="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___LogoffResponse>
<v1:Result>true</v1:Result>
</v1:vtUserServices___LogoffResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
GetWebsiteSettings19
Parameters:
Flag | Name | Type | Documentation |
---|---|---|---|
In | SessionId | AnsiString | SessionId returned from login |
In | CompanyId | Integer | CompanyId returned from login |
Out | Settings | vtWebsiteSettings19 | Output struct containing website settings |
Return Value:
None.
C# Syntax:
public void vtUserServices.GetWebsiteSettings19(AnsiString SessionId , Int32 CompanyId , out vtWebsiteSettings19 Settings);
SOAP Examples:
Request:
<?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___GetWebsiteSettings19 xmlns:v1="http://tempuri.org/">
<v1:SessionId>SessionId</v1:SessionId>
<v1:CompanyId>CompanyId</v1:CompanyId>
</v1:vtUserServices___GetWebsiteSettings19>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response
<?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:v1="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___GetWebsiteSettings19Response>
<v1:Settings>
<v1:AdminAttributeChanges>false</v1:AdminAttributeChanges>
<v1:AdminDocuments>false</v1:AdminDocuments>
<v1:AdvancedProductGrid>false</v1:AdvancedProductGrid>
<v1:AffiliateIntro />
<v1:AjaxEnabled>true</v1:AjaxEnabled>
<v1:AjaxVehicleSelect>true</v1:AjaxVehicleSelect>
<v1:AuthorizeNet>false</v1:AuthorizeNet>
<v1:CascadeVehicleSelect>true</v1:CascadeVehicleSelect>
<v1:CompanyId>CompanyId</v1:CompanyId>
<v1:CompanyName>CompanyName</v1:CompanyName>
<v1:CompanyReturnUrl />
<v1:CompanyWebsiteUrl />
<v1:DefaultProductCategoryId>0</v1:DefaultProductCategoryId>
<v1:DynamicProductDetails>false</v1:DynamicProductDetails>
<v1:FeatureFilterAsDropDown>false</v1:FeatureFilterAsDropDown>
<v1:FeedbackEmails />
<v1:FeedbackEmailsCC />
<v1:FitGuideImages>true</v1:FitGuideImages>
<v1:FitGuideProductAttributes />
<v1:GetsAccessoriesData>false</v1:GetsAccessoriesData>
<v1:GetsDocuments>true</v1:GetsDocuments>
<v1:GetsProductAccessories>false</v1:GetsProductAccessories>
<v1:GetsProducts>false</v1:GetsProducts>
<v1:Hyperlinks />
<v1:ImagePopups>false</v1:ImagePopups>
<v1:MaintenanceMode>false</v1:MaintenanceMode>
<v1:MissingVehicleRecipients />
<v1:OrderContactInfo />
<v1:OrderEmails />
<v1:OrderEmailsCC />
<v1:ProductsPerPage>20</v1:ProductsPerPage>
<v1:ProductWires>false</v1:ProductWires>
<v1:SeparateFrontAndRearSpeakers>false</v1:SeparateFrontAndRearSpeakers>
<v1:SeperatedGuide>false</v1:SeperatedGuide>
<v1:ShowFitGuideDocuments>false</v1:ShowFitGuideDocuments>
<v1:ShowLargeDescInList>false</v1:ShowLargeDescInList>
<v1:ShowProductFeatureValues>false</v1:ShowProductFeatureValues>
<v1:ShowQuickAccess>false</v1:ShowQuickAccess>
<v1:StyledComboBoxes>false</v1:StyledComboBoxes>
<v1:SystemMessage />
<v1:SystemMessageEnabled>false</v1:SystemMessageEnabled>
<v1:TaxRate>0</v1:TaxRate>
<v1:VehicleImageWidth>0</v1:VehicleImageWidth>
<v1:VehicleInformationOnProductListing>false</v1:VehicleInformationOnProductListing>
<v1:VehicleInformationOnSelector>false</v1:VehicleInformationOnSelector>
<v1:VerticalAttributeStructure>false</v1:VerticalAttributeStructure>
<v1:WrongInfoRecipients />
</v1:Settings>
</v1:vtUserServices___GetWebsiteSettings19Response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>