Bug 22615: Add endpoint for getting one ill backend
[koha.git] / api / v1 / swagger / definitions / return_claim.json
1 {
2   "type": "object",
3   "properties": {
4     "claim_id": {
5       "type": [
6         "integer"
7       ],
8       "description": "internally assigned return claim identifier"
9     },
10     "item_id": {
11       "type": [
12         "integer"
13       ],
14       "description": "internal identifier of the claimed item"
15     },
16     "issue_id": {
17       "type": [
18         "integer",
19         "null"
20       ],
21       "description": "internal identifier of the claimed checkout if still checked out"
22     },
23     "old_issue_id": {
24       "type": [
25         "integer",
26         "null"
27       ],
28       "description": "internal identifier of the claimed checkout if not longer checked out"
29     },
30     "patron_id": {
31       "$ref": "../x-primitives.json#/patron_id"
32     },
33     "notes": {
34       "type": [
35         "string",
36         "null"
37       ],
38       "description": "notes about this claim"
39     },
40     "created_on": {
41       "type": [
42         "string",
43         "null"
44       ],
45       "format": "date-time",
46       "description": "date of claim creation"
47     },
48     "created_by": {
49       "type": [
50         "integer",
51         "null"
52       ],
53       "description": "patron id of librarian who made the claim"
54     },
55     "updated_on": {
56       "type": [
57         "string",
58         "null"
59       ],
60       "format": "date-time",
61       "description": "date the claim was last updated"
62     },
63     "updated_by": {
64       "type": [
65         "integer",
66         "null"
67       ],
68       "description": "patron id of librarian who last updated the claim"
69     },
70     "resolution": {
71       "type": [
72         "string",
73         "null"
74       ],
75       "description": "code of resolution type for this claim"
76     },
77     "resolved_on": {
78       "type": [
79         "string",
80         "null"
81       ],
82       "format": "date-time",
83       "description": "date the claim was resolved"
84     },
85     "resolved_by": {
86       "type": [
87         "integer",
88         "null"
89       ],
90       "description": "patron id of librarian who resolved this claim"
91     }
92   }
93 }