integrasi monitoring list

This commit is contained in:
2024-06-03 16:15:23 +07:00
parent a72ca4ef59
commit 6061f4e58e
13 changed files with 485 additions and 202 deletions

View File

@@ -108,6 +108,15 @@ export class BuildingService {
return this.http.get<any>(url, { headers });
}
getBuildingList(): Observable<any> {
const url = `https://kapi.absys.ninja/hemat/building/list`;
const headers = new HttpHeaders({
'Content-Type': 'application/json',
'x-api-key': 'j2yaYvPSQcsEEmHh3NEobfiXyyXmmnHT'
});
return this.http.get<any>(url, { headers });
}
getListRoomData(): Observable<any> {
const url = `https://kapi.absys.ninja/hemat/room/list`;
const headers = new HttpHeaders({