-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmutation_draft.graphql
127 lines (124 loc) · 3.51 KB
/
mutation_draft.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
mutation {
postTravelGroupData(data: [{
familyName: "Allison",
givenName:"Chris",
additionalNames:["Stuart"],
birthDate:"1973-01-12T12:08:00Z",
gender:"male",
travelDocumentId: "H043534",
travelDocumentIssuer:"Canada",
approvedAccessLevel:"basic",
approvedAccessGranularity:"aggregate",
tripProvider:"Air Canada",
travelIdentifier: "AC-101",
bookingId:"YO-45677",
travelMode:"air",
originName:"London",
originCountryName: "United Kingdom",
destinationName:"Ottawa",
destinationCountryName:"Canada",
travelIntent:"return home",
scheduledDepartureTime:"2021-09-30T12:08:00Z"
scheduledArrivalTime:"2021-09-30T19:08:00Z",
departureTime:"2021-09-30T12:08:00Z",
arrivalTime:"2021-09-30T19:08:00Z",
tripState: "in_process",
smartHealthcardPk:"HKDIH8978972892",
vaccinations:[{
vaccineName:"SpikeVax"
providedOn:"2021-06-01T12:08:00Z",
doseProvider:"Walmart Pharmacy",
locationProvided:"Ottawa",
countryProvided:"Canada",
},
{
vaccineName:"Vaxzeria",
providedOn:"2021-08-30T19:08:00Z",
doseProvider:"Walmart Pharmacy",
locationProvided:"Thunder Bay",
countryProvided:"Canada",
}
],
covidTest: {
testName: "AH-001",
testType:"molecular",
dateTaken:"2021-09-29T19:08:00Z"
testResult: false,
},
quarantinePlan:{
dateCreated: "2021-09-30T19:08:00Z",
confirmationNoVulnerable:true,
postalAddressId:"300 Street Street, Ontario, Canada",
},
dateTime:"2021-09-29T19:08:00Z",
cbsaOfficerId: "40654",
cbsaId:"HY-783204732-BHN",
},])
}
mutation InputTravel($data: TravelData!) {
postTravelGroupData(data: $data) {
id
personId
tripId
cbsaId
quarantineRequired
randomTestingReferral
dateTime
details
}
}
{ "data": {
"familyName": "Allison",
"givenName":"Caighlie",
"birthDate":"1974-08-26",
"gender":"male",
"travelDocumentId": "H043534",
"travelDocumentIssuer":"Canada",
"approvedAccessLevel":"basic",
"approvedAccessGranularity":"aggregate",
"tripProvider":"Air Canada",
"travelIdentifier": "AC-101",
"bookingId":"YO-45677",
"travelMode":"air",
"originName":"London",
"originCountryName": "United Kingdom",
"destinationName":"Ottawa",
"destinationCountryName":"Canada",
"travelIntent":"return home",
"scheduledDepartureTime":"2015-07-01T08:59:60.123",
"scheduledArrivalTime":"2015-07-01T08:59:60.123",
"departureTime":"2015-07-01T08:59:60.123",
"arrivalTime":"2015-07-01T08:59:60.123",
"tripState": "in_process",
"smartHealthcardPk":"HKDIH8978972892",
"vaccinations":[{
"vaccineName":"SpikeVax",
"providedOn":"2015-07-01T08:59:60.123",
"doseProvider":"Walmart Pharmacy",
"locationProvided":"Ottawa",
"countryProvided":"Canada"
},
{
"vaccineName":"Vaxzeria",
"providedOn":"2015-07-01T08:59:60.123",
"doseProvider":"Walmart Pharmacy",
"locationProvided":"Thunder Bay",
"countryProvided":"Canada"
}
],
"covidTest": {
"testName": "AH-001",
"testType":"molecular",
"dateTaken":"2015-07-01T08:59:60.123",
"testResult": false
},
"quarantinePlan":{
"dateCreated": "2021-09-27",
"confirmationNoVulnerable":true,
"postalAddressId":"300 Street Street, Ontario, Canada"
},
"dateTime":"2015-07-01T08:59:60.123",
"cbsaOfficerId": "40654",
"cbsaId":"HY-783204732-BHN"
}
}