Integration.md
... ...
@@ -47,7 +47,7 @@ http://test.smartcentral.net/authorizations/new/?client_id=fancy_app&response_ty
47 47
48 48
## GraphQL
49 49
50
-SmartCentral has implemented GraphQL to support an extensible method for api access to centre data.
50
+SmartCentral has implemented GraphQL to support an extensible integration method for api access to centre data.
51 51
52 52
### Schema
53 53
```
... ...
@@ -190,4 +190,53 @@ type session{
190 190
}
191 191
}"
192 192
}
193
-```
... ...
\ No newline at end of file
0
+```
1
+### Sample Query 3
2
+```
3
+{
4
+
5
+ "query": "{
6
+
7
+ service(id: 979) {
8
+
9
+ id
10
+
11
+ sessions(date: \"2020-08-11\") {
12
+
13
+ enrolmentId
14
+
15
+ room
16
+
17
+ startTime
18
+
19
+ endTime
20
+
21
+ absent
22
+
23
+ }
24
+
25
+ enrolments {
26
+
27
+ id
28
+
29
+ child {
30
+
31
+ id
32
+
33
+ firstName
34
+
35
+ lastName
36
+
37
+ dateOfBirth
38
+
39
+ }
40
+
41
+ }
42
+
43
+ }
44
+
45
+ }"
46
+
47
+}
48
+```
49
+