This GraphQL query fetches All COS
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 allCOS { cOS (skip: 0, limit: 3) { results { ACL accuracy adminCode1 adminCode2 adminCode3 adminName1 adminName2 adminName3 countryCode createdAt geoPosition { latitude longitude } id placeName postalCode updatedAt } } }
{ "data": { "cOS": { "results": [ { "ACL": null, "accuracy": "4", "adminCode1": "01", "adminCode2": "91001", "adminCode3": "", "adminName1": "Amazonas", "adminName2": "Leticia", "adminName3": "", "countryCode": "CO", "createdAt": "2020-02-21T13:51:15.713Z", "geoPosition": { "latitude": -4.2153, "longitude": -69.9406 }, "id": "L7d2FPn3AD", "placeName": "Leticia", "postalCode": "910001", "updatedAt": "2020-02-21T13:51:15.713Z" }, { "ACL": null, "accuracy": "4", "adminCode1": "01", "adminCode2": "91536", "adminCode3": "", "adminName1": "Amazonas", "adminName2": "Puerto Arica", "adminName3": "", "countryCode": "CO", "createdAt": "2020-02-21T13:51:15.714Z", "geoPosition": { "latitude": -2.1485, "longitude": -71.7548 }, "id": "XZp2DMnkNr", "placeName": "Puerto Arica", "postalCode": "912010", "updatedAt": "2020-02-21T13:51:15.714Z" }, { "ACL": null, "accuracy": "4", "adminCode1": "01", "adminCode2": "91263", "adminCode3": "", "adminName1": "Amazonas", "adminName2": "El Encanto", "adminName3": "", "countryCode": "CO", "createdAt": "2020-02-21T13:51:15.714Z", "geoPosition": { "latitude": -1.7477, "longitude": -73.2083 }, "id": "BvdTZFh95L", "placeName": "El Encanto", "postalCode": "913018", "updatedAt": "2020-02-21T13:51:15.714Z" } ] } } }