Skip to content

Commit 507d623

Browse files
authored
Merge pull request #205 from tutorcruncher/update_api_docs_apt_filter
Update api docs appointment filter
2 parents ab291c1 + 5734284 commit 507d623

File tree

6 files changed

+28
-4
lines changed

6 files changed

+28
-4
lines changed

pages/agents/agents.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sections:
1717
title: List all Agents
1818
id: list-all-agents
1919
description: /agents/list-all-agents.md
20-
filters: /agents/agent-object.yml
20+
filters: /agents/agent-object-v2.yml
2121
code: /agents/list-all-agents.py
2222
code_type: GET
2323
code_url: /api/agents/

pages/appointments/appointment-object.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,14 @@ filters:
173173
name: recipient
174174
type: integer
175175
description: Filter by the Appointment's linked Student (id).
176+
-
177+
name: client
178+
type: integer
179+
description: Filter by the Appointment's linked Client (id).
180+
-
181+
name: status
182+
type: string
183+
description: Filter by the Appointment's status (string).
176184
-
177185
name: location
178186
type: integer

pages/clients/clients.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sections:
1717
title: List all Clients
1818
id: list-all-clients
1919
description: /clients/list-all-clients.md
20-
filters: /clients/client-object.yml
20+
filters: /clients/client-object-v2.yml
2121
code: /clients/list-all-clients.py
2222
code_type: GET
2323
code_url: /api/clients/

pages/contractors/contractors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sections:
1717
title: List all Contractors
1818
id: list-all-contractors
1919
description: /contractors/list-all-contractors.md
20-
filters: /contractors/contractor-object.yml
20+
filters: /contractors/contractor-object-v2.yml
2121
code: /contractors/list-all-contractors.py
2222
code_type: GET
2323
code_url: /api/contractors/

pages/proforma-invoices/proforma-invoice-object.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,19 @@ attributes:
102102
name: still_to_pay
103103
type: decimal
104104
description: Amount of the Proforma Invoice that still needs to be payed.
105+
-
106+
name: description
107+
type: string
108+
description: Description for the Proforma Invoice item (required for creation).
109+
-
110+
name: send_pfi
111+
type: boolean
112+
description: |
113+
(Deprecated - use raise_behaviour instead) Send the PFI as well as creating it. Default is false.
114+
-
115+
name: raise_behaviour
116+
type: string
117+
description: |
118+
Raise behavior when creating a Proforma Invoice. Choices are `dont-raise` (default), `raise`, or `raise-and-send`.
119+
If `dont-raise` is used, the PFI will be created but not sent. If `raise` is used, the PFI will be created and staged.
120+
If `raise-and-send` is used, the PFI will be created, staged, and sent to the client.

pages/recipients/recipients.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sections:
1717
title: List all Recipients
1818
id: list-all-recipients
1919
description: /recipients/list-all-recipients.md
20-
filters: /recipients/recipient-object.yml
20+
filters: /recipients/recipient-object-v2.yml
2121
code: /recipients/list-all-recipients.py
2222
code_type: GET
2323
code_url: /api/recipients/

0 commit comments

Comments
 (0)