How to return Loc value from  link URL angular 7 ?

i need actually to return value of loc related to location 

meaning i only need to return value 27737

i need to only value of Loc from  json object  from URL 

 so my question How to write service and calling

this service on component ngoninit event

I actually need to return only one value from this url
so that 
How to write service and calling on component ngoninit event

apiservice.ts
How to create service return  only one value from url object ?
http://192.168.4.233:9200/pcn/_search


and on component.ts
ngoninit




{
//How to call service and return data on variable
}




data returned as following


{
"_index": "partsdb",
"_type": "_doc",
"_id": "10",
"_version": 32,
"_seq_no": 115683922,
"_primary_term": 2,
"found": true,
"_source": {
"PID": 10,
"CID": 1005070,
"CN": "Texas Instruments Incorporated",
"PN": "THS6002CDWP",
"Eq": "Driver, Receiver and Transceiver Interface Transceiver 2 2 20HSOIC 
Tube",
"FID": 4,
"FN": "THS6002",
"PaID": 5260,
"PaN": "20-HSOIC",
"PLID": 523842,
"PLN": "Driver, Receiver and Transceiver Interfaces",
"PLC": "Active",
"PIDT": 2007,
"ObY": 2024,
"NPI": false,
"FT": "THS6002 Dual Differential Line Driver/Receiver",
"DS": "277399925",
"FIDT": 1998,
"LCRev": 20777025,
"Masked_ID": 6012356,
"Compliance": [
{
"RS": "Compliant",
"RET": "None",
"RV": "2015/863",
"RST": "Datasheet",
"CRS": "Compliant",
"HTS": "Compliant",
"RES": "Compliant",
"RESV": "JUL 2019 (201)",
"PNDR": 49416942,
"RHV": 963041,
"RECV": 273158534,
"HFR": 49416942
}
],
"PartScore": [
{
"LCS": 46,
"MS": 15,
"RS": 11,
"SS": 5,
"CS": 0,
"S": 80,
"PRSID": 3,
"PAS": 5,
"FC": 0,
"CEL": 5,
"LTS": 3,
"FOD": "",
"IsMultiPackage": true,
"IsSolePackage": false,
"NumberOfAssembly": 1,
"NumberOfFab": 0,
"NumberOfFactory": 0,
"PackageUsage": 2,
"TechnologyStage": ""
}
],
"Manufacturing": [
{
"LFP": "NiPdAu",
"R": 10792132,
"MSL": "2",
"MSLR": 10792132,
"BM": "Cu",
"MRT": "260°C",
"MRTR": 10792132,
"MVT": "N/A",
"MVTR": 277399925,
"RST": "30",
"WST": "N/A",
"NOR": "3"
}
],
"Package": [
{
"LS": "Gull Wing",
"CPN": "20-HSOIC",
"NPN": "20-SOIC (0.295\", 7.50mm Width) Exposed Pad",
"PC": "20",
"MT": "Surface Mount",
"PPM": "1.27",
"JEDEC": "",
"D": "12.82 x 7.52 x 2.65",
"A": 96.406,
"T": 2.650,
"MXbdLn": "12.95",
"MxBdW": "7.59",
"MXbdH": "2.5",
"MXbdD": "N/R"
}
],
"Packing": [
{
"PT": "Tube",
"RD": "N/R",
"PDT": "Supplier Site"
}
],
"Qualification": [
{
"AQ": "No",
"AS": "N/R",
"AR": 10792132,
"MQ": "No",
"MS": "N/R",
"MR": 10792132,
"COTS": "No",
"COTSR": 10792132,
"COTSP": "No",
"MSS": "No"
}
],
"OtherQualification": [
{
"FN": "Reliability",
"FV": "Yes",
"R": 283151994
},
{
"FN": "Confidence Level",
"FV": "60",
"R": 283151994
},
{
"FN": "Fails Quantity",
"FV": "0",
"R": 283151994
},
{
"FN": "Test Duration",
"FV": "1000",
"R": 283151994
},
{
"FN": "Test Temperature",
"FV": "125°C",
"R": 283151994
},
{
"FN": "MTBF/MTTF(Hrs)",
"FV": "5.58E8",
"R": 283151994
},
{
"FN": "Activation Energy/Test Voltage",
"FV": "0.7",
"R": 283151994
},
{
"FN": "Calculated Failure Rate(FIT)",
"FV": "1.8",
"R": 283151994
},
{
"FN": "Usage Temperature",
"FV": "55°C",
"R": 283151994
},
{
"FN": "Sample Size",
"FV": "6515",
"R": 283151994
},
{
"FN": "Application",
"FV": "Commercial",
"R": 10792132
}
],
"Parametric": [
{
"FN": "Receiver Hysteresis",
"N": "N/A",
"V": -9.999999990000000e+008,
"T": 1,
"O": 10
},
{
"FN": "Data Rate",
"N": "N/A",
"V": -9.999999990000000e+008,
"T": 1,
"O": 4
},
{
"FN": "Minimum Operating Temperature",
"N": "0°C",
"V": 0.000000000000000e+000,
"U": "°C",
"T": 1,
"O": 11
},
{
"FN": "Maximum Operating Temperature",
"N": "70°C",
"V": 7.000000000000000e+001,
"U": "°C",
"T": 1,
"O": 12
},
{
"FN": "Maximum Supply Current",
"N": "40mA",
"V": 4.000000000000000e-002,
"U": "A",
"T": 1,
"O": 7
},
{
"FN": "Minimum Supply Voltage",
"N": "9V, ±4.5V",
"T": 1,
"O": 5
},
{
"FN": "Maximum Supply Voltage",
"N": "32V, ±16V",
"T": 1,
"O": 6
},
{
"FN": "ESD Protection Voltage",
"N": "N/A",
"V": -9.999999990000000e+008,
"T": 1,
"O": 13
},
{
"FN": "ESD Protection",
"N": "No",
"T": 1,
"O": 0
},
{
"FN": "Type",
"N": "Transceiver",
"T": 2,
"O": 1
},
{
"FN": "Protocol",
"N": "DSL",
"T": 2,
"O": 8
},
{
"FN": "Number of Drivers",
"N": "2",
"V": 2.000000000000000e+000,
"U": "",
"T": 2,
"O": 2
},
{
"FN": "Number of Receivers",
"N": "2",
"V": 2.000000000000000e+000,
"U": "",
"T": 2,
"O": 3
},
{
"FN": "Duplex",
"N": "Full",
"T": 2,
"O": 9
},
{
"FN": "Interface Type",
"N": "Others",
"T": 2,
"O": 0
}
],
"TradeCodes": [
{
"C": "8542390001",
"CT": "HTS-US",
"R": 266969774
}
],
"Tags": [
{
"T": "Green"
},
{
"T": "Supply Chain 3"
}
],
"Crs": [
{
"CrID": 5014000201,
"PckdD": 276,
"PinID": 0,
"UpgrID": 5014000069,
"CrsCnt": 0
}
],
"Locations": [
{
"Loc": 27737,
"Fab": "Assembly"
}
],
"FMDs": [
{
"CMD": 624216,
"ASMTP": "TI TAIWAN A/T 1",
"TMas": 5.932201500000000e+002
}
],
"PCN": [
{
"Docid": 33009
},
{
"Docid": 59005
},
{
"Docid": 88498
}
],
"Replacment": [
{
"PartID": 1323975,
"RepType": "Drop- In Replacement (Packing)",
"Comment": "(Tube) to (Tape and Reel)"
}
],
"PushDate": "2019-12-26T03:35:53.980"
}
}

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/26d10655-3444-4b94-860d-f06ff35802a7%40googlegroups.com.

Reply via email to