Method | Description | |
---|---|---|
Couple ( string url, string username, string password ) : Task |
Couples phone and user through a token id.
|
|
GetMunicipalityList ( ) : Task
|
Fetches all possible Municipalitys
|
|
RefreshModel ( Authorization authorization, |
Fetches the UserInfoModel belonging to the token.
|
|
SubmitDrive ( |
Used to submit drivereport after finished drive.
|
Method | Description | |
---|---|---|
APICaller ( ) : System | ||
DeserializeError ( string jsonString ) : Error | ||
IsValidJson ( string strInput ) : bool | ||
RemoveTrailer ( |
Removes Anhænger rate from UserInfoModel.Rates
|
public static Couple ( string url, string username, string password ) : Task |
||
url | string | Url to post too. |
username | string | |
password | string | |
return | Task |
public static GetMunicipalityList ( ) : Task
|
||
return | Task
|
public static RefreshModel ( Authorization authorization, |
||
authorization | Authorization | the token belonging to the user. |
mun | the Municipality the user belongs to. | |
return | Task |
public static SubmitDrive ( |
||
report | the report of the drive. | |
authorization | Authorization | the token belonging to the user. |
munUrl | string | the municipalicy url to be called |
return | Task |