Added API and fixes

This commit is contained in:
piratefinn 2017-09-27 13:54:10 +01:00
parent 64e028f0c5
commit 1eb79aa047
4 changed files with 68 additions and 9 deletions

View file

@ -264,6 +264,15 @@ export class ApiService {
).map( response => response.json() );
}
// Initial Map Data
public getMapData(data) {
data.session_key = this.sessionKey;
return this.http.post(
this.apiUrl + '/map',
data
).map( response => response.json() );
}
// Basic Customer User stats API
public basicStats() {
const key = this.sessionKey;