Skip to content

Commit 8193c2f

Browse files
Merge pull request #206 from tutorcruncher/report-end-filter
2 parents 507d623 + 9536bf2 commit 8193c2f

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

pages/reports/report-object.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,32 @@ attributes:
179179
name: url
180180
type: string
181181
description: URL to the Service recipient's object.
182+
filters:
183+
-
184+
name: dt_created_gte
185+
type: date
186+
description: Filter by the date and time the report was created.
187+
-
188+
name: dt_created_lte
189+
type: date
190+
description: Filter by the date and time the report was created.
191+
192+
-
193+
name: appointment
194+
type: integer
195+
description: Filter reports by specific Appointment
196+
197+
-
198+
name: creator
199+
type: integer
200+
description: Filter reports by User who created the report
201+
202+
-
203+
name: service_recipient
204+
type: integer
205+
description: Filter reports by specific Service recipient
206+
207+
-
208+
name: client
209+
type: integer
210+
description: Filter reports by specific Client

pages/reports/reports.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ sections:
1010
title: List all Reports
1111
id: list-all-reports
1212
description: /reports/list-all-reports.md
13+
filters: /reports/report-object.yml
1314
code: /reports/list-all-reports.py
1415
code_type: GET
1516
code_url: /api/reports/

0 commit comments

Comments
 (0)