This GraphQL query fetches All LKS
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
query allLKS {
lKS (skip: 0, limit: 3) {
results {
ACL
accuracy
adminCode1
adminCode2
adminCode3
adminName1
adminName2
adminName3
countryCode
createdAt
geoPosition {
latitude
longitude
}
id
placeName
postalCode
updatedAt
}
}
}{
"data": {
"lKS": {
"results": [
{
"ACL": null,
"accuracy": "4",
"adminCode1": "29",
"adminCode2": "KY",
"adminCode3": "",
"adminName1": "Central Province",
"adminName2": "Kandy",
"adminName3": "",
"countryCode": "LK",
"createdAt": "2020-02-21T13:14:53.555Z",
"geoPosition": {
"latitude": 7.2955,
"longitude": 80.6356
},
"id": "rVpxhTaGLm",
"placeName": "Kandy",
"postalCode": "20000",
"updatedAt": "2020-02-21T13:14:53.555Z"
},
{
"ACL": null,
"accuracy": "1",
"adminCode1": "29",
"adminCode2": "KY",
"adminCode3": "",
"adminName1": "Central Province",
"adminName2": "Kandy",
"adminName3": "",
"countryCode": "LK",
"createdAt": "2020-02-21T13:14:53.556Z",
"geoPosition": {
"latitude": 7.4012,
"longitude": 80.5289
},
"id": "At3F1efvY4",
"placeName": "Udahingulwala",
"postalCode": "20094",
"updatedAt": "2020-02-21T13:14:53.556Z"
},
{
"ACL": null,
"accuracy": "4",
"adminCode1": "29",
"adminCode2": "KY",
"adminCode3": "",
"adminName1": "Central Province",
"adminName2": "Kandy",
"adminName3": "",
"countryCode": "LK",
"createdAt": "2020-02-21T13:14:53.556Z",
"geoPosition": {
"latitude": 7.3154,
"longitude": 80.5887
},
"id": "K2c3WA9yC6",
"placeName": "Kulugammana",
"postalCode": "20048",
"updatedAt": "2020-02-21T13:14:53.556Z"
}
]
}
}
}