-
Notifications
You must be signed in to change notification settings - Fork 0
/
mutation_vec.graphql
134 lines (132 loc) · 3.72 KB
/
mutation_vec.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
128
129
130
131
132
133
134
// Mutation
mutation InputTravel($data: [TravelData!]!) {
PILResponse(data: $data) {
postStatus
id
personId
tripId
cbsaId
quarantineRequired
randomTestingReferral
dateTime
details
}
}
// Data
{ "data": [{
"familyName": "Allison",
"givenName":"Link",
"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",
"vaccinationRequired":true,
"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"
}
],
"covidTestRequired":true,
"covidTest": {
"testName": "AH-001",
"testType":"molecular",
"dateTaken":"2015-07-01T08:59:60.123",
"testResult": false
},
"quarantinePlanRequired":true,
"quarantinePlan":{
"dateCreated": "2021-09-27",
"confirmationNoVulnerable":true,
"postalAddressId":"300 Street Street, Ontario, Canada"
},
"dateTime":"2015-07-01T08:59:60.123",
"cbsaOfficerId": "40654"
},
{
"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",
"vaccinationRequired":true,
"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"
}
],
"covidTestRequired":true,
"covidTest": {
"testName": "AH-001",
"testType":"molecular",
"dateTaken":"2015-07-01T08:59:60.123",
"testResult": false
},
"quarantinePlanRequired":true,
"quarantinePlan":{
"dateCreated": "2021-09-27",
"confirmationNoVulnerable":true,
"postalAddressId":"300 Street Street, Ontario, Canada"
},
"dateTime":"2015-07-01T08:59:60.123",
"cbsaOfficerId": "40654"
}]
}
// Headers
{
"Authorization": "Bearer $JWT"
}