View | Details | Raw Unified | Return to bug 28272
Collapse All | Expand All

(-)a/Koha/Checkout.pm (+1 lines)
Lines 140-145 sub to_api_mapping { Link Here
140
        lastreneweddate => 'last_renewed_date',
140
        lastreneweddate => 'last_renewed_date',
141
        issuedate       => 'checkout_date',
141
        issuedate       => 'checkout_date',
142
        notedate        => 'note_date',
142
        notedate        => 'note_date',
143
        noteseen        => 'note_seen',
143
    };
144
    };
144
}
145
}
145
146
(-)a/Koha/Old/Checkout.pm (+1 lines)
Lines 107-112 sub to_api_mapping { Link Here
107
        lastreneweddate => 'last_renewed_date',
107
        lastreneweddate => 'last_renewed_date',
108
        issuedate       => 'checkout_date',
108
        issuedate       => 'checkout_date',
109
        notedate        => 'note_date',
109
        notedate        => 'note_date',
110
        noteseen        => 'note_seen',
110
    };
111
    };
111
}
112
}
112
113
(-)a/api/v1/swagger/definitions/checkout.json (+4 lines)
Lines 73-78 Link Here
73
      "format": "date",
73
      "format": "date",
74
      "description": "Datetime of the issue note"
74
      "description": "Datetime of the issue note"
75
    },
75
    },
76
    "note_seen": {
77
      "type": ["boolean", "null"],
78
      "description": "has the note been seen already"
79
    },
76
    "issuer": {
80
    "issuer": {
77
      "type": [
81
      "type": [
78
          "object",
82
          "object",
(-)a/api/v1/swagger/definitions/hold.json (-1 / +8 lines)
Lines 22-32 Link Here
22
      "type": ["string", "null"],
22
      "type": ["string", "null"],
23
      "description": "Internal library identifier for the pickup library"
23
      "description": "Internal library identifier for the pickup library"
24
    },
24
    },
25
    "desk_id": {
26
      "type": ["integer", "null"],
27
      "description": "The id of the desk"
28
    },
25
    "cancellation_date": {
29
    "cancellation_date": {
26
      "type": ["string", "null"],
30
      "type": ["string", "null"],
27
      "format": "date",
31
      "format": "date",
28
      "description": "The date the hold was cancelled"
32
      "description": "The date the hold was cancelled"
29
    },
33
    },
34
    "cancellation_reason": {
35
      "type": ["string", "null"],
36
      "description": "The reason the hold was cancelled"
37
    },
30
    "notes": {
38
    "notes": {
31
      "type": ["string", "null"],
39
      "type": ["string", "null"],
32
      "description": "Notes related to this hold"
40
      "description": "Notes related to this hold"
33
- 

Return to bug 28272