This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"demandCatalogId": 1, | |
"catalogName": "Commercial business (G0)", | |
"description": "Commercial general (weighted average of profiles G1-G6)", | |
"languageCultureType": "EN", | |
"filePathName": null, | |
"isActive": true | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":1,"season":2008,"city":"Bangalore","date":"18-04-08","team1":"Kolkata Knight Riders","team2":"Royal Challengers Bangalore","toss_winner":"Royal Challengers Bangalore","toss_decision":"field","result":"normal","dl_applied":0,"winner":"Kolkata Knight Riders","win_by_runs":140,"win_by_wickets":0,"player_of_match":"BB McCullum","venue":"M Chinnaswamy Stadium","umpire1":"Asad Rauf","umpire2":"RE Koertzen","umpire3":""},{"id":2,"season":2008,"city":"Chandigarh","date":"19-04-08","team1":"Chennai Super Kings","team2":"Kings XI Punjab","toss_winner":"Chennai Super Kings","toss_decision":"bat","result":"normal","dl_applied":0,"winner":"Chennai Super Kings","win_by_runs":33,"win_by_wickets":0,"player_of_match":"MEK Hussey","venue":"Punjab Cricket Association Stadium, Mohali","umpire1":"MR Benson","umpire2":"SL Shastri","umpire3":""},{"id":3,"season":2008,"city":"Delhi","date":"19-04-08","team1":"Rajasthan Royals","team2":"Delhi Daredevils","toss_winner":"Rajasthan Royals","toss_decision":"bat","result":"normal", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"api_version":"1.0","bugged_versions":[],"message":"","body":{"Recommendations":[{"RestaurantID":"36407","minimum":10,"payment_types":["credit","gift card","promotions","cash"],"delivery_charge":"0","phone":"212-319-9148","num_ratings":"49","overall_rating":"89","merchant_score":"","location":{"zip":"10022","distance":0.35115565893431,"city":"NEW YORK","street":"122 E 57TH ST","state":"NY"},"RestaurantName":"palace restaurant","items_not_found":[],"delivery_percent":"0","menu":[{"min_selection":1,"max_selection":1,"id":20,"description":"","type":"sectionheader","name":"hamburger","children":[{"selected":1,"quantity":1,"warning":[],"instruction":"hamburger","children":[{"selected":1,"children":[{"selected":0,"children":[],"entity":[""],"name":"coleslaw","id":"PE-36407-1-63-64-794-798","price":"3.5","type":"option","max_price":"0","description":""},{"selected":0,"children":[{"selected":0,"children":[{"selected":1,"children":[],"entity":[""],"name":"honey mustard dressing","id":"PE-36407-1-63-64-794-795-210-217 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [{ | |
"name": "User_1", | |
"birthDate": "05/11/1990", | |
"designation": "Sr. Developer", | |
"companyName": "Knoldus", | |
"mobile": "8899033456", | |
"email": "user1@knoldus.in", | |
"gender": "Male", | |
"about": "Backend REST API" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class UserProfileComponent implements OnInit { | |
profileDataOfUser: IFixtureUserProfile; | |
insertObjectInArray = []; | |
constructor(private user: UserProfileService) { } | |
ngOnInit() { | |
this.getProfileData(); | |
} | |
getProfileData(): void { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import {HttpClient} from "@angular/common/http"; | |
import {Observable} from "rxjs"; | |
@Injectable() | |
export class UserProfileService { | |
url = 'http://localhost:3005'; | |
constructor(private http: HttpClient) { } | |
getMockData(): Observable<any> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [{ | |
"name": "User_1", | |
"birthDate": "05/11/1990", | |
"designation": "Sr. Developer", | |
"companyName": "Knoldus", | |
"mobile": "8899033456", | |
"email": "user1@knoldus.in", | |
"gender": "Male", | |
"about": "Backend REST API" |