From 36c708c4219683c63be38ff9745b07226abc4617 Mon Sep 17 00:00:00 2001 From: Lari Taskula Date: Tue, 14 Feb 2017 12:19:27 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 15165: Correct data types and fix some properties Removed properties: - time Added properties: - issue_id - dispute Signed-off-by: Josef Moravec --- api/v1/swagger/definitions/accountline.json | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/api/v1/swagger/definitions/accountline.json b/api/v1/swagger/definitions/accountline.json index d3691bd..bfccf89 100644 --- a/api/v1/swagger/definitions/accountline.json +++ b/api/v1/swagger/definitions/accountline.json @@ -2,51 +2,71 @@ "type": "object", "properties": { "accountlines_id": { + "type": "integer", "description": "Internal account line identifier" }, + "issue_id": { + "type": ["integer", "null"], + "description": "?" + }, "borrowernumber": { + "type": "integer", "description": "Internal borrower identifier" }, "accountno": { + "type": "integer", "description": "?" }, "itemnumber": { + "type": ["integer", "null"], "description": "Internal item identifier" }, "date": { + "type": ["string", "null"], "description": "Date when the account line was created" }, - "time": { - "description": "Time when the account line was created" - }, "amount": { + "type": ["number", "null"], "description": "Amount" }, "description": { + "type": ["string", "null"], "description": "Description of account line" }, + "dispute": { + "type": ["string", "null"], + "description": "?" + }, "accounttype": { + "type": ["string", "null"], "description": "Type of accountline" }, "amountoutstanding": { + "type": ["number", "null"], "description": "Amount outstanding" }, "lastincrement": { + "type": ["number", "null"], "description": "?" }, "timestamp": { + "type": "string", "description": "When the account line was last updated" }, "notify_id": { + "type": "integer", "description": "?" }, "notify_level": { + "type": "integer", "description": "?" }, "note": { + "type": ["string", "null"], "description": "Accountline note" }, "manager_id": { + "type": ["integer", "null"], "description": "Borrowernumber of user that created the account line" } } -- 2.1.4