From 0ac5953e98243e6d6d3d54a9c45d44c46314fc0a Mon Sep 17 00:00:00 2001
From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com>
Date: Thu, 17 May 2018 11:36:50 +0100
Subject: [PATCH] Bug 20772: Return cost & price_paid in API

Signed-off-by: Barry Cannon <bc@interleaf.ie>
---
 api/v1/swagger/paths/illrequests.json | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/api/v1/swagger/paths/illrequests.json b/api/v1/swagger/paths/illrequests.json
index 13ec426fce..3087caf3bf 100644
--- a/api/v1/swagger/paths/illrequests.json
+++ b/api/v1/swagger/paths/illrequests.json
@@ -57,6 +57,18 @@
                 "required": false,
                 "type": "string"
             }, {
+                "name": "cost",
+                "in": "query",
+                "description": "The quoted cost of the request",
+                "required": false,
+                "type": "number"
+            }, {
+                "name": "price_paid",
+                "in": "query",
+                "description": "The final cost of the request",
+                "required": false,
+                "type": "number"
+            }, {
                 "name": "medium",
                 "in": "query",
                 "description": "The medium of the requested item",
-- 
2.11.0