1e0cf19150abf0b1c301f4034a182cd074ed460c
Integration.md
... | ... | @@ -125,6 +125,39 @@ Schema definition is [here](https://graphqldocs.v.smartcentral.net/). |
125 | 125 | }" |
126 | 126 | } |
127 | 127 | ``` |
128 | +### Query Application Forms |
|
129 | + |
|
130 | +The SEPD team has released the change to allow query application forms. |
|
131 | + |
|
132 | +The schema definition: |
|
133 | + |
|
134 | +https://graphqldocs.v.smartcentral.net/object/service#applications |
|
135 | + |
|
136 | +https://graphqldocs.v.smartcentral.net/object/app/ |
|
137 | + |
|
138 | + |
|
139 | +It has one param status. Possible values are: |
|
140 | + |
|
141 | +incomplete, submitted, waitlisted, information_requested, withdrawn, approved |
|
142 | + |
|
143 | +Sample request |
|
144 | + |
|
145 | +``` |
|
146 | +{ |
|
147 | + "query": "{ |
|
148 | + service(id: 979) { |
|
149 | + applications(status: \"submitted\") { |
|
150 | + id |
|
151 | + plannedStartDate |
|
152 | + plannedDays |
|
153 | + childFirstName |
|
154 | + parentLastName |
|
155 | + childDob |
|
156 | + } |
|
157 | + } |
|
158 | + }" |
|
159 | +} |
|
160 | +``` |
|
128 | 161 | |
129 | 162 | ### List of applications (TEST) |
130 | 163 |