-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtriage.http
More file actions
196 lines (165 loc) · 10.1 KB
/
triage.http
File metadata and controls
196 lines (165 loc) · 10.1 KB
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
### DCI Triage API — REST Client
### VS Code extension: "REST Client" (humao.rest-client)
### Usage: click "Send Request" above any request block
### Set @baseUrl to wherever your API is running.
@baseUrl = http://localhost:5000
# ─────────────────────────────────────────────────────────────────────────────
# REQ0001 — Engineering Ticket (clear regression)
# Expected: Engineering Ticket
# ─────────────────────────────────────────────────────────────────────────────
### Send Request
POST {{baseUrl}}/api/triage
Content-Type: application/json
{
"request_id": "REQ0001",
"submitted_by": "Marcus Webb",
"date_submitted": "2026-03-10",
"subject": "Export button broken on site status report",
"description": "When I click the Export to CSV button on the Site Status report page, nothing happens. I've tried Chrome and Edge. This was working fine last week.",
"account_id": "DCI-44201"
}
###
# ─────────────────────────────────────────────────────────────────────────────
# REQ0002 — Data Patch (count mismatch in dashboard vs backend)
# Expected: Data Patch
# ─────────────────────────────────────────────────────────────────────────────
### Send Request
POST {{baseUrl}}/api/triage
Content-Type: application/json
{
"request_id": "REQ0002",
"submitted_by": "Linda Ferreira",
"date_submitted": "2026-03-11",
"subject": "Active work order count is wrong in dashboard",
"description": "The dashboard shows 342 active work orders but our backend shows 378. We're presenting to the city liaison tomorrow and need this reconciled ASAP.",
"account_id": "DCI-44202"
}
###
# ─────────────────────────────────────────────────────────────────────────────
# REQ0003 — Field Support (password reset / access issue)
# Expected: Field Support
# ─────────────────────────────────────────────────────────────────────────────
### Send Request
POST {{baseUrl}}/api/triage
Content-Type: application/json
{
"request_id": "REQ0003",
"submitted_by": "James Okafor",
"date_submitted": "2026-03-12",
"subject": "Can't log in — password reset isn't working",
"description": "I requested a password reset but I never received the email. I've checked my spam folder. Can someone help me get back into my account?",
"account_id": "DCI-44203"
}
###
# ─────────────────────────────────────────────────────────────────────────────
# REQ0004 — Engineering Ticket (new report feature request)
# Expected: Engineering Ticket
# ─────────────────────────────────────────────────────────────────────────────
### Send Request
POST {{baseUrl}}/api/triage
Content-Type: application/json
{
"request_id": "REQ0004",
"submitted_by": "Sarah Chen",
"date_submitted": "2026-03-12",
"subject": "Need incident cost breakdown by NYC borough",
"description": "We need a report showing reconstruction costs broken down by borough (Manhattan, Brooklyn, Queens, Bronx, Staten Island) for Q1 2026. This doesn't exist yet in the portal.",
"account_id": "DCI-44204"
}
###
# ─────────────────────────────────────────────────────────────────────────────
# REQ0005 — Engineering Ticket (nightly API 500 regression)
# Expected: Engineering Ticket
# ─────────────────────────────────────────────────────────────────────────────
### Send Request
POST {{baseUrl}}/api/triage
Content-Type: application/json
{
"request_id": "REQ0005",
"submitted_by": "Derek Holloway",
"date_submitted": "2026-03-13",
"subject": "Site sync API returns 500 error after midnight",
"description": "Our field management system calls the DCI site sync API every night at 12:05 AM to update daily totals. Since March 1st we've been getting a 500 Internal Server Error consistently. Daytime calls work fine.",
"account_id": "DCI-44205"
}
###
# ─────────────────────────────────────────────────────────────────────────────
# REQ0006 — Needs Human Review (vague, no actionable detail)
# Expected: Needs Human Review
# ─────────────────────────────────────────────────────────────────────────────
### Send Request
POST {{baseUrl}}/api/triage
Content-Type: application/json
{
"request_id": "REQ0006",
"submitted_by": "Patricia Nguyen",
"date_submitted": "2026-03-13",
"subject": "Something is broken",
"description": "The system isn't working for us. Please help.",
"account_id": "DCI-44206"
}
###
# ─────────────────────────────────────────────────────────────────────────────
# REQ0007 — Data Patch (stale ETL / nightly sync failure)
# Expected: Data Patch
# ─────────────────────────────────────────────────────────────────────────────
### Send Request
POST {{baseUrl}}/api/triage
Content-Type: application/json
{
"request_id": "REQ0007",
"submitted_by": "Tom Ramirez",
"date_submitted": "2026-03-14",
"subject": "Nightly work order sync hasn't run in 3 days",
"description": "We rely on the nightly ETL to populate our damage analytics warehouse. The last successful run was March 11th. Our Power BI dashboards are stale and we have a city council briefing on Friday.",
"account_id": "DCI-44207"
}
###
# ─────────────────────────────────────────────────────────────────────────────
# REQ0008 — Field Support (contractor onboarding)
# Expected: Field Support
# ─────────────────────────────────────────────────────────────────────────────
### Send Request
POST {{baseUrl}}/api/triage
Content-Type: application/json
{
"request_id": "REQ0008",
"submitted_by": "Alicia Morgan",
"date_submitted": "2026-03-14",
"subject": "How do I add a new contractor to our crew roster?",
"description": "We just brought on a new structural engineer and need to give her access to the DCI Operations Portal. I don't see an option to add contractors in my team settings.",
"account_id": "DCI-44208"
}
###
# ─────────────────────────────────────────────────────────────────────────────
# REQ0009 — Engineering Ticket (feature request: filter by incident type)
# Expected: Engineering Ticket
# ─────────────────────────────────────────────────────────────────────────────
### Send Request
POST {{baseUrl}}/api/triage
Content-Type: application/json
{
"request_id": "REQ0009",
"submitted_by": "Kevin Park",
"date_submitted": "2026-03-15",
"subject": "Filter by incident type feature request",
"description": "We'd love to be able to filter the work order dashboard by incident type (structural collapse, fire damage, alien incursion, flooding, etc.). Right now everything is aggregated and it limits our site planning.",
"account_id": "DCI-44209"
}
###
# ─────────────────────────────────────────────────────────────────────────────
# REQ0010 — Field Support (billing / invoice question)
# Expected: Field Support
# ─────────────────────────────────────────────────────────────────────────────
### Send Request
POST {{baseUrl}}/api/triage
Content-Type: application/json
{
"request_id": "REQ0010",
"submitted_by": "Brenda Castillo",
"date_submitted": "2026-03-15",
"subject": "Invoice missing for February reconstruction project",
"description": "We completed the Midtown cleanup in February and submitted all work orders, but our accounting team never received an invoice. Can you confirm the billing status for project PROJ-2026-0214?",
"account_id": "DCI-44210"
}
###