Skip to content

Instantly share code, notes, and snippets.

@Morganjackson
Last active August 10, 2018 00:23
Show Gist options
  • Select an option

  • Save Morganjackson/ce0fe0bc0a39b209cd165db17e617094 to your computer and use it in GitHub Desktop.

Select an option

Save Morganjackson/ce0fe0bc0a39b209cd165db17e617094 to your computer and use it in GitHub Desktop.
query Client($clientId: ID!, $entityId: ID!, $withMs: Boolean!) {
client(id: $clientId) {
name
id
entities {
id
name
}
entity(id: $entityId) @include(if: $withEntity) {
monthlyStatus(startDate: "31-12-2017", endDate: "30-06-2018") {
month {
endDate
}
additionsDrawings
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment