Guest User

Untitled

a guest
Oct 23rd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. query Companies_Query {
  2. viewer {
  3. companies {
  4. id
  5. name
  6. ein
  7. multiSite
  8. siteLimit
  9. }
  10. }
  11. }
  12. `
  13.  
  14. query Company_Query ($companyId: ID!) {
  15. node(id: $companyId) {
  16. id
  17. ...on Company {
  18. id
  19. name
  20. ein
  21. sales
  22. address
  23. site
  24. noEmployees
  25. history {
  26. id
  27. timestamp
  28. action
  29. field
  30. from
  31. to
  32. user {
  33. id
  34. username
  35. }
  36. }
  37. }
  38. }
  39. }
  40. `
  41.  
  42. fragment Company_item on Companies {
  43. id
  44. name
  45. ein
  46. sales
  47. address
  48. site
  49. noEmployees
  50. history {
  51. id
  52. timestamp
  53. action
  54. field
  55. from
  56. to
  57. user {
  58. id
  59. username
  60. }
  61. }
  62.  
  63. query Companies_Query {
  64. viewer {
  65. companies {
  66. id
  67. name
  68. ein
  69. multiSite
  70. siteLimit
  71. ...Company_item
  72. }
  73. }
  74. }
  75. `
Add Comment
Please, Sign In to add comment