Class BasicServiceFacade
Facade of the BasicService (see http://webservices.fleetboard.com/services2/basicservice)
Inheritance
System.Object
BasicServiceFacade
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Telematic.FleetBoard
Assembly: Simplic.Telematic.FleetBoard.dll
Syntax
public class BasicServiceFacade
Constructors
| Improve this Doc View SourceBasicServiceFacade(String)
Declaration
public BasicServiceFacade(string webserviceUrl)
Parameters
Type | Name | Description |
---|---|---|
System.String | webserviceUrl |
Methods
| Improve this Doc View SourceForceRelogin(String, String, String)
Declaration
public string ForceRelogin(string fleet, string username, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | fleet | |
System.String | username | |
System.String | password |
Returns
Type | Description |
---|---|
System.String |
GetCurrentUser()
Gets Information about the currently logged in user.
Declaration
public TmSoapUserType GetCurrentUser()
Returns
Type | Description |
---|---|
TmSoapUserType |
GetDrivers()
Retrieves all drivers of the fleet.
Declaration
public IEnumerable<GetDriverResponseTypeDriverInfo> GetDrivers()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<GetDriverResponseTypeDriverInfo> | The drivers |
GetServerProperties(GetServerPropertiesRequestProperty[])
Gets a list of server properties.
Declaration
public IEnumerable<PropertyType> GetServerProperties(params GetServerPropertiesRequestProperty[] properties)
Parameters
Type | Name | Description |
---|---|---|
GetServerPropertiesRequestProperty[] | properties | The properties that should be queried |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<PropertyType> | A list of properties |
GetVehicles()
Retrieves all vehicles of the fleet.
Declaration
public IEnumerable<VEHICLE> GetVehicles()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<VEHICLE> | The vehicles |
Login(String, String, String)
Logs into the server and creates a new session.
Declaration
public string Login(string fleet, string username, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | fleet | The name of the fleet |
System.String | username | The login name |
System.String | password | The password for identification |
Returns
Type | Description |
---|---|
System.String | The session id |
Logout()
Logs out of the server.
Declaration
public bool Logout()
Returns
Type | Description |
---|---|
System.Boolean | true iff the logout was successful |