Fetching all Plans for your Organization
Last updated
Was this helpful?
Was this helpful?
{
"data": {
"viewer": {
"organization": {
"plans": {
"pageInfo": {
"hasNextPage": true,
"endCursor": "YXJyYXljb25uZWN0aW9uOjI="
},
"edges": [
... // Data removed for the sake of brevity
]
}
}
}
}
}query GetPlans{
viewer{
organization{
plans(first:50, after:"YXJyYXljb25uZWN0aW9uOjI="){
pageInfo{
hasNextPage
endCursor
}
edges{
cursor
node{
name
geometry{
lat
lng
}
location {
lat
lng
}
dateCreation
}
}
}
}
}
}query GetPlans{
viewer{
organization{
plans(first:50){
edges{
node{
id
name
... on MapPlan{
status
}
}
}
pageInfo{
hasNextPage
endCursor
}
}
}
}
}