This GraphQL query fetches All YTS
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 allYTS {
yTS (skip: 0, limit: 3) {
results {
ACL
accuracy
adminCode1
adminCode2
adminCode3
adminName1
adminName2
adminName3
countryCode
createdAt
geoPosition {
latitude
longitude
}
id
placeName
postalCode
updatedAt
}
}
}{
"data": {
"yTS": {
"results": [
{
"ACL": null,
"accuracy": "5",
"adminCode1": "97609",
"adminCode2": "",
"adminCode3": "",
"adminName1": "Kani-Kéli",
"adminName2": "",
"adminName3": "",
"countryCode": "YT",
"createdAt": "2020-02-21T13:04:50.740Z",
"geoPosition": {
"latitude": -12.9536,
"longitude": 45.1033
},
"id": "OqeA9NHHLM",
"placeName": "Kani Kéli",
"postalCode": "97625",
"updatedAt": "2020-02-21T13:04:50.740Z"
},
{
"ACL": null,
"accuracy": "5",
"adminCode1": "97608",
"adminCode2": "",
"adminCode3": "",
"adminName1": "Dzaoudzi",
"adminName2": "",
"adminName3": "",
"countryCode": "YT",
"createdAt": "2020-02-21T13:04:50.740Z",
"geoPosition": {
"latitude": -12.7783,
"longitude": 45.2837
},
"id": "TKO1w8oxZ6",
"placeName": "Dzaoudzi",
"postalCode": "97615",
"updatedAt": "2020-02-21T13:04:50.740Z"
},
{
"ACL": null,
"accuracy": "5",
"adminCode1": "97602",
"adminCode2": "",
"adminCode3": "",
"adminName1": "Bandraboua",
"adminName2": "",
"adminName3": "",
"countryCode": "YT",
"createdAt": "2020-02-21T13:04:50.740Z",
"geoPosition": {
"latitude": -12.7044,
"longitude": 45.1223
},
"id": "il41VUknwu",
"placeName": "Bandraboua",
"postalCode": "97650",
"updatedAt": "2020-02-21T13:04:50.740Z"
}
]
}
}
}