Skip to content

Instantly share code, notes, and snippets.

@tchak
Created May 4, 2023 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tchak/1191c65323bdba10ab26e63863e727e3 to your computer and use it in GitHub Desktop.
Save tchak/1191c65323bdba10ab26e63863e727e3 to your computer and use it in GitHub Desktop.
exemple graphql
query getDemarche($demarcheNumber: Int!) {
demarche(number: $demarcheNumber) {
id
dossiers {
nodes {
id
demandeur {
... on PersonnePhysique {
civilite
nom
prenom
}
... on PersonneMorale {
siret
}
... on PersonneMoraleIncomplete {
siret
}
}
champs {
id
label
stringValue
__typename
... on LinkedDropDownListChamp {
primaryValue
secondaryValue
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment